ASP.NET 2.0 : compile error : Could not find schema information


J

John A Grandy

Visual Studio 2005 RC. I create my first ASP.NET 2.0 Web Site at
c:\code\my-app , and when I attempt to compile I receive about 30 errors
related to the compiler not being able to find schema information :


Message 1 Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'.
C:\code\my-app\Web.Config 10 2 C:\...\my-app\

Message 2 Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:appSettings'.
C:\code\my-app\Web.Config 11 3 C:\...\my-app\

Message 3 Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:add'.
C:\code\my-app\Web.Config 12 4 C:\...\my-app\
 
Ad

Advertisements

C

ctmorse

John,

I noticed the same thing. If you try to load that schema in your
browser you will see that it doesn't exist. My guess is that Microsoft
has not posted it yet.

Also, I noticed that it is the Web Site Management Tool that inserts
this attribute in to the web.config file. It doesn't seem to be
required and removing it will get rid of all those errors.

HTH,
Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top