"Schema Detector" tool for Biztalk Development

Posted at: 12/19/2006 at 8:09 PM by saravana

How often have you seen error messages like this

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: "ReceivePort3" URI: "C:\BTSSamples\SOAPMessagingOnly\FileDrops\MSG_IN\ *.xml" Reason: Cannot locate document specification because multiple schemas matched the message type "http://Microsoft.Samples.BizTalk.WebServices.Consuming.SampleWebService/ Customers.xsd#CustomerInfo".

If you are working with multiple applications in Biztalk at the same time, its quite often you'll end up in situation like this in your development machine. In situations like this I used to open Biztalk Applications one by one inside the Biztalk Administration console (2006), navigate to Schema node and look for any matching schemas with same RootName and TargetNamespace, after a while it became so annoying, so I build this small application called "Schema Detector", its a .NET winforms application which utilizes Biztalk ExplorerOM to loop through each deployed schemas in the management database, if a specified schema with RootName and TargetNamespaces matches, it then list the schema as shown in the below figure.

You can now easily detect the duplicate deployment of the schemas in the Applications, as highlighed in the above picture.

Download the source code for the tool here. Open it in visual studio and compile it. Didn't provide the exe for security reasons.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:  Categories: BizTalk General
Actions: Email this article Email | Kick it! | DZone it! | Save to del.icio.us | Technorati Links
Post Information: Permanent LinkPermalink | CommentsComments(3) | Comments RSS

Comments

Thursday, May 03, 2007 11:23 AM
Anonymous
Anonymous
Hey,

I just want to say great tool it resolve my problem without any bigger search around this. Thanks a lot

nadine
Thursday, September 04, 2008 11:23 AM
Anonymous in
Anonymous
Thanks a lot.. I have been chasing this issue since morning, and after i downloaded ur tool and checked the deployments, it was less than 5 minutes to solve..
Tuesday, October 07, 2008 9:22 PM
Dmitri Shillis ca
Dmitri Shillis
This is very good tool. I had same errors, all my issues were resolved right away.

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading