Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 20, 2010 09:16 AM by anbu26
Oct 31, 2006 03:19 PM|LINK
We seem to intermittently get a PageRequestManagerServerErrorException with the error code 12029, could someone explain that error code or point to documentation ? This happens on about 1 / 40 requests and the page is nothing special, just a datagrid inside
an updatepanel and with a custom progressbar which is just a div with an animated gif that appears on beginRequest and hides on endRequest.
Nov 03, 2006 07:46 PM|LINK
Nov 04, 2006 12:58 AM|LINK
Is this on a form that requires the user to be logged in..it may be could not authenticate error.... If you use fiddler and attach to it - it will actually give you the real error message on why it was aborted...if you do the digging...The SCM traps and
surpresses alot of the serverside errors (in my opinion)... so when a session expires...unfortunately the ajax error codes do not map to IIS error codes...
Nov 05, 2006 12:43 PM|LINK
I get the same ...
Have a ticker-tape-liek page that updates every 5 seconds .. eventually, teh session expires on teh authenticated page and I get this nasty message.
Have a ticker-tape-liek page that updates every 5 seconds .. eventually, the session expires on teh authenticated page and I get this nasty message.
Nov 05, 2006 02:58 PM|LINK
Nov 05, 2006 10:54 PM|LINK
Two solutions for you:
1. One change your web.config to allow for longer sessions - by default I think .Net 2.0 the timeout is 10 minutes (in 1.1 it was 15)
<forms loginUrl="Users_Login.aspx" timeout="555555555"/>
2. If that is an issue - create a IFRAME that loads a blank .aspx page that has the meta tag refresh to like every 10 minutes or something - and embedded it at the bottom of the page and merely add the style: display: none to it (so it doesn't actually
show but is still visible....
3. If the ticker is calling back to the server to update the ticker or whatever - change the service you are using to actually also check for authentification (I am not sure how the authentification service works that Ajax has - but I believe the ajax.asp.net
sdocumentation site has some examples....(so I don't really call this a solution ....as I have no idea how to implement it...)
The above should help you with your situation...
Nov 06, 2006 01:04 AM|LINK
I'm getting the same error, it's happening completely random and i'm sure it's not time out related
Besides any workaround, I think that the best way to solve it would be to be able to know what's error number 12029.
Any of the AJAX developers could clarify this?
Nov 06, 2006 01:10 AM|LINK
Are you using fiddler? You should...It'll tell you what exactly caused the error...there are also a couple of good extensions for firefox that will help debug the issue as well...
Also note that setting compilation debug to true and trace enabled also cause sporadic behavior when it comes to ajax...Also - do a search on the forums here for exception handling - it is possible to track the exception generated by ajax and log it....
and there a few forum posts on the procedure for doing this (also code examples on the ajax.asp.net documentation site)....
Nov 06, 2006 01:31 AM|LINK
Jody, thanks for your answer,
- It happens with or without debug=true: i'm testing it with the VS ASPNET server, with IIS 5 and with IIS 6. It happens everywhere and randomly, regardless of the debug setting. And I'm not tracing anywhere.
- I'm already logging the exception into SQL using this:
Protected Sub ScriptManager1_AsyncPostBackError(ByVal sender As Object, ByVal e As Microsoft.Web.UI.AsyncPostBackErrorEventArgs) Handles ScriptManager1.AsyncPostBackError
Dim conn As New SqlConnection
conn.ConnectionString = ConfigurationManager.ConnectionStrings("ApplicationDatabase").ConnectionString
Dim comm As SqlCommand = conn.CreateCommand
comm.CommandText = "AjaxRecordError"
comm.CommandType = CommandType.StoredProcedure
Catch ex As Exception
So, i'm actually tracking the exception, but it isn't very helpful anyway (at least for me! :) ) :
Here is one of the records (which are all the same BTW):
exception.Message = "Input string was not in a correct format."
exception.StackTrace = " at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Web.UI.WebControls.ImageButton.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)"
exception.Source = "mscorlib"
I can see from this that is something related with parsing (I think), but as it's happening randomly, without pattern, I can't find where to start looking at.
And, finally, I'm already using Fiddler, but I must admit that I don't know where to dig to help me with the issue.
Any further help would be really appreciated! :)