Unhandled exception has occurred in your application

Aug 20, 2015 at 12:22 AM
Hello,

I tried to run this against my on-premise Exchange 2013 server, but receive the following error when I click on the Subscribe button.

************** Exception Text **************
System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1<Microsoft.Exchange.WebServices.Data.StreamingSubscription> Microsoft.Exchange.WebServices.Data.StreamingSubscriptionConnection.get_CurrentSubscriptions()'.
at EWSStreamingNotificationSample.FormMain.AddGroupSubscriptions(String sGroup)
at EWSStreamingNotificationSample.FormMain.AddAllSubscriptions()
at EWSStreamingNotificationSample.FormMain.ConnectToSubscriptions()
at EWSStreamingNotificationSample.FormMain.buttonSubscribe_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Dec 2, 2015 at 5:53 AM
i also got same error