Sometimes, when we try to test our Visual Studio BizTalk Server solution that we deploy in the BizTalk Server environment, we get the following error message:
“There was a failure executing the receive pipeline: Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ Source: “XML disassembler” Receive Port: “Port_Name” URI: Reason: The document specification <Schema_Name> from assembly <Schema_Name, Version=1.0.0.0, Culture=neutral, PublicKeyToken=…> failed to load. Verify the schema for this document specification is deployed and is in the Global Assembly Cache.”
📝 One-Minute Brief
This post provides a quick-fix guide for the BizTalk error: “The document specification failed to load. Verify the schema… is deployed and is in the GAC.” The issue typically occurs when the BizTalk Runtime cannot locate the required schema in the Global Assembly Cache (GAC) or the BizTalk Management database. Sandro explains how to resolve this by ensuring the assembly is correctly GAC’ed and that the host instances are restarted to refresh the cache.
Cause
This error may happen for several reasons:
- The DLL is not deployed in the environment.
- Or for some reason, there is a misunderstanding by the BizTalk Server engine, which happens from time to time.
Solution
In my case, I was sure, and I validated that the DLL and that particular version were deployed… In these cases, changing the DLL version (for example, 1.0.0.1) and deploying the solution will solve it every time.
Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son.
i have the same problem but this didin´t solved my problem…
There was a failure executing the receive pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” Source: “XML disassembler” Receive Port: “RP_DB” URI: “C:BizTalk_WorkFolderreceive*.xml” Reason: The document specification from assembly failed to load. Verify the schema for this document specification is deployed and is in the Global Assembly Cache.
There are a couple of things you need to do, when you run into this type of error in your case:
– redeploy the assemblies (schema’s) you are using, my suggestion is to make a different dll version, and make sure you are restarting all the hosts.
– In additional, you can stop the application and delete the assemblies from the application and GAC, and then redeploy the new assemblies.
– use processmonitor or filemon to see where BizTalk is looking for the file can helped you.