Partager via


Error conditions: This (Dis)Assembler cannot retrieve document specification by using this type

Seeing as though I've answered it in email a few times let's do it for everyone. This error message can mean one of two things:

1. You don't have a schema deployed with a typename that matches the instance document coming through the system (that's a pretty obvious conclusion to draw from that message I hope)

2. You have MORE THAN ONE schema deployed that matches the typename which is a far more subtle conclusion to draw from the same error message. We do a lookup on typename and see two schema deployed and can't choose without user guidance which one to use.

The second condition actually happens more regularly than you would initially think.

For example: If you use the web-services “add web ref“ a reference.xsd schema is added to your project and if this schema was already deployed on your system you now have two copies.

So how do you get around this issue? One option is to reduce to a single schema - but that's not always possible. Another is to go ahead and create a custom pipeline (send or receive depending on what you are trying to do). Drag in the assembler/dissasembler (eg. XML) and set the property “Document Schemas“ explicitly to point to the typename you want. That way we don't do a look-up and your error magically disappears....

Comments

  • Anonymous
    June 08, 2004
    The comment has been removed
  • Anonymous
    June 28, 2004
    The comment has been removed
  • Anonymous
    July 01, 2004
    The comment has been removed
  • Anonymous
    July 07, 2004
    Please refer to this.

    Badari
  • Anonymous
    July 07, 2004
    Raj,

    Please refer to this URL.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/troubleshooting/htm/ebiz_trouble_editorerrors_yohs.asp
  • Anonymous
    August 04, 2004
    ... Drag in the assembler/dissasembler (eg. XML) and set the property “Document Schemas“ explicitly to point to the typename you want. That way we don't do a look-up and your error magically disappears....

    NOT. Please help: are there any other properties that need to be set in the XML assembler/disassembler?
  • Anonymous
    October 09, 2004
    if you get this error, you should first check Scott's Blog at: <a href="http://blogs.msdn.com/scottwoo/archive/2004/06/07/150174.aspx">http://blogs.msdn.com/scottwoo/archive/2004/06/07/150174.aspx</a><br /><br />My problem was that when I deployed my proj
  • Anonymous
    January 21, 2009
    PingBack from http://www.keyongtech.com/327443-does-not-find-a-schema