Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / IIS / IIS Security / March 2007

Tip: Looking for answers? Try searching our database.

Access mapped network drive from ASP.NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kenneth - 22 Mar 2007 09:30 GMT
Hello,

I have a aspx page which try to access a mapped network drive using
"Directory.getFiles". I have test the page under W2K IIS5 and it works fine.
However, when I move the page to window 2003 server with IIS6, an
"DirectoryNotFoundException" was thrown with a message "Could not find a part
of the path D:\......." when I load the page. I have read from newsgroup that
IIS6 use Network Service account to access share resources and I have granted
the access right to Network Service but the errror still remain. So, what
should I do to solve the problem?

Kenneth Ho
Mr Smith - 23 Mar 2007 18:35 GMT
The drive is probably not "mapped" for that account, have you tried using a
full path like \\server\share...

> Hello,
>
[quoted text clipped - 12 lines]
>
> Kenneth Ho
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.