Page 1 of 1

new COM(): Access is denied.

Posted: Tue Sep 17, 2002 3:17 pm
by jadair
I get an Access is denied error when trying to instantiate Excel. The actual error reads - Unable to obtain IDispatch interface for CLSID {00020820-0000-...}: Access is denied after the following code:

$this->ex = new COM("Excel.Sheet") or Die ("Did not instantiate Excel");

Apache then crashes and claims to post into the error log. Although I can not find any such entry into the any log. Also, Apache keeps running and I never have to restart it. Maybe this is how it's suppose to work; I don't know.

I'm running Apache 1.3.26 & PHP/4.2.2.

The error message only comes up when I'm using the ZDE debugger as a Debug Warning.

Any help would be appreciated.