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

Title: ASP.NET / C# Question - Insufficient access privilages for ASP.

Status
Not open for further replies.

dummieq

Programmer
Jun 26, 2003
22
US
Hi,
I am having a problem in ASP.NET/C#. I am actually trying to open a file for reading. The code is in C#. However, everytime, I get this error which says that the system is exiting becuase it does not have the privilages to access the folder. I did some search on this problem and came to know that one of the reasons for this problem was insufficient privilages for the ASPNET account. So, I gave full access permissions for this account. But, I am still facing the same problem. Can anyone help me with this?

Thanks in advance.
 

Did you set up the folder for Web Sharing ? I have seen this cause issues like your describing. Also, even though you have given the .NET user account accesss to the file, you probably haven’t given the WebUser account access.

Hope this helps !
Webwzrd

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top