angireddy
asked on
ASP.NET is not Authorized
am getting this message when i try to run EditItemTemplate on the server. Acces to MyCalendar.xml" is denied.
ASP.NET is not authorized to access the requested resource. Consider
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access
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.
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access
My operating system is XP Professional.....and it does not have any security tab when I right click.
Please its very very urgent.
ASP.NET is not authorized to access the requested resource. Consider
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access
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.
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access
My operating system is XP Professional.....and it does not have any security tab when I right click.
Please its very very urgent.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In the sedurity tab add write/modification access to ASPNET. I assume you have no impersonation.
For security reasons, ASPNET "cannot" make changes to the windows system (What I figured)
Go to Control Panel -> IIS -> Right click on the application you want to change -> Properties
Go to Directory Security tab -> Anonymous access and authentication control -> Edit
The click for anonymous access box should be check, and the user name is the account you grant anonymous access.
FOR TESTING PURPOSE, you can use your logon info and see if it solve the problem, if it does. please create an account with the read/write right to the correct directory, and use that account for this folder only.
Hope that helps