[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Could not find schema information for the element

Posted on 2010-11-30
3
Medium Priority
?
1,413 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 1000 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 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

834 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