Link to home
Start Free TrialLog in
Avatar of lanier3532
lanier3532

asked on

The module "craxdrt.dll" failed to load.

I am trying to rebuild a computer that crashed.  The old computer was Win7 Pro, new computer is Windows 10.
I had a couple of versions of Crystal Reports as well as Visual Studio 2005 and Visual Studio 2010.  I have re-installed these (CR XI, CR
I was able to save all the data files, including all the source code for all the projects I was working on but had to re-install apps/compilers/etc.

When I open VS2005 to be able to modify/re-compile an app that worked on the old computer, I get this error:
Warning      1      Cannot load type library for reference "CRAXDRT". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))      CD_Main

in trying to research the issue, it seems that the problem is that I need to register the Craxdrt.dll.  (not sure if this is the real solution or not).

I opened a cmd window in Administrator mode and changed directory to the path where the .dll file is (c:\Program Files (x86)\Common Files\Business Objects\2.7\Bin)
I type "Regsvr32  craxdrt.dll" and I get this message:
The module "craxdrt.dll" failed to load.  Make sure the binary is stored at the specified location... The specified file could not be found.

I did a "dir" and it shows the craxdrt.dll file.

Suggestions?
Thanks!
Avatar of Partha Mandayam
Partha Mandayam
Flag of India image

In CR XI you cannot just register the craxdrt.dll directly
There are too many dependencies
So you need to create a distribution package
See this link for details
https://answers.sap.com/questions/8122246/regsvr32-craxdrtdll--version-1158826-.html
Avatar of lanier3532
lanier3532

ASKER

Thanks Partha, but I couldn't get any concrete solution.  The articles were more of a "how to create a merge file" rather than a solution to the problem.   Do you know of a download link that I could run to resolve the .dll issue?

Thanks!
DId you update the references in the application in Visual Studio before trying to recompile?

mlmcc
I didn't expressly do anything to the "References" folder in the project explorer.  The reference to CRAXDRT was already listed with a yellow triangle on it indicating a problem.  You can see the error in the error window at the bottom indicating a problem with loading the dll.

is there something I should do to "refresh" the reference?

-Harold
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

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
Thanks!  This wasn't the exact solution, but led me to it.  I deleted the reference to craxdrt.dll in my project and was trying to find the .dll when I found a file named Interop.CRAXDRT.dll.   I added a reference to it and that took care of it.

thanks for all your help!