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

Windows Server 2008 Conecting to Coldfusion 9 Tags

New Here ,
Dec 13, 2012 Dec 13, 2012

Im having a problem attaching to Windows server 2008 with the exchange tags in coldfusion 9.
We took the username and password out and we get a access denied error.
We put them in and we get the following screenshot error.

Here is the code I am working with

<CFEXCHANGECONNECTION

  action="open"

  username="windowsusername"

  password="windowspassword"

  server="10.10.10.6"

  connection="conn1">

<!--- Create a structure with the task fields. --->

<CFSET stask = StructNew()>

<CFSET stask.Priority = "high">

<CFSET stask.Status = "Not_Started">

<CFSET stask.DueDate = MakeODBCDate("08/10/2012")>

<CFSET stask.Subject = "Johns Task Test">

<CFSET stask.PercentCompleted = 0>

<CFSET Message = "Hello John!">

<!--- Create the task by using a transient connection. --->

<cfexchangetask action = "create"

  connection="#conn1#"

  task = "#stask#"

  result = "theUID">

<CFEXCHANGECONNECTION

  action="close"

  connection="conn1">

When run I get the error “Unable to connect to the Exchange server using HTTP/HTTPS protocol”

coldfusionexchangeerror.JPG

I am assuming it’s a setting somewhere, but I wouldn’t have a clue where to look.  If you could help I would be very grateful.

586
Translate
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
Community Expert ,
Dec 16, 2012 Dec 16, 2012

The code you have shown here is different from the one that caused the error. That makes it futile for us to guess the cause. 

Translate
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 16, 2012 Dec 16, 2012

Hi,

We have doubled checked and this is the code that has caused us the error.

What makes you think that it is not?

Thanks

Translate
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
Community Expert ,
Dec 16, 2012 Dec 16, 2012
LATEST

piggles wrote:

We have doubled checked and this is the code that has caused us the error.

What makes you think that it is not?

The code snippet in the screenshot is different from the code you posted.

Translate
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