Hi!
I'm currently working with the EWS API to pull calendars and events from an Exchange Account. I'm using the Microsoft.Exchange.WebService.dll v15.
My code works fine for an Office 365 hosted account. But for Exchange Server 2010, I get the error:
The response received from the service did not contain valid XML.
After enabling tracing, I've learned that the response is actually the login page, not the expected XML with the calendars. It's returning the HTML of the login page as the response.
At this point, I'm unsure of what's going on. Any help is greatly appreciated. In the meanwhile, I'll keep poking around.
Thank you!