IBM Support

Error 3 reported by REGSVR32.EXE

Troubleshooting


Problem

Error 3 reported by REGSVR32.EXE

Resolving The Problem

SYMPTOM:
Error 3 reported by "REGSVR32.EXE" /S "C:\Program files\Rational\Rational Test\rttestplantree.ocx". (or any other reference to a dll or ocx)


CAUSE:
You can use the Regsvr32 tool (Regsvr32.exe) to register and unregister object linking and embedding (OLE) controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files that are self-registerable.

When you use Regsvr32.exe, it attempts to load the component and call its DLLSelfRegister function.

The error will occur when you uninstall a program or delete a folder that contains a registered Object control or Dynamic link library file that no longer exists in the location that it was registered. The Error 3 message will be displayed on a reboot or the next time the registry is initialized after an uninstall or deletion of the control or dll file.


RESOLUTION:
You must unregister the control or dll file. The example shows how you can register and unregister. Unregistering a dll will remove the registry entry. You can run the regsvr32 from a Run Command or DOS Command.

Register a dll file:
Regsvr32.exe "C:\Program files\Rational\Rational Test\rttestplantree.ocx"

Unregister a dll file:
Regsvr32.exe -u "C:\Program files\Rational\Rational Test\rttestplantree.ocx"



[{"Product":{"code":"SSSHTR","label":"Rational TeamTest"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2002.05.00.305.000","Edition":"","Line of Business":{"code":"","label":""}}]

Historical Number

24715

Document Information

Modified date:
16 June 2018

UID

swg21126046