0 Replies Latest reply on Jun 4, 2008 7:50 AM by Newsgroup_User

    cfexchangeconnection problem

    Level 7
      G'day
      I'm having a bit of trouble connecting to our (hosted) Exchange server.

      My code is thus:

      {code}
      <cfscript>
      stArgs = structNew();
      stArgs.action = "open";
      stArgs.userName = "myMailboxLogin";
      stArgs.password = "myMailboxPwd";
      stArgs.server = "serversOwaIpAddress";
      stArgs.connection = "oExchCon";
      </cfscript>

      <cfexchangeConnection attributeCollection="#stARgs#">
      <cfdump var="#oExchCon#">
      {code}

      I'm authenticating fine (if I try deliberately incorrect login/pwd details,
      I get told as much), but then getting this error:

      {quote}
      Cannot access Exchange server as a web application at
      [serversOwaIPAddress].
      Ensure that the Exchange web application is configured in IIS and Web
      Service Extension for the Exchange server is allowed.
      {quote}

      OWA is enabled, as I can access my mailbox via OWA using those credentials.

      I presume I'm doing something wrong, or have some config on the Exchange
      server wrong, but am not sure what.

      Anyone had this before and sorted it out?

      --
      Adam