|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASPX code can't access mapped driveHi,
My ASPX code is trying to read a file on a mapped drive. But I get the error below. Any help would be greatly appreciated. Could not find a part of the path 'Z:\Events.nss'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'Z:\Events.nss'. you mapped the Z drive - not the web server account your running under or
even impersonating, so it doesn't exist. Read this for some indepth details http://www.15seconds.com/issue/030926.htm Basically, your drive needs to be mapped using a UNC path and the aspnet_user needs to be a domain account in order to access a network share. -- Show quoteHide quoteRegards John Timney Microsoft MVP "Ronald S. Cook" <rc***@westinis.com> wrote in message news:eKfEhNVSGHA.4600@TK2MSFTNGP11.phx.gbl... > Hi, > > My ASPX code is trying to read a file on a mapped drive. But I get the > error below. Any help would be greatly appreciated. > > Could not find a part of the path 'Z:\Events.nss'. > > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information > about the error and where it originated in the code. > > Exception Details: System.IO.DirectoryNotFoundException: Could not find a > part of the path 'Z:\Events.nss'. > > >
STL and DLL linkage (VC71/ VS2003) - Warning C4251
OT: US job market The 'Interface' Type - Unique to .NET? command line interface programming question XMLWriter Anyway to produce Doc with no encoding Info> Nested objects and INotifyPropertyChanged How can I play "standard system sounds" in C# ? real & transparent proxy Best practice for n-tier data access in .NET 2.0 Reference for database handling in windows forms using C#.Net |
|||||||||||||||||||||||