Why do I get "Unrecognized attribute: 'xmlns' in web.config"
If you get this error message, it may be that IIS is not configured to use ASP.NET 2.0. To fix this problem, follow these steps:
- Launch Internet Information Services from Control Panel's Administrative Tools.
- In the left panel, drill down to Default Web Site (or the site you're using as your default).
- Right click the Site icon and select Properties from the shortcut menu.
- Select the ASP.NET tab. In the ASP.NET version combo box select ASP.NET version 2.0.xxxx
- Click OK to save changes, then Restart IIS.
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 10/11/06
Comment or report problem with topic
