I currently have Crystal 2008/SP1 installed. But from what I gather I may need to revert back to the default version that comes with Visual Studio 2008. My problem is:
Will I be able to export my reports on a 64 bit OS? In other words, our Crystal code runs in a 64 bit WCF service. From this WCF service I need to reference 16 other 64 bit assemblies which are shared among other processes. So I cannot run my WCF service in 32 bit mode.
If it is possible to export reports using 64 bit code, I kind of need someone from SAP to tell me exactly which MSIs or merge modules I need to install on my 64 bit OS to be albe to run the following code:
public Stream ExecuteReportImmediate( string reportName )
{
string user = Globals.User, pwd = Globals.Password, server = Globals.Server, db = Globals.DataBase;
ReportDocument doc = new ReportDocument( );
doc.Load( _serverPath + @"\" + reportName, OpenReportMethod.OpenReportByTempCopy );
doc.SetDatabaseLogon( user, pwd, server, db );
TableLogOnInfo tblLO;
ConnectionInfo connectionInfo = new ConnectionInfo( );
connectionInfo.UserID = user;
connectionInfo.Password = pwd;
connectionInfo.ServerName = server;
connectionInfo.DatabaseName = db;
foreach ( Table table in doc.Database.Tables )
{
tblLO = table.LogOnInfo;
tblLO.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo( tblLO );
}
return doc.ExportToStream( ExportFormatType.PortableDocFormat );
}
I would like to be able to run this same code on both my 64 bit Vista, and our customer's 64 bit Windows 2008 server.
Any help would be greatly appreciated. I need to have this working by end of day today.