Hello,
After uploading my application to my server I am
getting an error when trying to write or delete in files:
Exception Details: System.UnauthorizedAccessException:
Access to the path
'C:\HostingSpaces\MyDomain\wwwroot\Plugins\List.xml' 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.
I am using IIS7 and I have the IUSR account and gave it full control but I still get the same error.
How can I solve this?
Thanks,
Miguel