JIT The server committed a protocol violation

Last post 02-02-2007, 9:18 AM by Austech. 4 replies.
Sort Posts: Previous Next
  •  02-02-2007, 4:14 AM 26366

    JIT The server committed a protocol violation

    Please help.  I have tried everything I have found in the forum posts relating to JIT Errors and can not resolve this issue.
     
    I have pointed the web service url as it states in the deployment doc.  and when I try to log in I get
     
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Net.WebException: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
       at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at CuteSoft.Chat.WinClient.ChatWebService.SupportLogin(String username, String password)
       at LiveSupport.LoginForm.button1_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     
  •  02-02-2007, 8:32 AM 26374 in reply to 26366

    Re: JIT The server committed a protocol violation

    Austech,
     
    Try set the following section in the web.config file:
    ==========
    <system.net>
    <settings>
    <httpWebRequest useUnsafeHeaderParsing="true" />
    </settings>
    </system.net>
    ==========
     
    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-02-2007, 8:51 AM 26376 in reply to 26374

    Re: JIT The server committed a protocol violation

    I tried it and it did not work.  I added it to my web root webconfig and the cutesoft webconfig and  I am still getting the same error.   Any other ideas?
  •  02-02-2007, 9:02 AM 26377 in reply to 26376

    Re: JIT The server committed a protocol violation

  •  02-02-2007, 9:18 AM 26378 in reply to 26377

    Re: JIT The server committed a protocol violation

    Thank you, Thank you, Thank you..
    What I needed to do was to add this to the client not to my webserver.
      I put the
    <system.net>
    <settings>
    <httpWebRequest useUnsafeHeaderParsing="true" />
    </settings>
    </system.net>
     
    in the configuration section of the support.exe config file in the clent and it worked like a charm. 
     
    I wish I asked you for help 4 hours ago.
     
     
     
View as RSS news feed in XML