I did some digging and found references to a situation where the browser User Agent string could exceed the default 64 character limit in .Net. Specifically iPads have a pretty long user agent string. When the .Net default limit of 64 characters is exceeded, this error can be thrown.An error has occured at https://<domain>/Basket.aspx
Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown. Stack Trace: 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.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Inner Exception: The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false. Ensure that the property is set to true during an async postback. Inner Exception Stack Trace: at System.Web.UI.ScriptManager.OnPageInitComplete(Object sender, EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
We have heavily customized the basket page. And it's only the basket page where we are seeing this error. So most likely a customization of ours has created this scenario. But I wanted to let the Able folks know about it just in case.
My solution was to edit the web.config and add this line to the <system.web> section:
Code: Select all
<browserCaps userAgentCacheKeyLength="256" />