944,014 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 5176
  • ASP.NET RSS
Aug 10th, 2006
0

Schema information

Expand Post »
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?




Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Tim Kelly is offline Offline
3 posts
since Aug 2006
Aug 11th, 2006
0

Re: Schema information

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.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Aug 11th, 2006
0

Re: Schema information

Quote 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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Tim Kelly is offline Offline
3 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: New Member
Next Thread in ASP.NET Forum Timeline: Data Binding to a Drop Down List?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC