p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5

Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 13th, 2006, 11:28 AM
Authorized User
Points: 247, Level: 4
Points: 247, Level: 4 Points: 247, Level: 4 Points: 247, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: PASADENA, CALIFORNIA, USA.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default drop down with large data on postback gives error

hai everyone

      i havnt got any solution to the previous blog and in mean time i have found a high priority bug which gives error.

      when i operate any click event in the page that contains a dropdown which is binded with large data then it gives error message stating maximum request length exceeded i dont understand the problem.

       can anyone help me what kind of problem it is whether coding problem or sql problem or browser problem

thanks in advance

__________________
Regards,
P.Madhusudhana Rao
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old March 13th, 2006, 04:14 PM
Friend of Wrox
Points: 4,166, Level: 27
Points: 4,166, Level: 27 Points: 4,166, Level: 27 Points: 4,166, Level: 27
Activity: 12%
Activity: 12% Activity: 12% Activity: 12%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,328
Thanks: 0
Thanked 1 Time in 1 Post
Default

most likly a timeout on the sql server.  You really shouldn't pull large amounts of data into a dropdownlist anyway. Restrict the # of rows retrieved.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old March 13th, 2006, 04:50 PM
Friend of Wrox
Points: 1,890, Level: 17
Points: 1,890, Level: 17 Points: 1,890, Level: 17 Points: 1,890, Level: 17
Activity: 7%
Activity: 7% Activity: 7% Activity: 7%
 
Join Date: Jul 2003
Location: , , .
Posts: 559
Thanks: 6
Thanked 1 Time in 1 Post
Default

I had the same error myself. Except, it wasn't the drop-downs that were large. The drop-downs contained filter values for what could be large queries on the page.

I put
Code:
enableviewstate=False
on all of the controls on the page and it solved the error.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old March 14th, 2006, 12:48 AM
Authorized User
Points: 247, Level: 4
Points: 247, Level: 4 Points: 247, Level: 4 Points: 247, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: PASADENA, CALIFORNIA, USA.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hai,
   
  jbenson001,rstelma
 
  A close thanks to u for giving me a good solution.I have another dought which i think can be clarified by you as the previous one.i need to speed up the UI which takes atleast 10 minutes to get loaded.
but i dont have anyproblem with the query, it is executing fastly.my page has a datagrid which contains the dropdown and page size is 10 so for filling all the rows with the dropdown where each dropdown contains nearly 50000 values. probably it is taking time,but the query executes fast so i need to trace in which part it is slowing down and suggest me a solution that i can come out of it

thank you
have a nice day.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old March 14th, 2006, 12:52 AM
Friend of Wrox
Points: 4,166, Level: 27
Points: 4,166, Level: 27 Points: 4,166, Level: 27 Points: 4,166, Level: 27
Activity: 12%
Activity: 12% Activity: 12% Activity: 12%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,328
Thanks: 0
Thanked 1 Time in 1 Post
Default

Glad to help

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #6 (permalink)  
Old March 16th, 2006, 02:55 AM
Authorized User
Points: 247, Level: 4
Points: 247, Level: 4 Points: 247, Level: 4 Points: 247, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: PASADENA, CALIFORNIA, USA.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank u very much

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal report binding with large data set, error lankark Crystal Reports 0 April 3rd, 2008 10:16 AM
postback issue with drop downlists emachines ADO.NET 3 March 26th, 2005 01:36 PM
postback issue with drop downlists with javascript emachines Javascript 3 January 24th, 2005 06:54 AM
postback issue with drop downlists emachines General .NET 1 January 9th, 2005 09:42 PM
postback issue with drop downlists with javascript emachines Javascript How-To 1 January 6th, 2005 01:49 PM



All times are GMT -4. The time now is 06:38 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc