Home
> Uncategorized > Configuration files for .NET DLL’s
Configuration files for .NET DLL’s
When performing a HTTP web request against a certain website, I get a protocol violation error. I’ve read that this is caused by a malformed header coming back from the server. (i.e. missing HTTP status tag).
I managed to fix this in asp.net code by affing useUnsafeHeaderParsing=true in the web.config, but how do I do this in a dll. there’s no such thing as a .dll.config?
Well, I did find a work around for the protocol violation, by installing VS 2003, .NET 1.1, added an app.config file to the project with useUnsafeHeaderParsing set.
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback