473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

exchange, com and php

Hello.
I have a problem with access to Outlook (with Exchange Server) through
com in php. I have SBS2003, IIS 6.0 and PHP 4.3.4. The script with only:

$outlook = new COM("Outlook.Application");
echo $outlook->version();

is executing 30 seconds and stops. There's no error's but instrance of
Outlook starts as IUSER. I put privaledges to Public Folder (in Exchange
Server) and even I create Mail Account for IUSER but it nothing changes.
I think the problem is with privaledges becouse word and other MS Office
applications works thourgh com. Is there anything else what shoud I do?

regards

BuKoX
Jul 17 '05 #1
3 1547
"[BuKoX]" <bu***********@tlen.pl> wrote in message
news:c8**********@inews.gazeta.pl...
Hello.
I have a problem with access to Outlook (with Exchange Server) through
com in php. I have SBS2003, IIS 6.0 and PHP 4.3.4. The script with only:

$outlook = new COM("Outlook.Application");
echo $outlook->version();

is executing 30 seconds and stops. There's no error's but instrance of
Outlook starts as IUSER. I put privaledges to Public Folder (in Exchange
Server) and even I create Mail Account for IUSER but it nothing changes.
I think the problem is with privaledges becouse word and other MS Office
applications works thourgh com. Is there anything else what shoud I do?

regards


Give the IIS service access to the desktop and see what happens. My guess is
that Outlook had hit an error and was waiting for you to press Retry/Cancel.
Jul 17 '05 #2
Użytkownik Chung Leong napisał:
Give the IIS service access to the desktop and see what happens. My guess is
that Outlook had hit an error and was waiting for you to press Retry/Cancel.


A gave IUSER acess to Dekstop in "All Users" and "Default User" but
nothing is changed. Is there any place where do I find any errors about it?

Jul 17 '05 #3
[BuKoX] wrote:
Użytkownik Chung Leong napisał:
Give the IIS service access to the desktop and see what happens. My
guess is
that Outlook had hit an error and was waiting for you to press
Retry/Cancel.

A gave IUSER acess to Dekstop in "All Users" and "Default User" but
nothing is changed. Is there any place where do I find any errors about it?


You can always look in the event Log (Right-click on `My computer' ->
`Manage' -> `Event Viewer', then look in each one of the logs to see if
there's any hint about the problem).

And what the previous writer meant was, I think, giving the _service_
access to the desktop. When you're still in the management console
opened by [My Computer/Manage], go to `Services and Applications', then
`Services', and look up IIS server in the list. Open the service
properties and on the `Log On' tab check `Allow service to interact with
desktop'.

You may have to restart the service for this change to take effect.

Good luck debugging!

-Rico
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: warren ali | last post by:
Hi all! I'm new to python and I seem to have a hit a of a brick wall. I hope you guys can help. I'm trying to rewrite some of my vbscripts in python. This particular script connects to a...
6
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from...
19
by: steve | last post by:
// What I want to do Use enumerated types with the Interlocked.Exchange methods Suggestions please // My estimation of problem Seems like Interlocked.Exchange only works with ints,...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
2
by: George Durzi | last post by:
We recently upgraded to Exchange2K3/W2K3 from Exchange2K/W2K, and some of my c# code that I used to access users' contacts using WebDAV has stopped working. I'm getting a 401 unauthorized error....
8
by: Michel Posseth [MCP] | last post by:
Hi does someone has experience with this ?? i have made a lot of apps in the past that were capable of sending e-mails the server i then talked to was a Linux SMTP server and it worked great ...
2
by: Doug Raney | last post by:
I am very new to Exchange. I need to have my Exchange server forward a copy of a message to an email address when the subject or body contains a known unique identifier. Where do I start? How can I...
0
by: arjen1984 | last post by:
I am now working on C# with WebDAV on Exchange now to get appointments. When I work local on the domain where the server is, i can get the appointments no problem. When I work outside of it, i get an...
5
by: annCooper | last post by:
Exchange Rates Source file: Exchange.cs Input file: Exchange.in Output file: Exchange.out Using money to pay for goods and services usually makes life easier, but sometimes people prefer to...
2
by: adam.waterfield | last post by:
Maybe someone could help me a little here. On a project I am working on, we have some LDAP authentication to Active Directory which allows users to login to our application - this is fine. When...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.