Last post Jan 15, 2009 05:47 PM by sftbldrk22
Jul 06, 2007 09:08 PM|wesleymichel|LINK
I implemented updatepanel and a timer control in my web page.
And now in my web application, this error message occurs with "Sys.WebForms.PageRequestManagerServerErrorException: An unkown error occurred while processing the request on the server. The status code returned from the server was: 12031"
Someone has an idea ?
Jul 06, 2007 10:33 PM|KaziManzurRashid|LINK
Would you pls post the codes.
Jul 07, 2007 01:31 AM|wesleymichel|LINK
You can find the code below :
Jul 11, 2007 09:09 AM|Jonathan Shen – MSFT|LINK
I have copied your code into a blank project and it works quiet well. So we should focus on your C# code and System environment.Please first check your Asp.Net Ajax Extension and Ajax ControlToolkit (if been used) ' s version. Update to the latest.If not,
you should check your settings such as web.config and your C# code.
By the way , based on the error description, it looks mostly like some setting errors.
The connection with the server has been reset.
If your problem cannot been resolved , please share more code. If been resolved , sharing your work will be greatly appreciated.
Jul 12, 2007 04:48 AM|ferrariowner|LINK
i have the same problem.When i launch my application in vs sourcafe 2005,i come accross with this problem.when i open a ajaxenabledweb site solution in my local machine and launch it with the same codes,this problem doesnt occur.i copied my project's web
config to anoter project(ajax enabled web site) which works,this problem doesnt occur too.i use latest Asp.Net ajax extension.Please help
Aug 30, 2007 01:38 PM|hardikpatel|LINK
Hi i have same problem in my website..
In my code some data is fatched from one table with randomly selected row and bind it with label on page ..i use ajax and timer control.i set tick value about 3 second.
so after every 3 second page is posted back and another randomly selected row is fatched and bind with label....binding data is about 2-3 lines means about 200 character..
but i dont get this error (12031) suddenly but after 20-30 minute .
so give me some suggestion about this.....Thanks
Oct 08, 2007 03:37 AM|adamrogas|LINK
have you checked the size of the view state using fiddler or something like fiddler.
We have seen this error when attempting to make large posts, I am wondering if over time your view state is growing on each timer post back, and eventually it is getting too large for the servers request size limit.
Oct 08, 2007 08:24 AM|Luis Abreu|LINK
is there any "live" simple page that reproduces the error? if so, what's the url so that we can load it and see if we can understand what's going on?
Mar 18, 2008 03:22 PM|danroberts|LINK
I'm getting this same error code with a basic Update panel, Update Progress, CollapsiblePanelExtender and a Gridview on a single page.
The data is a little large and when the data comes back All I have to do is hit any control on the page (in this case a checkbox) and I get the popup
with error code 12031.
If anyone has a solution i'm all ears...
May 12, 2008 01:57 PM|FreshFrince|LINK
So far it looks like a lot of people are encountering the same problem, but no one has a reasonable answer. I too have encountered the problem (12031). Let me give a little bit of backround:
I have a page with a few update panels and lot's of data. The largest portion of data is approx 2500 rows. The customer can configure the grid to display 10, 20, 50, 100, All rows. My customer has insisted on the option of displaying all data. If I test
with displaying only 100 rows at a time, then I do not encounter the problem.
I don't think the issue is database performance; I've tested the database portion and all of the data comes back in less than 5 seconds. In fact, all paging is handled in the middle tier. That is, we retrieve all of the data (all 2500 rows) and cache it
in the middle tier and use LinqDataSources to handle the paging. What this means is that regardless of the size of the page, all of the data is retrieved from the database up front.
I believe the issue is displaying all of that data on the screen. I don't think it is a performance problem. All of the data is displayed on the screen as expected, so, it appears there is no time out. I believe an earlier comment about viewstate may
be the best explanation. I have check boxes, cascading drop-downs and buttons that all are handled within the context of update panels. If I click on any of them when all 2500 rows are displayed, then I get the 12031 error almost immediately.
Here is a full scenario:
1) (~15 sec) Because of default selection criteria, the page opens with no rows displayed. However, all 2500 rows are cached from the database at this time.
(all button clicks, updates work without error)
2) (~3 sec) Change selection criteria to include all data. However, paging is set to 100, so only 100 items are displayed on the page.
(all button clicks, updates work without error)
3) (~5 sec) User configures paging to show all rows (paging off). Now all rows are displayed.
(all button clicks, updates display the 12031 error immediately)
My code is too bulky and sensitive to share.
As suggested in an earlier post, I need to verify my versions of the Ajax extensions and Toolkit (though, I am not confident that this will help). By the way, I am on VS-2008 and the 3.5 framework.
Nov 18, 2008 11:04 AM|thyagosantos|LINK
I solved this problem of the error 12031 came from a
UPDATEPANEL. replacing a Server.Transfer () of
previous page by a Response.Redirect (url, false);
Jan 02, 2009 03:05 PM|kinosabi|LINK
I found this to be true also, except in some cases, Response.Redirect(url,true) is required with the grid.
Jan 06, 2009 04:41 PM|kvasanthkumar|LINK
How did the Response.Redirect really help ?
Could you please post the code with detail ?
Jan 15, 2009 05:47 PM|sftbldrk22|LINK
I am getting this error as well, but I am using Response.Redirect anytime I redirect to a new page. I am using quite a bit of AJAX as well as others I have read about here. I do not have a true or a false parameter in my response redirects, but some are
saying that they are true some places and false in others based on grids. What does the true and false parameter really do? All I do is tell it what page to redirect to.