PRB: "Runtime Error 70 : Permission Denied" Occurs When Attempting to Invoke the Methods of a Secure MTS Object from a VB Application (252711)
The information in this article applies to:
- the operating system: Microsoft Windows NT 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Transaction Server 2.0
This article was previously published under Q252711 SYMPTOMS
When you attempt to invoke the methods of a secure Microsoft Transaction Server (MTS) object from a Visual Basic application, the following error message appears:
Runtime error '70': Permission denied
CAUSE
This error occurs under the following circumstances:
- The Enable Authorization Checking option has been turned on for the component in MTS.
- The Microsoft Windows NT user account that launches the object from the Visual Basic application has not been assigned to any of the Roles authorized to invoke methods on the MTS Component.
RESOLUTION
To resolve this problem, use one of the following methods:
- Turn off the Enable Authorization Checking option for the component. This can be done in the MTS Explorer by opening the Properties window for the component and deselecting the Enable Authorization Checking option in the Security tab. This is not a viable option in a production environment, or when testing the security defined for the MTS component.
- Assign the Windows NT User ID that is being used to launch the MTS object from the Visual Basic application to one of the Roles authorized to invoke the methods of the MTS object.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbprb KB252711 |
---|
|