DOCUMENT:Q161827 03-SEP-1997 [vbwin] TITLE :PRB: "Object Server Not Correctly Registered" Error in VB4-32 PRODUCT :Microsoft Visual Basic for Windows PROD/VER:4.0 5.0 OPER/SYS:WINDOWS KEYWORDS:VB4ALL VB4WIN vb5all VBKBCtrl VBKBError VBKBRegistry kbprg kbprb ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Control Creation and Enterprise Editions of Microsoft Visual Basic, for Windows, version 4.0, 5.0 --------------------------------------------------------------------- SYMPTOMS ======== When you choose Custom Controls from the Tools menu in Microsoft Visual Basic 4.0, the following error message appears: “Object not correctly registered” The problem is caused by the registration process of other components within the system registry. This article explains one cause of the problem. CAUSE ===== If you install a custom control developed with the Control Creation Edition of Visual Basic 5.0, an erroneous CLSID key is added to your registry that could be causing this error message. RESOLUTION ========== In addition to the bona fide registry key for the control developed with the Control Creation Edition of Visual Basic 5.0, the following erroneous extra registry key is created when you install a control developed with the Control Creation Edition of Visual Basic 5.0: HKEY_CLASSES_ROOT \CLSID \{0DE86A52-2BAA-11CF-A229-00AA003D7352} This key causes a blank item to appear in the list of ActiveX controls when it is displayed in Access95 and Visual Basic 4.0. The key also causes the "object server not correctly registered" error message to appear when you open the Custom Controls dialog box in the Control Creation Edition of Visual Basic 4.0. You may either delete the key manually with the RegEdit utility or use the utility RegClean 4.1 or greater to process through your registry automatically and correct this type of problem as well as other common problems that plague the system registry from time to time. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCES ========== For more information on the RegClean utility, please refer to the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q147769 TITLE : FILE: Updated Version of RegClean 4.1 Available ====================================================================== Keywords : VB4ALL VB4WIN vb5all VBKBCtrl VBKBError VBKBRegistry kbprg kbprb Version : 4.0 5.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1997.