Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

distributing VB app; can't register CRAXDRT.DLL 2

Status
Not open for further replies.

olichap

Programmer
Mar 20, 2001
389
US
I have a VB6 app that uses the Report Designer Component. As often happens the app runs perfectly on my development machine (Win2000 Pro) but not on my Win98 lab pc. Utilizing Visual Installer 1.1 I create an installation package; the package build is clean, not errors or reported dependancy issues. When my setup program is run the Windows Installer reports the following error:

Error 1904. Module c:\program files\prjReports\craxdrt.dll failed to register.
HRESULT -2147023739. Contact your support personnel.

When I try to manually register the dll I get this error:
LoadLibrary("craxdrt.dll") failed.
GetLastError returns 0x00000485.

The 98 machine was formated yesterday and I've not installed anything that would conflict; there are not multiple copies of the CRAXDRT driver in residence. Any suggestions or assistance would be appreciated.

Thanks,
Oliver
 
Never mind; I got it all straightened out.

O.
 
Hi:

I am having the same problem on a 98 box, just formatted and 98 added. What did you do to solve it please? Thanks
 
Shavon,

If you are using the RDC, make sure you DO NOT have the Crystal32.ocx tagged in Project Components. If you do this will cause a conflict when trying to register. Also check your References. Check all the other Components and References in your project that pertain to Crystal. The only things you need when using the Report Designer Component are the following References:

Crystal Report Viewer Control(crviewer.oca)
Crystal Reports 8(.5 if you have it) ActiveX Designer Run Time Library (Craxdrt.dll)

Whenever you add a report to the project it Crystal automatically tags the CR 8.5 Act.X Designer Design and Run time Library. This reference is not necessary, so remove it. I've been told by Cr. support that a)all the functions in Craxddrt.dll have been included in Craxdrt.dll, so the former is not necessary b/c of this and b) that the Craxddrt.dll is only necessary when using charts and graphs. I don't know which is valid, but just know when you have a standard report you do not need the Craxddrt tagged as a reference.

Double check that you've added the following files to your installation package:
MFC42.DLL
MSVCRT.DLL
MSVCP60.DLL

After clearing out conflicting References, give it a shot (if, as you say, you have all the proper dependancies).

Let me know if you have already done all the above and still have a problem.

Oliver
 
thank you for this fix. It's helped me a great deal.

Bruce
 
Any idea why does it fail when trying to manually register craxdrt.dll ?

Thanks.
 
Found it: msvcp60.dll missing
There is another thread which gives the complete list of Microsoft VC DLL dependencies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top