ASP.NET - Remote name could not be resolved

ASP.NET - Remote name could not be resolved

am 11.04.2008 06:38:00 von ShivaRamani

Iam trying to read a RSS feed (through XmlTextReader) from my application.
The url (ex: "http://www.wipro.com/RSSFeed.xml") is accessible through the
browser but when the same when tried from the asp.net application I get
"The remote name could not be resolved: 'www.wipro.com' "
This happens the same for all the other URLs also.

My browser LAN Settings has "Automatically detect settings" being set. My
authentication on the app is set to Windows Authentication.
Do I need to change/specify anything when trying to access outside url's in
IIS

Re: ASP.NET - Remote name could not be resolved

am 11.04.2008 17:44:43 von pbromberg

It sounds like your LAN has a proxy. The brower is automatically detecting
it. But, .NET isn't as smart - you'll need to set the Globalproxy settings
to the correct settings first.
Peter

"Shiva Ramani" wrote in message
news:8A4F154E-5B99-4EDF-95E0-983154615A26@microsoft.com...
> Iam trying to read a RSS feed (through XmlTextReader) from my application.
> The url (ex: "http://www.wipro.com/RSSFeed.xml") is accessible through the
> browser but when the same when tried from the asp.net application I get
> "The remote name could not be resolved: 'www.wipro.com' "
> This happens the same for all the other URLs also.
>
> My browser LAN Settings has "Automatically detect settings" being set. My
> authentication on the app is set to Windows Authentication.
> Do I need to change/specify anything when trying to access outside url's
> in
> IIS

Re: ASP.NET - Remote name could not be resolved

am 12.04.2008 09:30:00 von ShivaRamani

Can you pls tell me where this could be done ?


"Peter Bromberg [C# MVP]" wrote:

> It sounds like your LAN has a proxy. The brower is automatically detecting
> it. But, .NET isn't as smart - you'll need to set the Globalproxy settings
> to the correct settings first.
> Peter
>
> "Shiva Ramani" wrote in message
> news:8A4F154E-5B99-4EDF-95E0-983154615A26@microsoft.com...
> > Iam trying to read a RSS feed (through XmlTextReader) from my application.
> > The url (ex: "http://www.wipro.com/RSSFeed.xml") is accessible through the
> > browser but when the same when tried from the asp.net application I get
> > "The remote name could not be resolved: 'www.wipro.com' "
> > This happens the same for all the other URLs also.
> >
> > My browser LAN Settings has "Automatically detect settings" being set. My
> > authentication on the app is set to Windows Authentication.
> > Do I need to change/specify anything when trying to access outside url's
> > in
> > IIS
>