Windows Live Writer 配置报407 Proxy Authentication Required错误

简介: 在Windows 7 专业版上面安装Windows Live Writer后(版本号:14.0.8117.416),配置博客服务过程中报错(如下图所示)       错误信息为:407 Proxy Authentication Required(The ISA Server requires authorization to fullfill the request.

在Windows 7 专业版上面安装Windows Live Writer后(版本号:14.0.8117.416),配置博客服务过程中报错(如下图所示)

clipboard

 

 

 

错误信息为:407 Proxy Authentication Required(The ISA Server requires authorization to fullfill the request. Access to the Web Proxy filter is denied)

刚开始我怀疑是博客园的http://www.cnblogs.com/kerrycode/services/metaweblog.aspx服务认证问题,结果我在IE输入上面URL时,可以访问服务,后来在Google搜索了下,终于发现了问题的症结所在:由于机器使用Windows身份验证协议,Windows Live Writer无法连接到博客,因此当我们设置博客的服务时,就会报上述错误。解决方法如下所示:

步骤1:首先找到你的Live Writer的安装目录,我的安装目录为:C:\Program Files (x86)\Windows Live ,然后找到Writer目录下的文件“WindowsLiveWriter.exe.config”

<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>

</configuration>

步骤二:在WindowsLiveWriter.exe.config里面加上下面信息:

    <system.net>

         <defaultProxy enabled="true" useDefaultCredentials="true">    </defaultProxy>

     </system.net>

如下所示:

<configuration>

     <system.net>

         <defaultProxy enabled="true" useDefaultCredentials="true">    </defaultProxy>

     </system.net>

     <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>

</configuration>

步骤3:重新启动Windows Live Writer,然后配置博客,问题解决。

参考资料:

http://www.zayblog.com/computer-and-it/2011/08/20/how-to-use-windows-live-writer-behind-authenticated-proxy/

相关文章
|
Windows Web App开发
Windows Live Writer插入代码vs2010插件
网络上的许多插件都不错,我比较看好vsPaste,可惜很久没更新了,在vs2010中复制代码的时候,会出现中文乱码的情况。据说是vs2010的BUG。     本插件修改自vsPaste,作者的网站无法打开,无法联系作者,抱歉!     主要修改如下:     1,修正从vs2010复...
750 0
|
监控 Windows
Windows Live Writer的使用
帮助地址在这里:space.cnblogs.com/forum/topic/8550/ 博客园支持SyntaxHighlighter代码着色,可以用相应的Live Writer代码着色插件进行代码着色。
909 0