Configuration Error :Parser Error Message: Unrecognized attribute 'xmlns'.

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



I had this problem.  When I realized that my virtual directory was set up for v1.1 of the .Net framework, the solution was simple:  go to the properties page for the application in IIS, pick the "Asp.net" tab, and change the target framework to 2.0.


Edit:

I got the solution:
1. right click and view properties of your website in IIS.
2. select the asp.net tab
3. select the correct .NET version in the 'ASP .NET Version' dropdown

你可能感兴趣的:(configuration)