Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Sun, 4 Jan 2009 12:55:02 -0700
What baffles me is that IE always seems to bring the page up immediately when I've never pointed the browser there before. On top of that, Mark now indicates that the code seems to work for him.
I'll give some thought to your suggestion of retrying the URL and perhaps run some tests.
Thanks.
Jonathan
"George" <noemail@xxxxxxxxxxx> wrote in message news:utVQDfpbJHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
When browser hits getfreefile.com first it needs to resolve name getfreefile.com to IP address. That is where DNS (domain name server) comes in.
Request is sent to DNS server (that is specified in your TCP/IP settings) and DNS server replies with IP address. After that IE opens up communication line with the server.
To speed this process up IE actually caches IP addresses. So it does not need to hit DNS each time you navigate from page to page on getfreefile.com
Very possible that IE retires to resolve domain if it comes back with an error and it works second time.
And .NET APIs might only do one attempt and then simply throws an error. You might fix it by catching this error and repeating that step let say 3 times and then fail.
George.
"Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx> wrote in message news:egjAZofbJHA.4412@xxxxxxxxxxxxxxxxxxxxxxx"George" <noemail@xxxxxxxxxxx> wrote in message news:eUXWHZfbJHA.5412@xxxxxxxxxxxxxxxxxxxxxxx
When you saying "In general, this works" what do you mean? It works sometimes and sometimes not?
It works for most URLs. I didn't retry the failed URLs but assume they would fail again.
"The remote name could not be resolved: 'www.getfreefile.com'" error indicates at bad DNS server you using for your ox. I had it once. It would sometimes resolve a DNS entry and sometimes it will not. You will need to talk to the admins of the DNS server that is configured in your TCP/IP settings.
What does this mean? This has something to do with *my* settings? If so, why does the file work just fine in IE?
As for 404 error you make sure that you are no loosing case. The URLs you provided are case sensitive (UNIX style). So /HPVB.xml works and /hPVB.xml will not work.
Doh! I'm making them all lower case.
That may have addressed some issues. Unfortunately, I still seemed to be seeing similiar problems though even when I leave the case alone.
Thanks.
Jonathan
.
- References:
- Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- From: Jonathan Wood
- Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- From: George
- Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- Prev by Date: Re: Help me: How to use the "new" keyword to create an object instanc
- Next by Date: Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- Previous by thread: Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- Next by thread: Re: Need Help Polling Files from Other Sites (From an ASP.NET App)
- Index(es):
Relevant Pages
|