Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.