The information in this article applies to:
SUMMARYAt times it can be desirable to step through the code of a DCOM Server as it is being accessed by a remote client application. This article describes how to debug a DCOM server created with Visual Basic as it is being accessed by a client application on a second computer. MORE INFORMATION
This article assumes that the reader already knows how to create a DCOM server application and how to distribute and install the client on a remote computer. See the REFERENCES section for more information.
Important Security IssuesWhen your server is running in Visual Basic's IDE, it runs in the security context of Visual Basic. This means that the settings you have chosen for your server using Dcomcnfg are not effective at this time. The identity of the server at this point will be the interactive user. In addition, you cannot set access rights to Visual Basic. As a consequence, the only user that can access the server running in the IDE is the user that is logged on to the computer where the server is running. In other words, the user logged on to the computer where the client is running must be the same user that is logged on to the computer where the server is running.REFERENCESFor additional information about how to create DCOM server and client applications, please click the article number below to view the article in the Microsoft Knowledge Base: Q161837 HOWTO:Create a DCOM Client/Server Application Additional query words:
Keywords : KbClientServer kbDCOM kbDebug kbVBp kbVBp500 kbVBp600 kbGrpVB kbDSupport |
Last Reviewed: August 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |