How to solve the following error with C # ASP.NET Operation Word? access denied. Description: Execute an unprocessed exception during the current web request. Check the stack tracking information to learn more about the error and the code caused in the code.
Abnormal Details: System.unauthorizedAccessException: Rejects access.
ASP.NET is not authorized to access the requested resource. Consider grant the ASP.NET request ID access to this resource. ASP.NET has a base process identifier used when the application does not simulate (usually, {Machine} / aspnet on IIS 5, on IIS 6). If the application is using
To grant ASP.NET write access to the file, right click on the file in the Explorer, select Properties, then select the Security tab. Click Add to add the appropriate user or group. Highlight the ASP.NET account, select the box corresponding to the required access. Workaround: To grant ASP.NET to write access to the file, right-click the E: //program//wordApplication//template/template2.dot file in the Explorer, select "Properties", then select " Security tab. Click Add to add the appropriate user or group. Highlight the ASP.NET account, select the box corresponding to the required access.