#38021 [Opn->Asn]: Uncaught exception 'com_exception'

From: Date: Sat, 03 Feb 2007 16:16:14 +0000
Subject: #38021 [Opn->Asn]: Uncaught exception 'com_exception'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108372@lists.php.net to get a copy of this message
 ID:               38021
 Updated by:       wharmby@php.net
 Reported By:      zyablik at insc dot ru
-Status:           Open
+Status:           Assigned
 Bug Type:         COM related
 Operating System: XP SP2 IIS onboard
 PHP Version:      5.1.4
-Assigned To:      
+Assigned To:      wharmby


Previous Comments:
------------------------------------------------------------------------

[2006-07-06 14:58:36] zyablik at insc dot ru

Description:
------------
Fatal Exeption on new COM("Word.Application")


Reproduce code:
---------------
Very well known example for testing "word.Application" COM object.
my line 13 is:

$word = new COM("Word.Application");
... the same as expected
$word->Documents->Add();



Expected result:
----------------
Creation of new test word file.

Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message
'<b>Source:</b> Microsoft Word<br/><b>Description:</b> Could not
open
macro storage.' in D:\dir\com.php:13 Stack trace: #0
D:\dir\com.php(13): variant->Add() #1 {main} thrown in D:\dir\com.php
on line 13

What does that means?


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38021&edit=1


Thread (6 messages)

« previous php.bugs (#108372) next »