Re: Could not find a part of the

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



While trying to create new File, i recieve the following error=
message: "System.IO.DirectoryNotFoundException: Could not find a part of the = path=20 "Y:\Reports.pdf ". The Y: is shared folder of another system and it maped to the local system. The path exists.

The Y: mapping is for *your* account, which is not the account the website runs under. Moreover, this ASPNET account is a local account with limited priviledges. It can not access the network for example.
You might need to van the site impersonate some domain-user that *can* access that share *and* use the UNC path (\\server\share) to access it.

Hans Kesting


.



Relevant Pages

  • impersonation
    ... Our developer created a asp.net application. ... Exception Details: System.UnauthorizedAccessException: Access to the path ... How can I force it to use the aspnet account? ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: OT: a vexing computer problem...
    ... Because I can't access the website, ... or WinWSD; I've used neither) to download the pages of your site to a ... local system. ...
    (rec.crafts.metalworking)