服務器提交協議衝突 (The server committed a protocol violation.)

---解決方法 (放在 app.config / web.config)---

1 <system.net>
2     <settings>
3         <httpWebRequest useUnsafeHeaderParsing= "true " />
4     </settings>
5 </system.net>

Ref:

http://mobile.dotblogs.com.tw/larrynung/archive/2012/07/02/73168.aspx

http://www.dotblogs.com.tw/henry/archive/2011/08/29/34635.aspx

posted @ 2014-03-11 14:59  阿練醬  阅读(379)  评论(0编辑  收藏  举报