IncomingMessageHeaders error in ASP.NET application

jcenteno1106

New Member
I'm running an ASP.NET application and I get an error on the line below :\[code\]var buffer = OperationContext.Current.IncomingMessageHeaders.GetHeader<byte[]>("securityToken", "http://www.mycompanysite.com/SecurityToken");\[/code\]Here's the error : "There is not a header with name securityToken and namespace http://www.mycompanysite.com/securityToken in the message."This error occurs only in IE9 but not in Chrome or Firefox. I think this has something to do with our IIS 7 config but I can't find out what is wrong. The application pool is set to Integrated mode (in classic mode, it doesn't work on IE nor Chrome/Firefox) and only the Windows Authentication is enabled. I tried multiple combinations but nothing resolves my issue. Can anybody help ? (I'm sorry for the english)
 
Back
Top