Schema information

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 3
Reputation: Tim Kelly is an unknown quantity at this point 
Solved Threads: 0
Tim Kelly Tim Kelly is offline Offline
Newbie Poster

Schema information

 
0
  #1
Aug 10th, 2006
Hi,

I'm new at this and need some help.

I'm writing a simple validation page, and have edited my web.config page to include the path to a system database that points to an access db.

All is well except I have over 100 messages all saying:

[Message 2 Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'.]

I have a line on this page that reads:

[<configurationxmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">]

I found on another forum that if change this line to just:

[<configuration>]

All the messages disappear and give far less messages that say:

[Warning 1 The 'requirePermission' attribute is not declared. ]

&

[Message 5 Could not find schema information for the element 'microsoft.web'. ]

Can anyone suggest anything?




Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Schema information

 
0
  #2
Aug 11th, 2006
There should be a space between <configuration and xmlns

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

That's what my web.config looks like.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 3
Reputation: Tim Kelly is an unknown quantity at this point 
Solved Threads: 0
Tim Kelly Tim Kelly is offline Offline
Newbie Poster

Re: Schema information

 
0
  #3
Aug 11th, 2006
Originally Posted by Tim Kelly
Hi,

I'm new at this and need some help.

I'm writing a simple validation page, and have edited my web.config page to include the path to a system database that points to an access db.

All is well except I have over 100 messages all saying:

[Message 2 Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configSections'.]

I have a line on this page that reads:

[<configurationxmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">]

I found on another forum that if change this line to just:

[<configuration>]

All the messages disappear and give far less messages that say:

[Warning 1 The 'requirePermission' attribute is not declared. ]

&

[Message 5 Could not find schema information for the element 'microsoft.web'. ]

Can anyone suggest anything?




Could I have been so blind? Thanks for that.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC