Description
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"
Cause
Encrypted identities are supported in ASP.NET, but IIS 7.0 does not support configuring applications that contain them.
Solution or Workaround
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:
<identity configProtectionProvider="DataProtectionConfigurationProvider">
<EncryptedData>
<CipherData>
<CipherValue>hfghfggfhfery46456fgdfgdfghfgh ==</CipherValue>
</CipherData>
</EncryptedData>
</identity> - 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.