Outlook Send/Receive Error 0x80040115

While traveling I could not get Outlook on my laptop to send/receive any emails.  The Outlook status bar would say Disconnected and checking the Outlook Send/Receive Progress Errors would show “Task ‘Microsoft Exchange Server’ reported error (0x80040115) : ‘The connection to the Microsoft Exchange Server is unavailable. Outlook must be online or connected to complete […]

OOP with WCF: Decorate DataContract with [KnownType(typeof(aType))]

WCF makes heavy use of reflection.  In order to support object inheritance one needs to help WCF by decorating DataContract with [KnownType(typeof(aType))] so the service reference will include the proper information.  Below is a quick example: The below data contract for an Animal also includes the known types of Cat and Dog: [DataContract] [KnownType(typeof(Cat))] [KnownType(typeof(Dog))] […]