A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can't start Outlook Instance while outlook client is running



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 1st 07, 11:20 PM posted to microsoft.public.outlook,php.general,php.windows,comp.lang.php
reedko
external usenet poster
 
Posts: 1
Default Can't start Outlook Instance while outlook client is running

Hi,

I'm running WinXP,IE6.0 on my workstation and have a local server
running WInXP,Apache 2,MySQL 5,PHP 4.

I wrote this script to grab certain addresses from distribution lists
in an Outlook 2003 address book and throw them into a MySQL table.

It worked when I tested it in UltraEdit Studio and it works when I run
it from the command line. But I need to run it from a browser or have
the browser batch it to the server to run from the command line.
When I tested it from a browser while the Outlook 2003 client was
running on the server, it gave me this error:

'Failed to create COM object `Outlook.Application': Server execution
failed

So I build a little snippet to run some tests:
?php

$ol = new COM("Outlook.Application","localhost");
$ol='';
print "done!";
?
and save it as testcom.php.

It works from the browser as long as the server doesn't have an
Outlook client open. But I need the client to be open sometimes.

If the Outlook client is open and I run it from the command line on
the server it works fine.

C:\PHP\php testcom.php

C:\PHP\php.ini and C:\windows\php.ini are identical.

I'm pretty sure I need the Outlook client open to get to the address
book. Our exchange server is Electricmail.

Does anybody have any ideas on what is happening, how to get around it
or how to fix it? THanks for any input.


Reed

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook should have an option to just open ONE instance ewerybody Outlook - Installation 2 March 15th 07 10:10 AM
How do I associate one client with another? client to accountant Buzz Bennett Outlook - Using Contacts 0 September 7th 06 11:35 PM
Multiple instance of Outlook 2003 running avi8tor Outlook - General Queries 2 April 12th 06 11:34 AM
Calendar... Button opens another Outlook Instance ... Sue Mosher [MVP-Outlook] Outlook - Calandaring 0 January 19th 06 09:09 PM
Outlook 2003 Instance Won't Close If Opened Programmatically Michael Bauer Outlook and VBA 3 January 11th 06 03:19 PM


All times are GMT +1. The time now is 04:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright Đ2004-2025 Outlook Banter.
The comments are property of their posters.