Troubleshooting the .NET Configuration

In .NET, when attempting to save the changes made in the Configuration Editor, you may receive an error message: Access denied. In order to resolve this problem, follow these instructions:

  1. Click on Click here for configuration details.

  2. Open Windows Explorer and right-click on the config directory in your Web application (<YourWebApp>\config).

  3. Select Sharing and Security... and then select the Security tab.

  4. Click Add....

  5. If you are working with a network/active directory, you need to change the location and select the server name/computer name.

  6. Add the IIS process user, typically called ASPNET, to the list of object names that it is possible to select. Click Check Names to locate the defined user. This is relevant for IIS 5.1. For any other IIS, refer to http://support.microsoft.com/kb/895967 for the correct user name and permissions.

  7. Click OK.

  8. Add Modify and Write permissions to the folder where the configuration is located. Click OK.

  9. Restart IIS.

  10. In the Framework Configuration Editor, re-save your configuration.

See Configuring your Web Application for more information.