Link to home
Start Free TrialLog in
Avatar of gbos
gbos

asked on

crqe.dll will not register

My app is written in vb6 and uses Crystal Reports Version 10. I cannot get Crystal to print or to preview, Run-time error '50003' Load Report Failed is error message that I get.

During installation crqe.dll  will not register, returning the following message:

Unable to register the DLL/OCX: LoadLibrary failed; code 5. Access denied.

OS is Windows XP. I have tried install while logged on as Adminstrator both local and network. I have tried to register using regsvr32 but get basically the same message.

Assistance would be appreciated.
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Can you use Depends.exe (ships with Visual Studio Enterprise), load your crqe.dll, and see if there are any dependancy issues that would cause it not to register?

Hope this helps.
-Jim
Avatar of gbos
gbos

ASKER

Thank you Jim, took a look at depends.exe but could not see any dependant dlls that had not been installed. I have also tried to register with widows in safe mode but it still wont go.

Bugger...
sack off the roll-your-own installer package option.. i tried it, it took 2/3rds of a day and didnt succeed.

in the end i downloaded the Visual Studio Installer (msi maker), added the Merge Modules for crysal 11 (a merge module is like an installer that runs within another installer; crystal wrote the merge modules and they are solely designed to install everything you need to to run a crystal report on the target machine)

couldnt be easier; add the runtime, designer and license Merge Modules to your msi project, add your exe, .rpt files and anything else, then build it and go install it with admin privs

dl self registration isnt recommended any more because the windows installer cant uninstall selfregged modules properly
ASKER CERTIFIED SOLUTION
Avatar of imarshad
imarshad
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial