[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

Problem connecting to Exchange Server 2007 from Coldfusion

We installed Exchange 2007 on windows 2008 server.

We tried to connect to the server from a another server with ColdFusion installed.

The tag connect to the server properly as it throws a different error message when I change the server name or the account name, like below

"Access to the Exchange server denied.  
Ensure that the user name and password are correct.  "

However although we (believe) we made sure that both below conditions are met, it still give the follow CF thronw error when trying to connect to the server.

"Ensure that the Exchange web application is configured in IIS and Web Service Extension for the Exchange server is allowed. "

<We turned OFF the window firewall as well >
<cfexchangeconnection action="OPEN"
          connection="mycon"
          server="myserver"
          username="nnn"
          password="nnnn"
          port="8080"
          protocol="http">

Open in new window

0
hanno62
Asked:
hanno62
  • 2
1 Solution
 
AkhaterCommented:
what are you trying to access on your exchange server on port 8080 ?
0
 
hanno62Author Commented:
The exchange server. I might as well pass port 80 here. Since our firewall has also 8080 connected, we tried this as well.
0
 
hanno62Author Commented:
We found the solution ourselves

It appeared that adding the optional tag  MailBoxName did the job, as the account was by default pointing to a different mailbox of a different domain

Example my mail box  : vvvvv@mydomain.com

whereas the tag would go to

vvvvv@domain.local = default domain


0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now