HOWTO: Troubleshoot Run-time Error '70' in DCOM ApplicationsLast reviewed: February 10, 1998Article ID: Q180384 |
The information in this article applies to:
SUMMARYAttempting to access a DCOM Server from a remote client application sometimes results in the following error:
Run-time error '70': Permission DeniedThis article describes the most common scenarios in which this error is raised.
MORE INFORMATIONRun-time error '70' is typically the result of a security or permissions issue. The following is a list of possible causes of run-time error 70 but is by no means a complete or definitive list.
DCOM Is Not EnabledIf the Server machine does not have DCOM enabled, client machines will receive run-time error 70 when attempting to access the server. This scenario applies to both Windows NT and Windows 95 servers:
The Client User Does Not Have Sufficient PermissionsIf the client user does not have the correct permissions, access to the DCOM Server can be denied. There are several steps to take in order to ensure your client has valid privileges. If the Server is Windows 95:
There are several group accounts you will find when you configure users and groups on Windows NT. The following list is a summary of who belongs to each group:
Group Description Interactive Includes all users who log onto a Windows NT system locally (at the console). It does not include users who connect to NT resources across a network or are started as a server. Network Includes all users who connect to Windows NT resources across a network. It does not include those who connect through an interactive logon. Creator/Owner The Creator/Owner group is created for each sharable resource in the Windows NT system. Its membership is the set of users who either create a resource (such as a file) and who take ownership of them. Everyone All users who access the system, whether locally, remotely, or across the network. System The local operating system.The above list includes the group accounts which are intrinsic to Windows NT systems. Your particular network may include more groups from which you may choose. In order to determine the membership of each custom group account, you must contact your network administrator.
Attempting to Access DCOM Server Across Non-Trusted DomainsIf your DCOM Server resides in one NT domain, and your client logs on to a second NT domain that is not "trusted" by the first, you will receive run- time error '70' when attempting to access the DCOM Server. For additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q158508 TITLE : FAQ: COM Security Frequently Asked Questions REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q176799 TITLE : INFO: Using DCOM Config (DCOMCNFG.EXE) on Windows NT Keywords : vb5all vb5howto Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |