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

2023-06-20,,

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

一、程序有可能用了兼容性设置(程序图标-右键-属性-兼容性),兼容性设置里的系统低于WIN 2000。

二、代理问题

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

完整的(微信:SissWxpayClientRequest.exe.config  , 支付宝:AliV2CR.exe.config):

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

三、使用了与请求的协议不兼容的地址

netsh winsock reset, 然后重启,问题解决。

-

遇到 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的解决办法.doc》

下载本文的Word格式文档,以方便收藏与打印。