Solved

Could not find schema information for the element

Posted on 2010-11-30
3
1,340 Views
Last Modified: 2012-05-10
Hi,

I am getting the below messags when I build my project - they are almost 100. I am not sure what mistake I am doing.
Can anyone tell how to getrid of them.

Message      1      Could not find schema information for the element 'northernTrustDataConfiguration'.      C:\Work\GPQ\PriceQuery\PriceQuery\Web\PriceQueryWeb\Web.config      38      4      PriceQueryWeb
Message      2      Could not find schema information for the attribute 'CachingProvider'.      C:\Work\GPQ\PriceQuery\PriceQuery\Web\PriceQueryWeb\Web.config      38      35      PriceQueryWeb
Message      3      Could not find schema information for the attribute 'DefaultConnection'.      C:\Work\GPQ\PriceQuery\PriceQuery\Web\PriceQueryWeb\Web.config      38      70      PriceQueryWeb
Message      4      Could not find schema information for the attribute 'DefaultProvider'.      C:\Work\GPQ\PriceQuery\PriceQuery\Web\PriceQueryWeb\Web.config      38      95      PriceQueryWeb
Message      5      Could not find schema information for the element 'Providers'.      C:\Work\GPQ\PriceQuery\PriceQuery\Web\PriceQueryWeb\Web.config      39      6      PriceQueryWeb
0
Comment
Question by:GouthamAnand
3 Comments
 
LVL 4

Accepted Solution

by:
ricovox earned 250 total points
ID: 34242385
Hi, you can try the following:


Use the button in Visual Studio that says "Create Schema" and it should create an xsd schema for you. Then save the schema in an appropriate place and see the "Properties" tab of the app.config file where there is a property named Schemas. If you click the change button there you can select to use both the original dotnetconfig schema and your own newly created one.

If that doesn't work, then see if this helps:
http://stackoverflow.com/questions/179927/how-to-resolve-could-not-find-schema-information-for-the-element-attribute-xxx
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 250 total points
ID: 34242407
this generally happens if you don't add proper assembly reference in your project. have a look at the following discussions:

http://stackoverflow.com/questions/174430/log4net-could-not-find-schema-information-messages
http://forums.asp.net/t/1078424.aspx
0
 

Author Closing Comment

by:GouthamAnand
ID: 34322203
Thanks a lot
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question