This is usually caused by other installation programs that registered their own version of ATL.DLL or other important DLLs, and then subsequently removed them.
The automated way to fix this is:
- Download the attached file att37.zip (very bottom of this page)
- Reboot the machine
- Using Winzip or the unzipping tool of your choice, locate & extract register.bat in the downloaded file
- Double click the file. Windows Vista Users should right click instead and select Run As Administrator. You will see many "DLLRegister ... Succeeded" messages.
- After all messages, your reports should work within the application.
Here is the complete manual method to install these files (you can copy the commands from this web site directly to the "run" box) :
- Reboot the machine
- Go to Start->Run
- Type regsvr32 atl.dll
- Click run or ok (whichever you have), you should receive "DLLRegister succeeded"
- Go to Start->Run
- Type regsvr32 urlmon.dll
- Click run or ok, you should receive "DLLRegister succeeded"
- Go to Start->Run
- Type regsvr32 ole32.dll
- Click run or ok, you should receive "DLLRegister succeeded"
- Go to Start->Run
- Type regsvr32 oleaut32.dll
- Click run or ok, you should receive "DLLRegister succeeded"
- Go to Start->Run
- regsvr32 "c:\Program Files\Common Files\Crystal Decisions\2.0\bin\ExportModeller.dll"
- Click run or ok, you should receive "DLLRegister succeeded"
- Go to Start->Run
- regsvr32 "c:\Program Files\Common Files\Crystal Decisions\2.0\bin\PageObjectModel.dll"
- Click run or ok, you should receive "DLLRegister succeeded"
- Go to Start->Run
- regsvr32 "c:\Program Files\Common Files\Crystal Decisions\2.0\bin\ReportRenderer.dll"
- Click run or ok, you should receive "DLLRegister succeeded"
- Go to Start->Run
- regsvr32 "c:\Program Files\Common Files\Crystal Decisions\2.0\bin\webReporting.dll"
- Click run or ok, you should receive "DLLRegister succeeded"
We have also seen "Class not registered" when attempting to run ServiceLedger from a network share on a machine that has not had a proper installation to start. ServiceLedger must be installed on a workstation from the installation program.
ServiceLedger provides the following link for those who must re-install Crystal Reports 9.0 run time to fix "Class not registered" in the event your issue is not solved by the above steps
- Download http://support.serviceledger.com/download/cr9.zip
(This install was created in 2003, and is titled "ServiceLedger 2003". It will not, however, alter or install any other version of ServiceLedger; it only installs the Crystal Reports Runtime)
- Extract the file using Windows XP or WinZip
- Locate and double click "RunMeFirst", click Yes to import into the registry, you should receive a confirmation message
- Locate and double click Setup. Windows Vista Users should right click instead and select Run As Administrator.
- When finished, reboot your computer
If you receive "80040154" or problems continue, you may wish to re-register atl.dll as shown in steps 1-4 in the top instructions if you did not perform it originally. Some software installs this dll, registers it, then if you uninstall it later, leaves no registered version available. |