Solved

Could not find schema information for the element

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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