I'm using Coldfusion, IIS 7.0, Windows 2008r2 to insert calendar events on behalf of a user determined in Coldfusion page on a hosted Exchange server. This was working as of a few weeks ago but stopped (cannot connect to exchange server). Tech support for the Exchange server said, when I first started working on the problem, that WebDav was no longer supported. I just got off the phone with them and they say I was told wrong and WebDav is still supported. But, they have no way of testing and supporting Coldfusion. I've been chasing my tail for 2 weeks now. Is there anyone that can help me debug this problem?
<cfscript>
// Fill Event Struct From Arguments.
sEvent.AllDayEvent="no";
sEvent=StructNew();
sEvent.Subject= 'Test Exchange';
sEvent.StartTime=createDateTime(Year(EventStartDateTime), Month(EventStartDateTime),
Day(EventStartDateTime), evaluate(Hour(EventStartDateTime) - val(attributes.AdminTimeZone)), Minute(EventStartDateTime), 0);
sEvent.EndTime=createDateTime(Year(EventEndDateTime), Month(EventEndDateTime),
Day(EventEndDateTime), evaluate(Hour(EventEndDateTime) - val(attributes.AdminTimeZone)), Minute(EventEndDateTime), 0);
sEvent.Location = '';
sEvent.Reminder = '';
sEvent.Importance = "Normal";
sEvent.Sensitivity = "Normal";
sEvent.message = 'test exchange';
sEvent.OptionalAttendees = '';
</cfscript>
<cfexchangeconnection action="open" connection="#Application.Exchange.Connector#"
server="#Application.Exchange.ExchangeHost#"
username="#UserName#"
mailboxname="#EmailAddress#"
password="#Pword#"
Protocol="#Application.Exchange.Protocol#"
port="#Application.Exchange.Port#"
formbasedauthentication="#Application.Exchange.FormBased#"
formbasedauthenticationURL="#Application.Exchange.FormURL#"
/>
The data I use is:
exch016\george_ttt
Pword1234
04-Nov-13
04-Nov-13
EXVMBX016-5.exch016.msoutlookonline.net
Error:
connection="exchangeConn"
server="XXXXXX016-5.exch016.msoutlookonline.net"
Protocol="https"
port="443"
formbasedauthentication="TRUE"
formbasedauthenticationURL="https://owa016.msoutlookonline.net/owa/auth/logon.aspx"