Troubleshooting
Problem
This technote identifies a possible cause and resolution to the error, Runtime error: ClassFactory cannot supply requested class, which might occur when launching IBM® Rational® RequisitePro® the following error is received.
Cause
The full error message is as follows:
Runtime error: ClassFactory cannot supply requested class
(HRESULT CLASS_E_CLASSNOTAVAILABLE )
This error might be caused by the impropor registration of the RqWordServices.dll used with the integration of RequisitePro and Microsoft® Word.
Resolving The Problem
To resolve this error you will need to register RqWordServices.dll manually by performing the following procedure:
- Exit RequisitePro
- Open a command prompt by selecting Start > Run, typing cmd and then clicking OK
- Change directories using a CD command to the following directory:
C:\Program Files\Rational\RequisitePro\bin
- From the bin directory enter the following command to unregister the RqWordServices.dll:
regsvr32 -u RqWordServices.dll
You should receive the following message upon command execution:
DLLUnregisterServer in RqWordServices.dll succeeded
- Once you have unregistered the RqWordServices.dll you will need to reregister it using the following command:
regsvr32 RqWordServices.dll
You should receive the following message upon command execution:
DLLRegisterServer in RqWordServices.dll succeeded
- Type in exit and hit enter to exit the command prompt
- Launch RequisitePro
The runtime error should now be resolved and you should be able to use RequisitePro.
[{"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Word Integration: RQWordservices","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.00;2003.06.13;2003.06.14;2003.06.15","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21249442