For When You Can't Have The Real Thing
[ start | index | login ]
start > Windows > IIS > Unrecognized attribute 'xmlns'.

Unrecognized attribute 'xmlns'.

Created by dave. Last edited by dave, 11 years and 348 days ago. Viewed 2,533 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(8 May 2012)

Problem

ASP site says: Unrecognized attribute 'xmlns'.

...usually in reference to some file which ends "web.config" line 2.

Solution

You might receive this error when you have multiple versions of .Net Framework.

Resolution:

  • Launch IIS
  • Go to the properties page for the application.
  • Select "Asp.net" tab, and change the Target Framework to 2.0.
(In my case, changing it to 2.0 did nothing but render the site totally 404 -- but happily(?) I also had 4.x installed, changing to that fixed the problem.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt