Problem: IIS 7 error when enabling authentication on a Web Application with a local connection to an ArcGIS Server Service
Changing the Authentication Properties of an ArcGIS Server Web Mapping Application that uses a local connection to an ArcGIS Server Map Service throws an error.
"Configuration section encryption is not supported"
Encrypted identities are supported in ASP.NET, but IIS 7.0 does not support configuring applications that contain them.
Follow these steps to work around the error in IIS 7.0 and then restore the application's web.config file back to its original state.
- Navigate to the Web application's web.config file and open this file in a text editor, such as NotePad. This will be in the folder with the application's name in the server's \inetput\wwwroot folder.
- Temporarily remove the <identity></identity> section from the file, pasting it into a blank text file. For example:
- Save the web.config file.
- Open IIS 7.0 Manager and navigate to the Web application.
- Double-click on Authentication in the right-hand side of IIS 7.0 Manager.
- Enable Windows Authentication.
- Paste the <identity></identity> section back into the web.config.
- Save the web.config.
Last Modified: 1/10/2017
Article ID: 000010680
Software: ArcGIS Server (10.0 and prior) 9.3, 9.3.1