Expetion when get EWS uri via autodiscover RRS feed

  • Question

  • Hello,

    I want build my first EWS application for adding signatures in mail messages. And I find some code sample on Exchange Developer Page 

    I have Exchange 2010 SP3 with working EWS, but that code don't work. It give me some exception about:

    A first chance exception of type 'Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException' occurred in Microsoft.Exchange.WebServices.dll
    An unhandled exception of type 'System.TypeInitializationException' occurred in mscorlib.dll
    Additional information: The type initializer for 'Exchange101.Email' threw an exception.

    Plese help me or give hint how i can resolve this issue.  Thanks you!

    Wednesday, December 3, 2014 2:05 PM