Could not find schema information for the element ''http://schemas.microsoft.com/.NetConfigura
using CTP bits i can rebuild the samples and all ok - building my own project i get the following error:
"Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:system.serviceModel'. C:\Documents and Settings\jim\My Documents\Visual Studio 2005\Projects\msnsearchclient\MSNsearchIndigo\app.config 3 6 MSNsearchIndigo"
?
all of this is using VS 2005 beta2.
jim
[418 byte] By [
jimwill] at [2008-1-8]
Hi Jim. Let's try something first: I often get this error when there's something wrong with my code, but the schema errors end up appearing first in the build window. When you have this, scroll through the entire list of warnings and errors and look for a coding error; if you have some fix them and see if the problem recurs.
If not, let us know. Cheers, Ralph
The warnings are caused by a line in web.config:
<
configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> Remove the xmlns part so it is:
<
configuration> The warnings will not show up. The "xmlns" part is added when you use Web Site Administration Tool.
I get the following message when I try to use the below configuration. I tried taking out the xmlns and got a real error. What am I doing wrong? HELP!!!!
<
configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Message 1 Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'. C:\Inetpub\wwwroot\Data Source\kpmemorabilia.com\web.config 10 2 C:\...\kpmemorabilia.com\
Hi Jim,
I had exactly the same problem but it was just a warning and the real problem was with the output.cs file created by the svcutil.exe for the client that I added to the project. It did not recognize System.Runtime.Serialization.DataContractAttribute, etc. because I only added a reference to the System.ServiceModel.dll but it also needed a reference to System.Runtime.Serialization.dll before it would compile.