Protocol Violation error. Header name is invalidProtocol Violation error. Header name is invalid
Old forum URL: forums.lhotka.net/forums/t/4228.aspx
Rayk posted on Thursday, January 24, 2008
The full error message is:
>>>>
Unhandled exception.... blah blah
The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid
<<<<
This is occuring at one of my clients. The application is using CSLA 2.0.
My guess is that a proxy server is messing with my requests, but I can't confirm.
Anybody seen this error?
Thanks,
Ray
Rayk replied on Thursday, January 24, 2008
To further clarify, many other clients at other companies are not having a problem. I even have a few using Proxy Servers, and I had to change the GetPortal() code as below:
wsvc.Proxy = WebRequest.DefaultWebProxy;
wsvc.Proxy.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
This solved my security problem. But now I have a new problem.
Thanks again,
Ray
Rayk replied on Thursday, January 24, 2008
Another clarification, it is CSLA 2.1.1.
Thanks,
Ray
Copyright (c) Marimer LLC