Saturday, March 24, 2012

Web.Config warnings in VS2005

Hello,

Why do I get dozens of warnings in VS2005 concerning my Web.Config
file?

It starts with:
"Could not find schema information for the element
http://schemas.microsoft.com/.NetConfiguration/v2.0"

And then I have a bunch of others.

Everything is fine in my Web.Config file.

How to get rid of this warnings?

Thanks,
Miguelit's probably because you have a namespce on your configuraiton node. It's a
nuissance..especially since launching the ASP.NET configuration from VS.NET
will ADD that namespace.

Simply remove it :)

You can learn a bit more about it at:
http://weblogs.asp.net/scottgu/arch.../02/432077.aspx
Karl
--
http://www.openmymind.net/
http://www.fuelindustries.com/
"shapper" <mdmoura@.gmail.comwrote in message
news:1163609979.261631.129340@.m7g2000cwm.googlegro ups.com...

Quote:

Originally Posted by

Hello,
>
Why do I get dozens of warnings in VS2005 concerning my Web.Config
file?
>
It starts with:
"Could not find schema information for the element
http://schemas.microsoft.com/.NetConfiguration/v2.0"
>
And then I have a bunch of others.
>
Everything is fine in my Web.Config file.
>
How to get rid of this warnings?
>
Thanks,
Miguel
>


I just solved it.I got rid of those warnings.

Thanks,
Miguel

Karl Seguin [MVP] wrote:

Quote:

Originally Posted by

it's probably because you have a namespce on your configuraiton node. It's a
nuissance..especially since launching the ASP.NET configuration from VS.NET
will ADD that namespace.
>
Simply remove it :)
>
You can learn a bit more about it at:
http://weblogs.asp.net/scottgu/arch.../02/432077.aspx
>
Karl
--
http://www.openmymind.net/
http://www.fuelindustries.com/
>
>
"shapper" <mdmoura@.gmail.comwrote in message
news:1163609979.261631.129340@.m7g2000cwm.googlegro ups.com...

Quote:

Originally Posted by

Hello,

Why do I get dozens of warnings in VS2005 concerning my Web.Config
file?

It starts with:
"Could not find schema information for the element
http://schemas.microsoft.com/.NetConfiguration/v2.0"

And then I have a bunch of others.

Everything is fine in my Web.Config file.

How to get rid of this warnings?

Thanks,
Miguel

0 comments:

Post a Comment