Skip navigation
Currently Being Moderated

Unable to connect to the Exchange server using HTTP/HTTPS protocol.

Aug 13, 2007 3:16 AM

i try to connect microsoft exchange server, but it give me error
Unable to connect to the Exchange server using HTTP/HTTPS protocol.

my code is pasted below............

<!--- connection parameters --->
<cfparam name="user1" default="uHRH">
<cfparam name="user2" default="uHRH">
<cfparam name="password" default="uHRH">
<cfparam name="exchangeServerIP" default="">


<!--- Open a connection to the exchange server by specifying the required user credentials --->
username ="#user1#"
<!--- protocol = "http"--->
<cfoutput>Connection to exchange server "#exchangeServerIP#" established</cfoutput>

<!--- Close connection to exchange server --->
<cfoutput>Connection to exchange server "#exchangeServerIP#" terminated</cfoutput>

<!--- Error Information --->
<cfcatch type="any">


if any one know how to solve this error?

  • Currently Being Moderated
    Aug 13, 2007 6:36 AM   in reply to flashbrain16

    The "<cfexchangeConnection>" tag supports both "HTTP" and "HTTPS" connection.. So Please make sure the username has the "Outlook Web Access".

    Also try removing the <!--- protocol = "http"---> comment which you placed inside the "<cfexchangeConnection>" tag.
    Mark as:
  • Currently Being Moderated
    Aug 14, 2007 2:41 AM   in reply to flashbrain16

    Since this "302" issue is related with "Object Moved" type of error. It seems the IP you mentioned as "" must be wrong (this might be your router's IP),

    So Please make sure your server IP is correct and have a try again..
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points