exchange, com and php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • [BuKoX]

    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.Ap plication");
    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
  • Chung Leong

    #2
    Re: exchange, com and php

    "[BuKoX]" <bukox_WYTNIJ_@ tlen.pl> wrote in message
    news:c8sh17$i6p $1@inews.gazeta .pl...[color=blue]
    > 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.Ap plication");
    > 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
    >[/color]

    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.


    Comment

    • [BuKoX]

      #3
      Re: exchange, com and php

      U¿ytkownik Chung Leong napisa³:
      [color=blue]
      > 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.[/color]

      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?

      Comment

      • Rico Huijbers

        #4
        Re: exchange, com and php

        [BuKoX] wrote:[color=blue]
        > U¿ytkownik Chung Leong napisa³:
        >[color=green]
        >> 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.[/color]
        >
        >
        > 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?
        >[/color]

        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

        Comment

        Working...