Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:system.serviceM

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


Answer this question

Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:system.serviceM

  • Anzu

    hi jim

    i also got erros around 'http://schemas.microsoft.com/.NetConfiguration/v2.' - just after un- and re-installing Framework 2.0 on a W2K Server. in my case i have forgotten to re-configure my webserver to ASP.NET version 2.0 (1.x is the default). after this change (IIS managment console - "your webserver" - properties - asp.net - asp.net version) everything was ok.

    god luck, simon

     



  • PacificTester

    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.


  • sabari

    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


  • Terence Blyth

    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\


  • ThomasBear

    It's not broken.  A namespace URI doesn't have to exist as such, it's just a unique identifier.
  • Andy Robb

    Could you uninstall winfx and company and try it again
  • ALK

    it exits the install w/o progress so i assume it is an error. there's nothing in any of the event logs that i can find related to it however.
    thx,
    jim

  • Kamal Hathi

    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.



  • g0sh4wk

    tried that but did not find any code errors...
    thx,
    jim

  • trager

    I've been banging my head against this Atlas *** since the Orlando VSLive conference and I just can't get it to work. Until it's a helluva lot easier than all this to code Atlas, then AJAX will continue to own Web 2.0.


  • RCS300

    Is this a warning or an error

    In short, are you blocked by this


  • Sizzles

    For one thing, the address http://schemas.microsoft.com/.NetConfiguration/v2.0 does not exist.

    Will MS fix this


  • Cden

    thanks - i've tried that numerous times and the extensions installer keeps complaining that WCF is not installed (yet i can rode sample code that depends on WCF)....so that certainly could be the problem - but the fact that some samples rebuild cleanly makes me wonder what is really going on.
    jim

  • Mshorema

    Sounds like you will also need to install the Visual Studio 2005 Extensions for WCF.

    http://www.microsoft.com/downloads/details.aspx familyid=EDE1A645-2A53-42E1-8482-3BF1FADADE06&displaylang=en

    This will update DotNetConfiguration.XSD for WinFX.

  • Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:system.serviceM