If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Running both Crystal 8.5 and XI versions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-05-09, 06:04
ARW ARW is offline
Registered User
 
Join Date: Aug 2003
Location: Auckland - New Zealand
Posts: 9
Red face Running both Crystal 8.5 and XI versions

Greetings.

I support a machine that has both 8.5 and version XI loaded, but get an error when trying to start a report from a VB program using Craxdrt - cannot create object.

I think I have the wrong version of craxdrt.dll registered, but when I register a later version the old 8.5 reports dont run. I have heard a suggestion that you can register a dll from two path files, and that a program will use the version that is in its program directory before looking elsewhere. Is that correct?

Perhaps simplier if I clarify my specific situation - I have legacy Crystal 8.5 reports and later Crystal XI reports that are both happily running on a Terminal Server, so I presume they must be using different versions of dll's somehow. I have added a Crystal XI report to the application already using XI, but it fails with "cannot create object" when doing the following
Dim CRXApplication As New Craxdrt.Application
Dim CRXReport As Craxdrt.Report
Set CRXReport = CRXApplication.OpenReport(strDir & "\Home\" & strReportName, 1)

The craxdrt.dll on the Terminal Server is from 2001, and if I register a later version (2005) some Crystal 8.5 reports dont work. So I am wondering if I can place craxdrt.dll and its dependencies wherever the other Crystal XI stuff is, so my report works without affecting the 8.5 reports.

Questions then are - How can I determine where to put a later version of craxdrt.dll and what do I have to put with it, and do I register any of it or will it just work?

Probably difficult to answer without knowing more?

Regards and thanks
Thanks and Regards

Last edited by ARW; 07-06-09 at 16:24.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On