Skip to main content
piggles
Participating Frequently
December 13, 2012
Question

Windows Server 2008 Conecting to Coldfusion 9 Tags

  • December 13, 2012
  • 1 reply
  • 640 views

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”

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.

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
December 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. 

piggles
pigglesAuthor
Participating Frequently
December 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

BKBK
Community Expert
Community Expert
December 16, 2012

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.