cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports - PHP issue

Former Member
0 Kudos

Hello,

I have the following code:

 


    $ds = odbc_exec($conn,$strSql);

    //------ Create a new COM Object of Crytal Reports 10 ------
    $ObjectFactory= new COM("CrystalReports11.ObjectFactory.1");

    //------ Create a instance of library Application -------
    $lib = $ObjectFactory->CreateObject("CrystalDesignRunTime.Application");

    //------ Open your rpt file ------
    $creport = $lib->OpenReport($my_report, 1);
    $creport->ReportTitle = $repTitle;

Which works on my development PC which has Visual Studio and Crystal Reports installed, however on a brand new installation on a windows 2003 server the code falls over and the creating an new COM object.

Are there any SDK's or anything that needs to be installed on the webserver?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

Former Member
0 Kudos

Any suggestions?

I am using Crystal Reports Developer 11.0.0.895. I have tried installing Crystal version 12, on the web server with no luck.