• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFExchangeConnection and 440 error

New Here ,
Sep 03, 2009 Sep 03, 2009

Copy link to clipboard

Copied

I have been getting this error when trying to connect to Exchange 2007 using <cfexchangeconnection>:

Unable to connect to the Exchange server using HTTP/HTTPS protocol. HTTP response code : 440

I have seen the other discussions on this topic and even tried calling Adobe Support but haven't had any luck in getting a fix. I was hopeful after the recent cumlative hot fix which addressed the bug I am encountering there would be a fix...

http://kb2.adobe.com/cps/511/cpsid_51180.html

See item 74297, "Fix for error 440 status thrown when connecting to Exchange server 2007 using cfexchangeconnection with attribute formbasedauthentication enabled."

Unfortunately I am still getting the same error. Here is the code I am using, I took out the sensitive bits:

<cfexchangeconnection

action="open"

connection="cfex"

server="owa"

protocol="https"

userName="DOMAIN\user"

password="mypassword"

formbasedauthentication="no" />

also tried

<cfexchangeconnection

action="open"

connection="cfex"

server="owa"

protocol="https"

userName="DOMAIN\user"

password="mypassword"

formbasedauthentication="yes"

formBasedAuthenticationURL="https://owa/owa/auth/logon.aspx"

/>

TOPICS
Advanced techniques

Views

5.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 11, 2009 Sep 11, 2009

Copy link to clipboard

Copied

Bump... I have seen similar threads go unanswered, can I assume this is still a bug in CF8?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 11, 2009 Sep 11, 2009

Copy link to clipboard

Copied

Not sure if this will help you but I've discovered by a series of trials and errors that the 4 leading causes of failure are:

1. Misnaming the Server URL.

2. Misnaming the Userid.

3. Not naming the mailbox. This one has fixed more than one situation for me at least.

4. Not naming the protocol.

For what its worth I have successfully connected to both Exchange 2003 and 2007 using CFExchangeConnection.

Let us know how it works out for you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 17, 2009 Sep 17, 2009

Copy link to clipboard

Copied

Tried everything but still getting same error message.

Does cfexchangeconnection require the authentication form match a particular format?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 17, 2009 Sep 17, 2009

Copy link to clipboard

Copied

Is https://owa/owa/auth/logon.aspx definitely reachable from the CF server?  What do you get if you CFHTTP that URL?

I suspect to make an HTTPS connection, you will need a certificate installed on the client (in this case, the client being the CF server).

Google "cfhttp https" for discussion on this. HTTPS and certificates is not really my area of expertise, so I'm guessing a bit here.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 17, 2009 Sep 17, 2009

Copy link to clipboard

Copied

Works if I use cfhttp... I imported the certificate, its not that =o)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

Sadly this doesn't appear to be any better in CF9... anyone have clues to me as to some troubleshooting that can be done with the 440 error? is it just a generic error?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 31, 2009 Dec 31, 2009

Copy link to clipboard

Copied

Same problem here. Its too bad. has anyone ever got this to work?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2010 Mar 15, 2010

Copy link to clipboard

Copied

Still no solution on this

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 15, 2010 Mar 15, 2010

Copy link to clipboard

Copied

It might be an idea to raise it as an issue, if it's still bung in CF9.

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#

If you raise an issue, it will get onto Adobe's radar.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 17, 2010 Mar 17, 2010

Copy link to clipboard

Copied

Hi pkh80,

I found a difference between CF8 & CF9 wrt cfexchangeconnection's "server" attribute and an Exchange setup that spans multiple servers.

Basically, CF8 wasn't authenticating via the webmail address (ex: server="webmail.domain.com"), but CF9 handled this fine.

So, in CF8, it required connecting directly to the specific mailbox server.

HTH!,

-Aaron Neff

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 17, 2010 Mar 17, 2010

Copy link to clipboard

Copied

Hi,

Can you confirm which authentication is chosen at Exchange server?

Regards,

Shilpi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 18, 2010 Mar 18, 2010

Copy link to clipboard

Copied

I tried connecting directly to the exchange server but that didn't seem to work. I was hopeful this was the problem because our Exchange servers are clustered.

Shilpi - I don't know what you mean which authentication is chosen on the Exchange server? I am trying to use the formBasedAuthentication method for the CFExchange tag.

I guess the most frustrating part of this is seemingly no matter what I do, I always get the same 440 error... it would be so much more useful to see a dump or stacktrace of what's actually happening internal to CF. But it seems if everything doesn't go just right, you get this generic error message.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 20, 2010 Mar 20, 2010

Copy link to clipboard

Copied

Hi,

On the exchange server there are few properties. One of those is authentication mechanism. In formbasedAuthentication at Exchange server there are following authentications -

1. basic authentication

2. NTLM authentication

3. Integrated Windows authentication (IWA)

From above 3, we support only "basic Authentication". Please confirm which authentication method is chosen at exchange server to which you are trying to connect.

Thanks & Regards,

Shilpi

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 22, 2010 Mar 22, 2010

Copy link to clipboard

Copied

I confirmed we only have Basic Authentication enabled.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 26, 2010 Mar 26, 2010

Copy link to clipboard

Copied

Hi Phillip,
               I did send you mail(25/3/10) requesting  you to check few things.

              It looks to be a unique case with you as you are using mail server from cluster.To understand the issue better.....

             Could you please try to verify the mail server connection details  from  CF administrator with the connection details you have?Are you able to verify tthe mail server connection or not?
              Could you plaese try to connect to exchange server from browser with  the connection details you have? Are you able to connect or not?
              Please make sure to send me the screen shot of the about  two cross-checks and also send me the server logs when you hit this  issue...

             (I did sent you the the mail from adobe mail id-you can reply to that mail).

Thanks,

Krishna

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 28, 2010 May 28, 2010

Copy link to clipboard

Copied

I am having the same kinf of issues connecting to Exchange 2010 using CF 9. Imported certificate and tried all sorts of other suggestions that have been offered here like domain\user etc. Has anyone figured out this issue. I am trying this

<cfexchangeconnection action="open"  connection="conn" server="server.domain.com"  formBasedAuthentication="yes"   
       formBasedAuthenticationURL="https://server.domain.com/owa/auth/logon.aspx"    protocol="https"
      username="user"  password="passwd">

Tried removing form based auth etc. still doesnt work. Either I get http response code 302 or cannot access as web application error.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 31, 2010 May 31, 2010

Copy link to clipboard

Copied

LATEST

Do not quote me on this - you might need to sniff around Google a bit - but I have some recollection that CF9 uses webdav to connect to Exchange, and Exchange - since 2010 - no longer uses webdav.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation