• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

CorneliuTusnea
#1 Posted : Thursday, October 19, 2006 6:59:44 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

I constantly get the following two exceptions from the search. I can't realy reproduce locally but the event log is:
Object reference not set to an instance of an object.[ at System.Web.Util.StringUtil.GetStringHashCode(String s) at System.Web.UI.ClientscriptManager.EnsureEventValidationFieldLoaded() at System.Web.UI.ClientscriptManager.ValidateEvent(String uniqueId, String argument) at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) at System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.WebControls.TextBox.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) ]

and

Exception of type 'System.Web.HttpUnhandledException' was thrown.[ at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.search_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ]



Please help,

Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

CorneliuTusnea
#2 Posted : Thursday, October 19, 2006 7:15:19 PM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Ok,
More details. The problem is happening if you click on the Go button in the search on the main page (the search is the one from the content block) before the page was fully loaded.
Because the viewstate was moved at the bottom of the page it is not fully loaded and the post will generate one of these two exceptions.
Ofcouse you can't see this when you run locally because the page is loaded very fast.
A simple way to fix this would be to disable the search button until the page is fully loaded. I'll do this for my own server asap, but I would like BV to include this in their next SP please.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Andy Miller
#3 Posted : Friday, October 20, 2006 1:18:27 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Very interesting. It probably applies to any control that causes a callback or a postback. If that is true then really the entire page (or at least every control that can call/postback) should be disabled.


How about using SessionPageStatePersister instead of HiddenFieldPageStatePersister and then let the (much smaller) __VIEWSTATE move back to the top of the page.



http://aspadvice.com/blogs/robertb/archive/2005/11/16/13835.aspx
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012