Biztalk 2009 Administration / Management Snap-in Fails to Load.

If you are running Biztalk 2009 or any other version for that matter and if you get the following error when trying to view your Biztalk Application then Follow the steps below to help resolve this:

 

Error :

Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.ReprocessManagementException(Exception exception, Exception newInnerException)

   at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.ReprocessSpecificExceptions(Exception exception, Exception newInnerException)

   at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.ReprocessExceptionRecursive(Exception exception)

   at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox.set_Message(Exception value)

   at Microsoft.BizTalk.ExceptionMessageBox.BtsExceptionMessageBox..ctor(Exception exception, ExceptionMessageBoxButtons buttons, ExceptionMessageBoxSymbol symbol)

   at Microsoft.BizTalk.SnapIn.Framework.FrameworkNotification.Show(Exception exception, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, Control staMarshaller, IWin32Window parent)

   at Microsoft.BizTalk.SnapIn.Framework.FrameworkNotification.ShowError(Exception exception, Control staMarshaller, IWin32Window parent)

   at Microsoft.BizTalk.SnapIn.Framework.FrameworkNotification.ShowError(Exception exception)

   at Microsoft.BizTalk.Administration.SnapIn.GroupNode.FullRefresh(Object o, ResultsChangedEventArgs e)

   at Microsoft.BizTalk.Administration.SnapIn.GroupNode.OnExpand(AsyncStatus status)

   at Microsoft.ManagementConsole.NodeSyncManager.ProcessRequest(NodeRequestInfo info, IRequestStatus requestStatus)

   at Microsoft.ManagementConsole.NamespaceSnapInBase.ProcessRequest(Request request)

   at Microsoft.ManagementConsole.SnapIn.ProcessRequest(Request request)

   at Microsoft.ManagementConsole.Internal.SnapInClient.Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)

   at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Request request)

   at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(IMessageClient messageClient, RequestInfo requestInfo)

   at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()

   at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)

 

Resolution:

The issue is due to possible corruption of the Biztalk WMI Object. Inorder to fix this run the command below from the directory where you have BTSWMISchema.mof file present.

 

mofcomp BTSWMISchema.mof

 

The  Above command rebuild the WMI Objects for Biztalk. This command should not affect any of your installed Biztalk Applications.