如果用户使用了代理,在登陆后台或生成静态时候会报错:Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section.
解决办法就是去掉代理,或者通过修改web.config让程序不用代理。
用计事本打开web.config文件,在</configuration>前面加上下面这段配置即可:
<system.net>
<defaultProxy>
<proxy usesystemdefault="False" />
</defaultProxy>
</system.net>