Skip to Content
0
Former Member
Apr 16, 2009 at 04:42 PM

Crystal 2008 - VS2003 in a 64 bits Windows 2003 machine

27 Views

We have an application developed with VS2003 using the Crystal 2008 components (12.0.1100.0).

Reports run fine on a 32 bit machine, but not in the 64 bit machine.There are many posts about Crystal with 64 bits, but instead of helping they are confusing and I just want to confirm one thing before moving on to the error. The basic question is:

Are the Crystal 2008 components mentioned above, installed in VS2003 support 64 bits?

I would think that they are because of the error that we are getting: "Unknown Database Connector Error ". The error seems to occur when trying to assign new data source to a table.

			
//Assign the new data source for every table in the main report. rpt is the ReportDocument
CrystalDecisions.CrystalReports.Engine.Tables tables = rpt.Database.Tables;

foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
{
	int i = 0;
	table.SetDataSource(newDataSource.Tables[i++]);
}	

Before running the code above we have already loaded the rpt file and refreshed it t without errors.

The same user, runs the same report against the same database successfully from a 32 bit machine.

Any ideas?

Many thanks,

Iris.