View Full Version : Cannot find server or DNS Error PLEASE HELP!
tomasz
2003-10-10, 11:10 AM
Hi,
I have site build ith ASP.NET and I am getting from time to time "Cannot find server or DNS Error".
I've noticed it usally happens when i am on slow network dial up or something like this.
It does not happens when I am browsing with my cable modem.
My DNS is stored with my registar. Please HELP!
Originally posted by tomasz
Hi,
I have site build ith ASP.NET and I am getting from time to time "Cannot find server or DNS Error".
I've noticed it usally happens when i am on slow network dial up or something like this.
It does not happens when I am browsing with my cable modem.
My DNS is stored with my registar. Please HELP!
Are you getting this error when you just attempt to view a page or when you are trying to upload files?
charlie
2003-10-10, 11:58 AM
You'll need to provide more details.
You are getting that error from where? Somewhere on the net trying to http to your asp.net built site?
What does your application do?
What program is giving you that error? Is it the browser?
That error can occur from IE when a web site not only is unavailable, but also because there is a maximum timeout value that the browser tries after that it gives you that error, when in fact it just needs more time to retrieve the page. For instance, if you go to a site and it's sending data to your browser that takes 2 minutes, it'll still work. But if you connect to some page that executes a command but doesn't spit anything back out to the browser, it will time out because the browser sent a request and it's sitting there waiting for a reply, after a while it considers that the site went down and times out.
tpaulaskas
2003-10-10, 12:42 PM
Originally posted by tomasz
Hi,
I have site build ith ASP.NET and I am getting from time to time "Cannot find server or DNS Error".
I've noticed it usally happens when i am on slow network dial up or something like this.
It does not happens when I am browsing with my cable modem.
My DNS is stored with my registar. Please HELP!
Have you done the usual trouble-shooting steps:
Ping the name
Ping the IP
Do a trace route
Telnet to the IP on port 80
Does your ASP.NET application connect to another site, could the error be coming for that?
You need to isolate the problem before you can fix it.
tomasz
2003-10-10, 13:37 PM
Initial page loads fine, error occurs on the post back and loads error page in split of the second. Usally if there is true DNS error it takes few seconds to load the page.
This page has just couple grids and detail panels. This usally happens when I try to go to view detail.
http://www.autotradezone.com/ do search, it will take you to search_autos.aspx
thanks
tpaulaskas
2003-10-10, 14:03 PM
Unfortunately I do not have a dial-up account and I too am able to get the detail to show up, though there are no Acura TSX's in my zipcode. :(
I am just going to think outload and maybe it will spark an idea:
ViewState could be too large - but shouldn't matter.
URLScan is intercepting it - but why.
ASP.NET page has error
I must admit I am befuddled at this one. What would cause that response at low bandwidth?
Can you modify the page to record if the browser hits it before returning the 404 page? This way you would know if it is the browser going bonkers or a server/browser interaction causing the problem.
Originally posted by tomasz
Initial page loads fine, error occurs on the post back and loads error page in split of the second. Usally if there is true DNS error it takes few seconds to load the page.
This page has just couple grids and detail panels. This usally happens when I try to go to view detail.
http://www.autotradezone.com/ do search, it will take you to search_autos.aspx
thanks
One of your hidden form fields (__VIEWSTATE) has a 5Kbyte value. Every time you click on one of your form links, your browser has to upload 5Kbytes of data to your server. This could cause problems (time outs) on a slow link.
tomasz
2003-10-10, 15:28 PM
I think the problem is related to the size of ViewState of aspx page. I tested other pages and seems that pages with rather large ViewState are giving me problem. Are there settings in Webconfig I can enter to make sure page loads properly with large ViewState?
Originally posted by knightfoo
You may want to consider changing what is stored in the ViewState variable, or change the storage method. Is it really necessary to be that large? You can store a LOT of information with 5KB of storage space.
-knightfoo
tomasz
2003-10-11, 06:41 AM
ViewState is created by ASP.Net engine the only one think I can do is to break existing page into smaller pages.
Like, tpaulaskas said size should not matter, page stll should load. It is wiered one.
It is managed by ASP.NET, but you can limit the size. If your grids are being repopulated each time you do a search, then try turning off the view state for them. You can also turn off view state for the entire page, if you're not using it.
tomasz
2003-10-21, 11:21 AM
Josh,
thanks for sugestion, but unfortunatly I can not disable ViewState. I have ticket opened with Microsoft and they tabled it as a BUG. I will post resosution as soon will know something
tom
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.