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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Denied When writing

Status
Not open for further replies.

ac11nyc

Programmer
Oct 1, 2003
94
US
I am getting acces is denied to a local folder when trying to write a file to that folder and i made sure that in the code i stated that the folder be writable. Does anyone know why this would happen or perhaps direct me to some code on how to write a file to a folder.
 
ASP.NET does not have rights to other folders, unless you set it at the OS level. On my development machine I have all the ASP.NET user run using the system level. THIS IS NOT RECOMMENDED.
If you just want to test the webapp you can quickly change the rights in your user mgt. Are you an admin on your machine? Also could you post some of your code?

Klaz
 
there's a little thing called impersionation for ASP.NET. take a look there!

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top