Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web.config error
Message
 
To
10/11/2005 13:01:12
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01067284
Message ID:
01067981
Views:
18
Dave,

>I recently upgrade to VS2005 from VS2003. I converted one of my VS2003 Web App solutions to VS2005. When I re-built the solution, I got a message that the solution was built successfully - no errors. When I run the soultion, I get the following error: "Unrecongized attribute 'xmlns' from the following line in the web.config file:
>
><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
>
>
>When I go to http://schemas.microsoft.com/.NetConfiguration/v2.0, I get a page not found error.
>
>Any idea on what I should be using as a URL for xmlns?

It may be that IIS is not configured to use ASP.NET 2.0. Try these steps:

  1. Launch Internet Information Services from Control Panel's Administrative Tools.

  2. In the left panel, drill down to Default Web Site (or the site you're using as your default).

  3. Right click the Site icon and select Properties from the shortcut menu.

  4. Select the ASP.NET tab. In the ASP.NET version combo box select ASP.NET version 2.0.xxxx

  5. Click OK to save changes, then Restart IIS.


Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform