当公司网络设置代理时怎样在sharepoint2007中用RSS访问外网?

We will need to set this in your web.config file for the web application. There are a couple different things you can try depending on your configuration.

Open the web.config for your web application in notepad

At the bottom of the web.config and immediately after </appSettings> and before </configuration> add the following where the proxy server and port.

<system.net>
<defaultProxy>
<proxy proxyaddress="http://proxy:80" bypassonlocal = "true"/>
</defaultProxy>
</system.net>

Other possible settings depending on your configuration would be:

<defaultProxy>
<proxy usesystemdefault="true" />
</defaultProxy>

OR
<defaultProxy>
<proxy autoDetect="true" />
</defaultProxy>

Another option that worked for me that did not require a web.conifg change was to log into the server as the service account SharePoint is running as and specify the proxy settings for that account. After that the ASP.NET 2.0 autodetection will pick it up and use it

posted on 2006-11-15 20:07  尹智玲  阅读(292)  评论(0)    收藏  举报

导航