Do you get Parser Error Message: Unrecognized attribute ‘xmlns’ when you try to deploy web application? Line 2: <configuration xmlns=”http://schemas.microsoft.com/.NetConfiguration/v2.0″></configuration> is red in colour.

Well, it happens all the time when I deploy ASP.NET 2.0 web application on a server with both ASP.NET 1.1 and 2.0 installed. What you need to do? By selecting the correct ASP.NET version at Internet Information Services (IIS) will solve the problem.

  • Right click on your web project and select properties.
  • Select ASP.NET tab.
  • Choose the correct ASP.NET version - 2.0 for this case.
  • That’s all. :D