PRB: Run-Time Error Message -2147164145(8004e00f) Method Call on MTS Object from Visual Basic Application Fails (248098)
The information in this article applies to:
- the operating system: Microsoft Windows NT 4.0
- Microsoft Transaction Server 2.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q248098 SYMPTOMS
When you attempt to invoke a method on a Transactional Microsoft Transaction Server (MTS) object from a Visual Basic client application, the following error message is displayed:
Runtime error -2147164145(800e400f): Method [methodname] of object [objectname] failed.
CAUSE
MTS components use the services of the Microsoft Distributed Transaction Coordinator (MS DTC) to incorporate transactional functionality. Invoking methods of an MTS component that call transactional methods of the Objectcontext object, such as SetComplete() and SetAbort(), may cause the error message. This error message occurs if methods of the MTS component are called, and the MS DTC service has not been started on the Windows NT-based computer that is hosting the component and running Transaction Server.
RESOLUTION
Start the MS DTC service on the Windows NT-based computer that is running Transaction Server in one of two ways:
Method 1:
- On the Start menu, point to Settings, and then click Control Panel.
- Double-click Services to open the Services dialog box.
- Select MSDTC in the list of Services.
- Click Start to initiate the service.
Method 2:
If the Windows NT-based computer also runs Microsoft SQL Server, use the SQL Server Service manager to start MS DTC.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 6/6/2001 |
---|
Keywords: | kbprb KB248098 |
---|
|