I am having problems connecting to Exchange via cfexchangeconnection. Our 
ColdFusion environment is CF9 Enterprise on Win 2008, and the Exchange host is 
Win SBS 2008 (which uses IIS7).

After having worked through the documentation and following all procedures 
outlined at

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec14f31-7fed.html

plus googling intensively, we have the following method to test the connection


<cfexchangeconnection action="open" 
         connection="thisExchangeConnection"
         server="portal.mydomain.com"
         protocol="https"        
         formBasedAuthentication="true"
         
formBasedAuthenticationURL="https://portal.mydomain.com/owa/auth/owaauth.dll";
         mailboxname="myMailBox"        
         username="myUsername"
         password="myPassword" />

<cfdump var="#thisExchangeConnection#">

<cfexchangeconnection action="close"
         connection="thisExchangeConnection" />

The IIS7 implementation in SBS 2008 is quite a lot different to Win 2008, so 
there are some question marks around some steps in the above documentation. 
However, we have made sure that:-

1) you can use the credentials above to login via a web browser
2) WebDav is on in IIS
3) there is no IWA and forms based authentication is on
4) certificates are installed correctly on both the CF and Exchange servers
5) the myUsernameaccount has correct permissions in iis/owa/exchange

Despite this, the net result is always

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

>From research it seems that a lot of people have issues where the underlying 
>problem is actually an Exchange 440 timeout error where the password in the 
>IUSR_<servername> and IWAM_<servername> (IIS/Active Directory) is out of sync.

I was pinning my hopes on the above being the problem but now I find that in 
SBS 2008 there is no IWAM_<servername> server account.

All this leads me to ask is SBS 2008 actually compatible with the cfexchange 
tags in CF9? There is nothing in the documentation that I can find that syays 
that it isn't, but given the amount of time we've spent on what should be 
straightforward I am wondering if we are on a hiding to nothing. Anyone from 
Adobe care to comment?

If anyone has managed to get this to work specifically with SBS 2008, or has 
any advice I'd be grateful to here from you.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339803
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to