A service instance cannot be terminated if the instance has been suspended and is waiting on a call to return (836456)



The information in this article applies to:

  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition

SYMPTOMS

When you try to end a running service instance by using the Windows Management Instrumentation (WMI) MSBTS_HostQueue application and the TerminateServiceInstancesByID method, you may receive the following error message:
Terminate request could not be sent for the specified instance. The instance might not exist in any of the MessageBoxes, or database failure might have been encountered.

CAUSE

The error that is described in the "Symptoms" section of this article may occur if the instance that you sent the TerminateServiceInstancesByID method to is suspended while the instance is waiting on a call to an object to return. When you suspend a service that is waiting on a call to an object to return, the service is not suspended until the call is returned.

RESOLUTION

To resolve this problem, wait for the service instance to suspend or to dehydrate before you can call the WMI TerminateServiceInstancesByID method to terminate the service instance. The service instance will honor the original suspend command after the call to the object it is waiting for is returned. The service instance can be terminated after it is suspended.

Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbprb KB836456 kbAudITPRO kbAudDeveloper