asp.net application cannot access network share
I have a few computers (with Vista Business OS) connected in a private network. A C#.NET application running on one computer is currently able to access the network shared folders without problems. However, I am trying to get an ASP.NET application on that computer to access the same folders but I am getting "Access denied" errors. I added NETWORK SERVICE to the shared folder's security list but it still gives the same errors.
October 3rd, 2010 8:21am

Hi, Would you let me know where the shared folder is stored? Is it in another Windows Vista machine? You may move to the following suggestions: 1. Please Confirm that if you logged the Windows Vista computer with the Administrator account. 2. Please make sure that in "File Sharing" "Public Folder Sharing" are on in "Network and Sharing Center". 3. Check if you can access the share folder with “\\computer name\folder” or “\\IP Address\ folder” to open the files. 4. Check if the other computers in the same network can use the ASP.NET application to access the same folders. What is the ASP.NET application? Is it an application developed by yourself? If the issue reoccurs, temporary disable the anti-virus, and then check the result. You may boot the computer in Clean Boot. Regards, Sabrina This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 7th, 2010 5:19am

Thanks for the feedback. Computer1 has the ASP.NET application running on the http://localhost while logged in as Admin. Computers 2...N have folders located on the Desktop of the Admin accounts -- these are shared on the network and are mapped as drives on Computer1. "File Sharing" is ON, but "Public Folder Sharing" is OFF -- since nobody is using the Public folders. Initially, I tried using "mapdrivename:\\..." as the access path but the ASP.NET application does not recognize it. Therefore I used "\\computername\folder" -- now it gives "Access denied" errors. I am not using any anti-virus program, but Windows Defender is ON all the time. Like I said earlier, a C#.NET application running on Computer1 can access all the network folders currently (using "mapdrivename:\\..." access path). It performs read/write operations on files in those folders. My opinion is that something related to NETWORK SERVICE account is not allowing the ASP.NET application to access the network folders.
October 8th, 2010 1:56pm

· Hi, As your description that it is able to access the files via C#.NET application, it states the network settings are OK. I suspect that this issue is caused by your ASP.NET application. If it is developed by yourself, I suggest post a thread in our MSDN forum for discussion: Microsoft Developer Network Regards, Sabrina This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2010 5:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics