Problem accessing the Internet from a web part
-
16 mai 2012 09:18
Hi I have a problem accessing the Internet from a couple of web parts. I think it is being blocked by our company firewall.
I have read that you can change the web.config but this seems extreme. Is there another way of enabling the Internet access? Specifying a proxy or something?
Toate mesajele
-
16 mai 2012 10:27
You can set up your request to use a proxy.
Scot
Author, Professional Business Connectivity Services
Author, Inside SharePoint 2010 Blog, www.shillier.com
Twitter, @ScotHillier
SharePoint Trainer, Critical Path Training -
16 mai 2012 12:47
Is there not a way around it Scot?
What I mean is without writing code
-
16 mai 2012 14:36
I have found that the Dilbert is sourced from a Universal Data Connection File I think, with it being a Data Connection library.
I just cannot find where the link is set.
-
16 mai 2012 16:55
This forum section is for programming/code solutions to sharepoint problems. If that's not an option I would suggest using one of the other SharePoint sub-forums.Is there not a way around it Scot?
What I mean is without writing code
-
16 mai 2012 20:10
Hi Dan,
If you suspect the content for your web part is being "blocked" by your firewall, then you'll need to speak to the administrators of your firewall to ensure the content is being allowed through. You are correct with your other statement, the way SharePoint becomes "Proxy aware" is by letting it know in the web.config for your web application that your network is using a proxy. You can add the code below to enable this.
<system.net> <defaultProxy> <proxy autoDetect="true" proxyaddress="add your proxy ip or FQDN" bypassonlocal="true" /> </defaultProxy> </system.net>
Paul Turner http://redmanta.co.uk/blog Twitter: @RedMantaUK MCTS:WSS,MOSS,2010 MCITP:2010.
Please remember to click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.- Marcat ca răspuns de Qiao WeiMicrosoft Contingent Staff, Moderator 25 mai 2012 09:30