Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access to Path Denied Exception

Status
Not open for further replies.

cyndiee

Technical User
Aug 9, 2002
8
0
0
US
I have a web form that I want to use StreamWriter to create a text file with the contents from a textbox in a folder within the Solution/Project/application. I have given appropriate rights to the aspnet and network service users to the root of the application and verified that both have inherited rights to the folder. I even as a temporary test given everyone full rights to the application and I continue to receive a System.UnauthorizedAccessException that access is denied to the path. I've verified that the Path is correct. Has anyone run into this. I'm using Server.MapPath(Request.ApplicationPath) & "\thefoldername" for Path. Thanks for any help that can be provided.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top