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

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

New Here ,
Aug 13, 2007 Aug 13, 2007

Copy link to clipboard

Copied

hi,
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="192.168.0.1">

<cftry>

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

<!--- Close connection to exchange server --->
<CFExchangeConnection
action="close"
connection="conn1">
<cfoutput>Connection to exchange server "#exchangeServerIP#" terminated</cfoutput>

<!--- Error Information --->
<cfcatch type="any">
<cfoutput>#cfcatch.message#</cfoutput>
</cfcatch>

</cftry>

if any one know how to solve this error?

TOPICS
Getting started

Views

773

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
Advocate ,
Aug 13, 2007 Aug 13, 2007

Copy link to clipboard

Copied

Hi,

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.

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 ,
Aug 13, 2007 Aug 13, 2007

Copy link to clipboard

Copied

that line <!--- protocol ---> in comment, so it not make any difference.
now i remove thsi protocol tag, and user name is also ok. still it give me error like this.
Unable to connect to the Exchange server using HTTP/HTTPS protocol.
HTTP response code : 302

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
Advocate ,
Aug 14, 2007 Aug 14, 2007

Copy link to clipboard

Copied

LATEST
Hi,

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

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

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