As you see its one week of activities that drain me - keep me in your prayers!!
Thursday, March 3, 2011
Big Week it has been and still is
This week is huge for me, it the week just before I travel back to Kenya while its the same week my clients are supposed to go live in 5 sites (currently as I write we are done with the HQ and one remote site). It is also the same week that my WP7 February update is supposed to make it to my phone (just seen a notification on Zune) and yet still the same week I am thinking of purchasing an APad or IPed or I-Robot or Whatever-its-name-is name the Chinese called their Android IPad Clone for the unbeatable price of pak rs 10k. Its also the same week that I am supposed to make my way to Lahore in Punjab province of Pakistan for some "ground-work" although the application is being installed online over the weekend.
Thursday, February 24, 2011
Sys.Webforms.PageRequestManagerServerErrorException
I have been for the last 3 days engaged in an almost futile attempt to debug a certain AJAX error was apparently emanating from some Telerik ajax controls. this error is manifested quite randomly
Despite countless hours in asp.net and Telerik Rad Control forums , extensive searches using Google and deep diving in reputed ASP.NET blogs, I could not find a resolution to it. Until one of my colleagues decided to do some excavation work on the event viewer and there it was (among many more):
Exception information:
Exception type: ArgumentOutOfRangeException
Exception message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at Telerik.Web.UI.GridItemCollection.get_Item(Int32 index)
at ECP.CERS.ControlLibrary.PassGrid.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) in G:\SVN All\cers\ECP.CERS\ECP.CERS.ControlLibrary\PassGrid.cs:line 2794
at ECP.CERS.Website.AppCode.PageController.CERSBasePage.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) in G:\SVN All\cers\ECP.CERS\ECP.CERS.Website\AppCode\PageController\CERSBasePage.cs:line 578
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
To which I breathe a huge sigh of relief and Since then I have rediscovered the use of the eventviewer in debugging code running in production environments. Apparently the message occurs when an asp.net thread dies and it returns the status code 500.
but something is puzzling - Most people seem to have stopped reporting this bug online (it seems to have been quite prevalent circa. 2008-2009) but disappeared - except in my case. strange!!
(FYI: I am using the VS2010 Enterprise, .NET 4.0 Windows 7, latest release of telerik but it was still occurring....strange)
Lesson: Eventviewer is your friend! then Google comes later, the only time Google beats the Eventviewr is when you do search and Google lands you here - coz thats something the eventviewer cannot do :).
Subscribe to:
Posts (Atom)