Problem connecting to Exchange Server 2007 from Coldfusion

Posted on 2009-04-25
Last Modified: 2013-12-24
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"







Open in new window

Question by:hanno62
    LVL 49

    Accepted Solution

    what are you trying to access on your exchange server on port 8080 ?

    Author Comment

    The exchange server. I might as well pass port 80 here. Since our firewall has also 8080 connected, we tried this as well.

    Author Comment

    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  :

    whereas the tag would go to

    vvvvv@domain.local = default domain


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
    This video discusses moving either the default database or any database to a new volume.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now