473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Cannot find page after session timeout

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
1 2404
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Bob | last post by:
I am displaying a form with a datagrid populated from a select of database records which now exceed 12,000 when I select them all. The form displays just fine with all 12,000+ entries but when I...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
2
by: Siegfried Heintze | last post by:
I made the following change to my web.config file (see fragment below) but does not seem to affect the timeout on my web page. I have a huge session state but since I'm the only one using it, I'd...
4
by: UJ | last post by:
I have a page where the user can upload a video file. As you can guess, this may take a while. Is there a way I can change the session timeout for just this one page? I would also want to change...
5
by: Masso | last post by:
Hallo to the group, my question is this: where i have to set timeout in a web application? If i set into sessionState with property Timeout="60", after 20 minutes the session is over. Always...
2
by: Astrix | last post by:
I have been working on session timeout for an application and I got a lot of help from this discussion Board. My Thanks to all of you. For e.g If i have a website which has multiple pages, I...
10
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
I've been on this for a while, and cannot figure it out. Can someone please help with this message? SessionState can only be used when EnableSessionState is set to true, either in a...
0
by: sbhandary | last post by:
Hi, I have an ASP.net page that takes over an hour and sometimes more to execute. After the page has been running for 60 minutes, I get a Page Cannot Be Displayed error. I have set the session...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.