Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Cannot find page after session timeout

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PipScouser - 15 Jul 2005 18:00 GMT
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
WJ - 15 Jul 2005 20:16 GMT
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.