首页 > 代码库 > 遇到 Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section的解决办法

遇到 Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section的解决办法

用记事本编辑*.EXE.config,在“<system.net>”节点加入
<defaultProxy>
<proxy usesystemdefault="False" />
</defaultProxy>

完整的:

<?xml version="1.0"?><configuration>  <system.net>    <settings>      <httpWebRequest useUnsafeHeaderParsing="true"/>    </settings>    <defaultProxy>        <proxy usesystemdefault="False" />    </defaultProxy>  </system.net>  <startup useLegacyV2RuntimeActivationPolicy="true">    <supportedRuntime version="v2.0.50727"/>    <supportedRuntime version="v4.0"/>  </startup></configuration>

-

遇到 Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section的解决办法