Deperplexing WCF errors pt. 1 - CommunicationObjectAbortedException for security mismatch

Tags: .NET, WCF, WinFX, WinFX January CTP

As a follow-up to this post: another reason why we get CommunicationObjectAbortedExceptions is because our client channel definition does not send any credentials (using a binding that has the SecurityMode set to None) while the service is still set to the default settings, expecting Windows authentication. Rather than throwing some sort of SecurityException, the exception is raised.
Just a heads up.

No Comments