423,850 Members | 1,069 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,850 IT Pros & Developers. It's quick & easy.

Cannot find page after session timeout

P: n/a
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

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
WJ

"PipScouser" <ph********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
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

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.