Solved

Could not find schema information for the element

Posted on 2010-11-30
3
1,335 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now