I have changed the web.config file as suggested.
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
I still get “The server committed a protocol violation.
Section=ResponseStatusLine”. I only get the error when I POST 3 times
in session. The first Post is good, the second or third will fail
with the protocol error. Only one of the two will fail, it is not
consistent. If I pause between POST (break point) all three
function.
Help?
On Dec 29 2009, 9:53 am, Peter Smith <psmith.w...@gmail.com> wrote:
> Odd you should send the list your follow--up, but not the original, here (I
> can't find any previous posts by you on the list)
>
> Solution? Put in a pause after your POST. :)
>
> Or, Check out:
>
> http://www.velocityreviews.com/forums/t302174-why-do-i-get-the-server...
>
> http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/db05...
>
> http://www.cookcomputing.com/blog/archives/000556.html
>
> http://www.checkbox.com/kb/articles/kb-1058-protocol_violation_error_...
>
> For ideas.
instead of dim request webrequest use dim request httpwebrequest...
add request.keepalive = false
-----------------------------------------------------------------------------------------------------
On Dec 29 2009, 9:53 am, Peter Smith <psmith.w...@gmail.com> wrote:
> Odd you should send the list your follow--up, but not the original, here (I
> can't find any previous posts by you on the list)
>
> Solution? Put in a pause after your POST. :)
>
> Or, Check out:
>