Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 8th, 2009, 12:01 PM
Authorized User
 
Join Date: Mar 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Gridview with 6000 records gives Server Error

I have a gridview with close to 6000 rows. The page will load and display all 6000 rows, but if I try to filter the data, or save the data I get an error and the page says Internet Explorer cannot display the web page.

If I reduce the records from 6000 to 1300 I do not get any errors and can filter/update/save without issue.

I do not think it is a timeout issue, but have added the following to my aspx page:

Code:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>GridView Table</title>
    <link rel="stylesheet" href="/library/css/MyCSSFile.css" type="text/css" />
</head>

<%  Server.ScriptTimeout = 180%>

<script type="text/javascript"> 
...
</script>
But do not think that the script is timing out.

The query bound to the gridview does not have any parameters as it is simply a data dump of the table.

Using Fiddler it shows an error, with the result of 500, but the body is 0. When I try to open the error, Fiddler just hangs and stops responding.

Any thoughts on how I can find what the issue is, and/or prevent it from happening?

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Export ALL records from GridView into Excel or CSV kevorkian ASP.NET 2.0 Basics 7 June 17th, 2008 01:28 PM
Gridview number of records display jodojan ASP.NET 2.0 Basics 3 April 14th, 2007 05:29 AM
GridView Error potato ASP.NET 2.0 Basics 0 April 8th, 2007 10:27 AM
Filtering GridView Records Using a Query String Yubmat BOOK: Beginning ASP.NET 2.0 and Databases 5 November 1st, 2006 09:03 PM
Binding Gridview with variable number of records KamalRaturi ASP.NET 2.0 Professional 2 August 26th, 2006 02:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.