PRB: "Object Server Not Correctly Registered" Error in VB4- 32

ID: Q161827


The information in this article applies to:
  • Microsoft Visual Basic Control Creation Edition for Windows, version 5.0
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions for Windows, version 4.0


SYMPTOMS

When you choose Custom Controls from the Tools menu in Microsoft Visual Basic 4.0, the following error message appears:

Object Server 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 5.0.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

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 additional information, please see the following article in the Microsoft Knowledge Base:

Q147769 : Updated Version of RegClean 4.1a Available

Additional query words:

Keywords : kbprg kbVBp400 kbVBp500 kbGrpVB VB4WIN VBKBCtrl VBKBError VBKBRegistry
Version : WINDOWS:4.0,5.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.