Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

XMLWebPart

  Asked By: Franklin    Date: Jul 12    Category: Sharepoint    Views: 567

can u help me out with this. I got the Reqest timed out error so, i have
specified the proxy settings in the web.config, and the site settings. but then
i got the following error.

Cannot retrieve the URL specified in the XML Link property. For more assistance,
contact your site administrator.

anyone know what the problem is?

Share: 

 

7 Answers Found

 
Answer #1    Answered By: Jay Ruiz     Answered On: Jul 12

could you send me the conclusions? I have this exact same issue and have posed it to this forum before and no one ever responded. In fact, I brought this up at the recent Wash D.C. Sharepoint Summit and it seems to be stumping even the best!

 
Answer #2    Answered By: Graham Ingram     Answered On: Jul 12

i am working on a solution that says that you need to provide proxy
authentication. once i check on this i'll confirm. if you make any headway in
this please let me know.

 
Answer #3    Answered By: Donte Jefferson     Answered On: Jul 12

I don't have a proxy  server to test out your situation. Does that problem  go
away when you are not using a proxy server? If so, you probably need to
enable Basic authentication in the IIS Web Site. Just a thought.

 
Answer #4    Answered By: Beau Pena     Answered On: Jul 12

i found a way to bypass the proxy  authentication error. i wrote my own webpart.
The webpart is very basic only has the renderwebpart am working on improving it
by providing properties rather than hardcoding the username, password,
proxyaddress, etc.

and this works.....;-)))

protected override void RenderWebPart(HtmlTextWriter output)

{

try

{

string userName = <username>;

string password = <password>;

string proxyAddress = <proxyAddress:port>;

WebProxy myProxy = new WebProxy();

Uri newUri=new Uri(proxyAddress);

myProxy.Address=newUri;

myProxy.Credentials=new NetworkCredential(userName,password);

WebRequest objRequest = WebRequest.Create("<rss URL>");

objRequest.Proxy = myProxy;

WebResponse objResponse = objRequest.GetResponse();

XmlDocument feedXML = new XmlDocument();

feedXML.CreateElement("XML");

StreamReader sr = new StreamReader(objResponse.GetResponseStream());

feedXML.Load(sr);

XslTransform trans = new XslTransform ( );

trans.Load ( "<xslt file>" );

trans.Transform(feedXML,null, output, null);

}

catch (XmlException err)

{

//error handling

}

 
Answer #5    Answered By: Isaiah Santiago     Answered On: Jul 12

for those who are interested I have developed a RSS feed webpart which solves
the proxy  authentication problem

i am attachIng the cab file do use it and tell if it solves ur problems. it
takes as properties, the rss feed url, the xslt file path, username, password
and the proxy address.

 
Answer #6    Answered By: Robert Wilson     Answered On: Jul 12

How exceptionally unfortunate that we have an out of the box web  part and no one can figure out how to run it.

 
Answer #7    Answered By: Chase Wagner     Answered On: Jul 12

I think we should look at the identity of the Application Pool controling the
sharepoint application. cos. i tried to access rss feed from a web  app, win app
and a webpart just to see what errors each one is throwing at me. the
underlying the problem  is proxy  authentication. One error  told me that Network
Service is not authorised to do this action. so I came to the conclusion that
it was not taking my login. i am sort of tied up in another work. if u have
time do look at this angle and let me know in case u find something.

 
Didn't find what you were looking for? Find more on XMLWebPart Or get search suggestion and latest updates.




Tagged: