尝试连接到博客时出错:
网络链接错误-尝试连接到以下博客时出错:
The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
必须纠正此错误才能继续操作
尝试连接到博客时出错:
主要意思是微软不能容忍不符合RFC 822中的httpHeader必须以CRLF结束的规定的服务器响应,说白了还是服务器有问题。解决方法如下(转自D&V):
打开Live Writer的安装目录 如C:Program FilesWindows Live Writer,找到WindowsLiveWriter.exe.config文件,在</configuration>之前加上:
1: <system.net>
2: <settings>
3: <httpWebRequest useUnsafeHeaderParsing="true"/>
4: </settings>
5: </system.net>
重新启动Writer即可
-------------------------------------------------------------------------------------------------------------------------
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing PrivatePath="Plugins"/>
<dependentAssembly>
<assemblyIdentity
name="WindowsLive.Writer.Api"
publicKeyToken="31BF3856AD364E35" />
<bindingRedirect oldVersion="1.0.0.0"
newVersion="1.1.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing="true" />
</settings>
</system.net>
</configuration>
文章评论