Cannot find page after session timeout

P

PipScouser

Hi,

Most times, but not always, after my session times out (default 20
mins) if a user clicks on any control that necessitates a code-behind
call, I get the 'Cannot find Server or DNS Error' white page. This
also infrequently happens within the 20 minute timeout period.

This isn't happening because anyone is recompiling the code and,
therefore, restarting the worker process becuase the \bin folder has
changed. I'm using .NET Framework 1.1 so the bug from 1 shouldn't be
affecting the code. I'm writing in VB.NET.

My asp.net application has a response.redirect("myStartPage.aspx") in
the session_start in global.asax.

I'm using InProc session, have around 10-15 Intranet users and use
Application and Session objects to store a number of different data
objects (datatables, hashtables) and variables for between page
postbacks and between page navigation.

I've never seen (in Task Manager) apsnet_wp.exe load more than around
500 meg of memory on a server that has 4 gig.

Any ideas would be greatly appreciated.

Thanks,

Phil
 
W

WJ

PipScouser said:
Hi,

call, I get the 'Cannot find Server or DNS Error' white page.

DNS server not found error can be caused by 1. your "network", especially if
your page interfaces with other website and that your page expects a
response from the called website. And it likely happens if your website is
also proxied. 2. You allow large files for upload, normally 10MB or less
will be OK. I got timed out even when uploaded a 9MB PDF, I had to adjust
the maxinum size in Machine.config.
This isn't happening because anyone is recompiling the code and,

I never experience iis recyles my app.. I once tried to publish the entire
site to production IIS while peoples were on it and nobody complained.

My asp.net application has a response.redirect("myStartPage.aspx") in
the session_start in global.asax.

Do you have to do this ? Take it out to see if the symptom goes away.
I'm using InProc session, have around 10-15 Intranet users and use
Application and Session objects to store a number of different data
objects (datatables, hashtables)

How big are they ? thousand of records ? "InProc", even if you have plenty
of RAM (4GB in your case), can fill up very quick if you donot control the
"datatables" such as #of records read.

In short, DNS is 99% network related. Network guys may have some sayings to
this.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,844
Latest member
JudyGvh32

Latest Threads

Top