|
I need help.... My php code giving me this error on my server..
Fatal error: Uncaught exception 'com_exception' with message 'Failed to
create COM object `CrystalDesignRunTime.Application': Invalid syntax '
in C:\xampp\htdocs\test.php:11 Stack trace: #0
C:\xampp\htdocs\test.php(11): com->com('CrystalDesignRu...') #1
{main} thrown in C:\xampp\htdocs\test.php on line 11
Im using Crystal Report 2008, php 5.2.5, Apache 2.2.8, mysql 5.0.51a on windows server 2003.. (the code run just fine with Crystal report XI but my server using 2008 version)
This code that give the error
$crapp = new COM("CrystalDesignRuntime.Application") or die ("Error on load"); $creport = $crapp->openreport("c:\\xampp\\htdocs\\test.rpt",1);
Edited by raishaDad - 16 Nov 2009 at 7:19pm
|