The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF

打开表单偶尔会出现这个提示,解决方法:

web.config增加配置:

 

<configuration> 
    <system.net> 
        <settings> 
            <httpWebRequest useUnsafeHeaderParsing="true" /> 
        </settings> 
    </system.net> 
</configuration>

 

posted @ 2016-10-25 09:48  大侠的哥哥是菜鸟  阅读(633)  评论(0编辑  收藏  举报