Failed to create a CLSID_BizTalkPropertyBagFactory

Problem

As always happens when you take a few days off work, the build server started having problems.  When i looked at it the problem in our build was when trying to remove the existing hosts to recreate them.  I started looking at the BizTalk Admin Console on the build server.  Everything had been ticking over nicely as usual then it all started falling over.  When i tried to look at the adapter handlers in the admin console i was getting the following error: 

Failed to create a CLSID_BizTalkPropertyBagFactory com component installed with a BizTalk server.  A dll initialization routing failed

Ok so from this i deduced the host couldnt be deleted as i was having problems removing the adapter handlers. 

Solution

When i tried a couple of things which didnt work i then started looking around but i only found one post which seemed related.  They werent doing the exact same thing but it seemed to be in the right area.

The solution is to restart the WMI windows service, then it magically started working again.

It was suggested in the article that it might be caused by the BizTalk BPA.  I had ran this a number of days before things started breaking, but as i say it was a number of days before so im not sure if was the cause or not.

Anyway if you need more info the post i found was:  

http://www.topxml.com/BizTalk/rn-268100_Problems-with-WMI-SaveToFile-in-BizTalk-2006.aspx

This article is part of the GWB Archives. Original Author: Michael Stephenson

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.