Handling Error: “More than one schema is deployed for the same message type”
If you have worked with Biztalk very long, you have undoubtedly got the following error:
Event ID: 5719
There was a failure executing the receive pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLReceive” Source: “XML disassembler” Receive Location: “c:OdimoRedbirdOrdersIn*.xml” Reason: The disassembler cannot retrieve the document specification by using this type: “RedOrders”. Either the schema is not deployed correctly, or more than one schema is deployed for the same message type.
Usually, this error is because you didn’t deploy your project, but occassionally, you will have duplicates. How are you supposed to find them?
Here is an SQL statement that will help you list all schemas. Who knows? Someone in an entire different application may have already used the root element you are using.
select msgtype, body_xpath, clr_namespace, clr_typename, clr_assemblyname, schema_root_name,
order by msgtype –(which is the schema-name)
–order by date_modified desc — (probably the date deployed?)
You are looking for two things in this report:
1) Did you deploy the same schema more than once?
2) Did you not deploy the schema?
Look in the msgtype column for your schema name. ?
Do you see more than one of them?
NEW: 08/02/2005 If instead you get error 0xCOC01657 Verify that schema is deployed properly and that the schema assembly implements the document spec.
Check the windowsassembly (GAC) to see if your .dll’s are really there.
Through normaly deployment they should be, but I have seen the GAC out of WACK probably due to my own fault.
Happy Schema Hunting!