The information in this article applies to:
SYMPTOMSWhile attempting to run an ActiveX dll from the Visual Basic IDE, the following error message is displayed:
CAUSE
When Visual Basic runs an ActiveX dll from the IDE, it calls the CoRegisterClassObject API to temporarily register the server. This creates the AppId and specifies it to run in the Interactive User context.
-and- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell= RESOLUTIONMake certain that the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell= registry key contains a single valid executable name for the shell process. REFERENCESFor additional information about the big described above, please click the article number below to view the article in the Microsoft Knowledge Base: Q170364 CoRegisterClassObject Fails with CO_E_WRONG_SERVER_IDENTITY Additional query words:
Keywords : kbole kbActiveX kbInprocSvr kbRegistry kbVBp500 kbVBp600 kbGrpVB kbDSupport |
Last Reviewed: August 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |