I'm new to using the Exchange 2010 API (C#). I'm just going through a basic example (link below), but I'm having issues when using the FindItems method. In particular, I get the error "ServiceVersionException unhandled". The first thing that comes to mind is that I've specified the wrong Exchange version, like in this line:
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
I've tried the different permutations though (and the IT guys tell me its 2010), and still getting the same error. I was wondering if it could be some weird firewall thing, or something else.
Any thoughts are much appreciated!
Thanks
Example: http://omegacoder.com/?p=454
EDIT: The inner exception is: "null".