
January 18th, 2006, 09:53 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Location: Rochester NY
Posts: 18
Time spent in forums: 3 h 41 m 23 sec
Reputation Power: 0
|
|
|
IIS6 permission for modify
Hiya People who know more about IIS than I do
I have a webserver running on IIS6. I created a set of pages that does content management for the rest of the site. The basics involve reading from htm files and then writing to them.
However, I'm getting this error
Code:
System.UnauthorizedAccessException: Access to the path "serverpath\default.htm" is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
So I go to my file and directory to give Network Service permission to write and modify. After this, I'm still getting the same error.
Are there any other permissions that I need to set, or are there any other settings that overrides this.
It worked perfectly fine on my personal web server with Windows XP pro running IIS 5
any help would be much appreciated, thanks
|