Groups > Web Hosting > Web Hosting with IIS and ASP dotNET > Re: Blank Screen




Blank Screen

Blank Screen
Tue, 19 Feb 2008 05:57:02 +000
While processing a large amount of data on my localhost the application stops
half way through processing and displays a page not found error message or a
blank screen. 

I know it stops half way through processing because it does not get to the end
breakpoints 

What could be causing this? 

Has anyone got any ideas on how to determine what is causing this? 

My initial thoughts was the connection timeout setting in IIS however this is
the time a connection has to be idle before it is disconnected. I would have
thought if my server side code is still running then it is not idle. Also the
connection timeout is set to 900 seconds (15 minutes) and it takes over half an
hour for the page not found error to show. 

I know there is a max request limit, is there such a thing as a max response
limit? 

Any help (links, debugging methods, documents and or past experience) would be
appreciated.
Post Reply
Re: Blank Screen
Tue, 19 Feb 2008 06:35:06 +000
Hi,

1. Have you run a debug if your connection is connecting to the server
properly?

2. If it is, how about checking your DataSet or DataTable if there are Data
inside?

Actually there is a lot of possibilities. Since you didn't specify any code, the
best thing that you can do is to debug it from the beginning where you load your
page.

Let me know if you need more details...

Cheers
Post Reply
Re: Blank Screen
Tue, 19 Feb 2008 08:36:58 +000
Sorry maybe i didnt make it clear enough

While debugging I get past connecting to the database and start processing alot
of records, "I know it stops half way through processing because it does
not get to the end breakpoints".

Its more a time out issue or a performance issue.
Post Reply
Re: Blank Screen
Tue, 19 Feb 2008 09:00:39 +000
i m not sure but try to enlarge ur maxmessage recieved size in ur web.cofig
while binding also increase close time recieve time send time n open time

closeTimeout="00:03:00"

openTimeout="00:03:00"receiveTimeout="00:10:00"sendTimeout=&
quot;00:03:00" maxReceivedMessageSize="524288"

hope this helps

sam
Post Reply
Re: Blank Screen
Tue, 19 Feb 2008 09:08:34 +000
While working on a previous project with my company, i encounter similar
problem. One of the main reason on my side is loading huge records from database
into GridView. 

I suggest you try playing with the data by querying few number of records first
using something like TOP 10 in your query and display it on any grid you want.
In that way you are making it sure that it goes through.

If everything works well, you can try use paging to minimize number of records
display at a time, it will load.

This are only my suggestion, but maybe others will have more idea in dealing
with very huge number of records.

Cheers..
Post Reply
about | contact