Article ID: 949351 - Last Review: February 26, 2008 - Revision: 1.0

You may receive an error message when you use an ASP.NET feature configuration page in IIS 7.0

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

SYMPTOMS

In Server Manager in Internet Information Services (IIS) 7.0, you may receive an error message when you use a Microsoft ASP.NET feature configuration page.

For example, you may receive an error message that resembles one of the following when you use the Connection Strings configuration page:
Error message 1
Filename: path of configuration file
Line number: line number
Error: Configuration section encryption is not supported.
Error message 2
Filename: path of configuration file
Line number: line number
Error: The configuration section 'connectionStrings' cannot be read because it is missing a section declaration.

CAUSE

This behavior may occur if a section in the configuration file is encrypted.

RESOLUTION

To resolve this behavior, follow these steps:
  1. Use the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) to decrypt the section in the configuration file.
  2. Use Server Manager to make the configuration changes.
  3. Use the ASP.NET IIS Registration Tool to encrypt the section in the configuration file.

STATUS

This behavior is by design.

REFERENCES

For information about how to use the RSA protected configuration provider and the ASP.NET IIS Registration Tool to encrypt and to decrypt a section in a configuration file, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms998283.aspx (http://msdn2.microsoft.com/en-us/library/ms998283.aspx)
For information about how to use the Windows Data Protection API (DPAPI) protected configuration provider and the ASP.NET IIS Registration Tool to encrypt and to decrypt a section in a configuration file, visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/ms998280.aspx (http://msdn2.microsoft.com/en-us/library/ms998280.aspx)

APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbtshoot kbprb KB949351