ASP.NET - Remote name could not be resolved

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
ShivaRamani [ Fr, 11 April 2008 06:38 ] [ ID #1940148 ]

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

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" <ShivaRamani [at] discussions.microsoft.com> wrote in message
news:8A4F154E-5B99-4EDF-95E0-983154615A26 [at] 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
pbromberg [ Fr, 11 April 2008 17:44 ] [ ID #1940202 ]

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

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" <ShivaRamani [at] discussions.microsoft.com> wrote in message
> news:8A4F154E-5B99-4EDF-95E0-983154615A26 [at] 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
>
ShivaRamani [ Sa, 12 April 2008 09:30 ] [ ID #1941094 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » ASP.NET - Remote name could not be resolved

Vorheriges Thema: File upload problem
Nächstes Thema: Need help quoting a project