|
|
Rank: Newbie Groups: Member
Joined: 9/14/2008 Posts: 3 Points: 9
|
Hi,
I've tried in all matters, but FileSystemWatcher seems does not work.
In scanner_log.txt file, I always read this statement:
2008-09-14 16:36:41,198 [1] INFO baileysoft.mp3.Mp3Scanner [(null)] - Scanner stopped. 2008-09-14 16:36:55,589 [1] INFO baileysoft.mp3.Mp3Scanner [(null)] - Scanner started. 2008-09-14 16:36:58,153 [5] FATAL baileysoft.mp3.Mp3Scanner [(null)] - [Nome di directory \\server\Musica non valido.] in System.IO.FileSystemWatcher.set_Path(String value) in baileysoft.mp3.Mp3Scanner.MonitorFolderChanges(String path) in C:\Users\Neal.Bailey\Documents\Visual Studio 2005\Projects\mp3cms-svn\trunk\Mp3Scanner\Mp3Scanner.cs:riga 148 in baileysoft.mp3.Mp3Scanner.Process() in C:\Users\Neal.Bailey\Documents\Visual Studio 2005\Projects\mp3cms-svn\trunk\Mp3Scanner\Mp3Scanner.cs:riga 118
I've tried various configurations (also with administrators account), but the result is always the same,
Can anyone help me?
Thanks Alberto
|
|
Rank: Advanced Member Groups: Member
Joined: 3/30/2007 Posts: 144 Points: -568 Location: Richmond, VA
|
Alberto wrote: 2008-09-14 16:36:58,153 [5] FATAL baileysoft.mp3.Mp3Scanner [(null)] - [Nome di directory \\server\Musica non valido.]
Alberto, As the error message indicates the application was not able to connect to the path \\server\Musica. This means that either there is no such network location or the account running MP3-CMS doesn't have permission to access that network location. You must make sure that the ScanPath Key value in: .\config\my_settings\AppSettings.xml points to a legitimate network location which is storing your music collection. Also, you must ensure that the Account running the CMS site has permission to that network location. You can configure this value by looking at the Identity tab in the Application Pools Management tool in the Internet Information Services Applet in the Administrative Tools menu.
|
|
Rank: Newbie Groups: Member
Joined: 9/14/2008 Posts: 3 Points: 9
|
The share \\sharing\musica is correct and active. The website is running with "Network Service" account. I tried to change DefaultAppPool user using a user member of Administrators group, but it isn't still working...
|
|
Rank: Advanced Member Groups: Member
Joined: 3/30/2007 Posts: 144 Points: -568 Location: Richmond, VA
|
Alberto wrote:The share \\sharing\musica is correct and active. According to your previous posts the share is \\server\musica? Is the share \\server\musica or \\sharing\musica? In any event, the error is clear. The MP3-CMS application cannot access share \\server\musica. The event log will aid you in determining why your account cannot access the share you're trying to connect to. You can't just switch the Identity in the App_Pool without first adding the new Identity to the IIS_WPG security group, which grants the 'Logon As A Service' right. Check all the usual permissions suspects. Does the NETWORK_SERVICE account have correct permissions to access \\server\musica? Are both the share permissions and the NTFS permissions correctly set to allow the NETWORK_SERVICE Account to access the share? Are you certain that DNS is resolving the server named server? Can you connect via IP address? Etc, Etc, Etc.
|
|
Rank: Newbie Groups: Member
Joined: 9/14/2008 Posts: 3 Points: 9
|
The share in \\server\musica (I don't know why I wrote "sharing" in the post :)). I checked the configurtation file and is correctly configured. The NETWORK_SERVICE have all the permissions you wrote (I've checked)... My opinion is that it's a bug: I will debug it...
|
|
Rank: Advanced Member Groups: Member
Joined: 3/30/2007 Posts: 144 Points: -568 Location: Richmond, VA
|
Alberto wrote:The share in \\server\musica (I don't know why I wrote "sharing" in the post :)). I checked the configurtation file and is correctly configured. The NETWORK_SERVICE have all the permissions you wrote (I've checked)... My opinion is that it's a bug: I will debug it... If it's any consolation we have hundreds of users and no one has else has had this issue so let us know how you resolve it. As stated several times before, the error is clear; the application cannot connect to your designated share so I'd start with figuring out why you cannot connect to the share.
|
|
|
Guest |