Home > Development & Technical > Unrecognized attribute ‘xmlns’

Unrecognized attribute ‘xmlns’

Normal issue is due to the wrong IIS setting for the application framework build. Read on for more …
 
Resolution:
Make sure you have the Application Pool in IIS set to run only .NET 2.0 applications and the ASP.NET tab in IIS is set to use the .NET 2.0 Framework.  I always create a Application Pool in IIS called .NET 2.0 and assign my .NET 2.0 web applications to run under that pool and for .NET 1.1 applications then I create a .NET 1.1 Application Pool. Obviously you could create more pools if required.
 
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
 
Parser Error Message: Unrecognized attribute ‘xmlns’.
 
 

Server Error in ‘/’ Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute ‘xmlns’.

Source Error:

Line 8:      \Windows\Microsoft.Net\Framework\v2.x\Config 
Line 9:  -->
Line 10: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: 	<appSettings/>
Line 12: 	<connectionStrings>

Source File: D:\IIS Sites LIVE\DocumentLibraryWebService\web.config    Line: 10


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
 
 
Yellow Duck Guy
Greg Olsen
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: