On a new BizTalk 2010 implementation, I added an ASC-X12 EDI mapping project to the Visual Studio solution that I’m migrating from Covast 2006/BizTalk 2006 (not R2!). I forgot to remove references to all of the items associated with the solution assemblies and the deploy failed – doh.
When I opened the BizTalk 2010 Administration Console to clear things up, I got the following error:
Schema referenced by Map ‘assemblyname.mapname’ has been deleted. The local, cached version of the BizTalk Server group configuration is out of date. You must refresh the BizTalk Server group configuration before making further changes. (Microsoft.BizTalk.Administration.SnapIn)
Nothing seemed to clear this error out – not restarting the services, closing/reopening the console, re-running the BizTalk Server Configuration, nor manually installing the schema assemblies with gacutil. Searching the MSDN BizTalk Forums proved fruitless and frustrating.
<rant>Someone at Microsoft should really shut down those MVP Moderators who’ve been marking each others irrelevant posts as answers to boost their online marketing. Not only is it annoying to see the blatant abuse, it’s also against stated policy and legally questionable.</rant>
I poked around in the BizTalkMgmtDb database and came upon a fix. The error was raised because a record got orphaned in the bt_MapSpec table during the botched deploy operation. Manually deleted the record, which was for the map referenced in the error, allowed me to work with the BizTalk Administration Console and clean up the item references.