The module "craxdrt.dll" failed to load.

lanier3532
lanier3532 used Ask the Experts™
on
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!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Partha MandayamTechnical Director

Commented:
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

Author

Commented:
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!
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
DId you update the references in the application in Visual Studio before trying to recompile?

mlmcc
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Author

Commented:
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
Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
Commented:
I am not a .NET programmer.  You may have to delete it and read .

The linking to the library is done with a unique ID.  When you reinstalled the ID changed.

mlmcc

Author

Commented:
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!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial