473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Web.config schema messages

Hi,

I currently have several sections pointing to various custom providers
inside my Web.conf file.

I get multiple messages about not being able to find schema information.
("Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'")

Currently my configuration tag is as follow:
"<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">"

The site works fine despite the messages but It'd feel better without them!

Does someone have a fix?

Thanks.

R

Mar 21 '06 #1
5 3621
Rachel,

I haven't tried this myself, but this is supposed to be the fix:

http://www.ovationmarketing.com/XSD.asp

Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Rachel" <Ra****@discussions.microsoft.com> wrote in message
news:1D**********************************@microsof t.com...
Hi,

I currently have several sections pointing to various custom providers
inside my Web.conf file.

I get multiple messages about not being able to find schema information.
("Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'")

Currently my configuration tag is as follow:
"<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">"

The site works fine despite the messages but It'd feel better without
them!

Does someone have a fix?

Thanks.

R

Mar 21 '06 #2
On Mon, 20 Mar 2006 22:32:27 -0800, Rachel wrote:
I get multiple messages about not being able to find schema information.
("Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'")

Currently my configuration tag is as follow:
"<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">"


Remove the xmlns attribute entirely. This is added erroneously by the
ASP.NET Administration tool.
Mar 21 '06 #3
Hmmm,

I should have realized what this really was (I reported it as a bug back in
November), thanks Erik.

http://lab.msdn.microsoft.com/produc...9-a2ea6051d54a

Here's the fix Microsoft attached to my bug report to keep it from ever
happening again:

FDBK39924#2: Fix Web Site Administration Tool
Workaround Description:
It is possible to correct this problem modifing source of configuration tool
that can be found in
%windir%\Microsoft.NET\Framework\v2.0.50727\ASP.NE TWebAdminFiles
Workaround Steps:
Change in WebAdminPage.cs file, located in
%windir%\Microsoft.NET\Framework\v2.0.50727\ASP.NE TWebAdminFiles\App_Code
directory, the line (number 93):

config.NamespaceDeclared = true;

with

config.NamespaceDeclared = false;

Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Erik Funkenbusch" <er**@despam-funkenbusch.com> wrote in message
news:1d****************@funkenbusch.com...
On Mon, 20 Mar 2006 22:32:27 -0800, Rachel wrote:
I get multiple messages about not being able to find schema information.
("Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'")

Currently my configuration tag is as follow:
"<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">"


Remove the xmlns attribute entirely. This is added erroneously by the
ASP.NET Administration tool.

Mar 21 '06 #4
Unfortunately this is not a fix because I started out without the “xmlns” bit
but VS complained about my CUSTOM (provider) sections requesting a schema.
I read somewhere the actual fix is to include schema information about the
new sections in the “C:\Program Files\Microsoft Visual Studio
8\Xml\Schemas\DotNetConfig.xsd” file but how do I do that? Is there a way to
automatically generate new schema info based on existing “web.config”?
Thanks in advance.

Rachel

"S. Justin Gengo" wrote:
Hmmm,

I should have realized what this really was (I reported it as a bug back in
November), thanks Erik.

http://lab.msdn.microsoft.com/produc...9-a2ea6051d54a

Here's the fix Microsoft attached to my bug report to keep it from ever
happening again:

FDBK39924#2: Fix Web Site Administration Tool
Workaround Description:
It is possible to correct this problem modifing source of configuration tool
that can be found in
%windir%\Microsoft.NET\Framework\v2.0.50727\ASP.NE TWebAdminFiles
Workaround Steps:
Change in WebAdminPage.cs file, located in
%windir%\Microsoft.NET\Framework\v2.0.50727\ASP.NE TWebAdminFiles\App_Code
directory, the line (number 93):

config.NamespaceDeclared = true;

with

config.NamespaceDeclared = false;

Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Erik Funkenbusch" <er**@despam-funkenbusch.com> wrote in message
news:1d****************@funkenbusch.com...
On Mon, 20 Mar 2006 22:32:27 -0800, Rachel wrote:
I get multiple messages about not being able to find schema information.
("Could not find schema information for the element
'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'")

Currently my configuration tag is as follow:
"<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">"


Remove the xmlns attribute entirely. This is added erroneously by the
ASP.NET Administration tool.


Mar 22 '06 #5
On Wed, 22 Mar 2006 14:05:26 -0800, Rachel wrote:
Unfortunately this is not a fix because I started out without the xmlns bit
but VS complained about my CUSTOM (provider) sections requesting a schema.
No. You should not have any complaint about a custom provider without the
xmlns.
I read somewhere the actual fix is to include schema information about the
new sections in the C:\Program Files\Microsoft Visual Studio
8\Xml\Schemas\DotNetConfig.xsd file but how do I do that? Is there a way to
automatically generate new schema info based on existing web.config?


No, this is simply not true. The xmlns was used in betas, and mistakenly
was never removed from the administration site code. It simply should not
be there at all.
Mar 23 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dan | last post by:
I am trying to add a definition for ConnString to web.config as follows (VB.NET STD 2003) <configuration> <system.web> .......... <appsettings> <add key="ConnString" value="C:\test\test.mdb"...
0
by: zoltix | last post by:
I am trying to add a definition for ConnString to web.config as follows (VS.NET STD 2005) <configuration> <system.web> ......... <appsettings> <add key="ConnString" value="C:\test\test.mdb"...
1
by: zoltix | last post by:
Hi, I am trying to add a definition for ConnString to web.config as follows (VS.NET STD 2005) <configuration> <system.web> .......... <appsettings> <add key="ConnString"...
3
by: Brad Wood | last post by:
If I add my own section to my Web.Config file of my (2.0) web service project (and refer to it by adding a "section" sub-element to a "configSections" element, I then get information messages...
2
by: VB Programmer | last post by:
When I change my "from" and "host" I get a slew of web.config messages... Here's the mailsettings... <system.net> <mailSettings> <smtp from="me@mydomain.com"> <network host="mail.mydomain.com"...
7
by: SparkPlug | last post by:
Does anyone know why I might be getting an XmlSchemaException in App.config configured as below to use the UIP Application Block? I get the following error for every element, sub-element and...
0
by: Derek | last post by:
I am creating an intranet using Visual Web Developer Express Edition. Everything has been working OK until yesterday when I started getting 62 messages all beginning "Could not find schema...
1
by: TinMan | last post by:
Every time I build my 2.0 asp.net project in vs2005 I get 52 messages. Each one pointing out some failure to do with a line in my web config. The first one says: Message 1 Could not find schema...
0
by: Rob | last post by:
I am getting "messages" regarding my app.config file.... I have 18 messages that simply state that it cannot find the schema for either an attribute or element related to the app.config file. ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.