Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...


ERROR Exception of type 'System.Web.HttpUnhandledException' was thrown.

Version multi store.

I am getting a lot of errors but this one is very common:

Exception of type 'System.Web.HttpUnhandledException' was thrown.

Entry Date: 9/17/2017 5:08:11 PM


Exception of type 'System.Web.HttpUnhandledException' was thrown.

Inner Exception:

Page URL:/account.aspx


Message:Response.Redirect cannot be called in a Page callback.

Stack Trace:

at System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)

at AspDotNetStorefront.SkinBase.RequiresLogin(String ReturnURL) in e:\website\slipcovershop.com\App_Code\SkinBase.cs:line 1003

at AspDotNetStorefront.account.Page_Load(Object sender, EventArgs e) in e:\website\slipcovershop.com\account.aspx.cs:line 48

at System.Web.UI.Control.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

asked Sep 18, 2017 in MultiStore by Arthur (110 points)

1 Answer

0 votes
That looks like it's trying to do the built-in redirect to force the customer to sign in before hitting the account.aspx page.  As for the '...in a Page callback' part - as you'd expect from the message, that error is generally seen when an app tries to do a Response.Redirect while processing what the .NET platform thinks is a callback (often triggered by a POST with a querystring).

That's not something we've seen before in the OOB software, though under certain conditions I suppose it might be possible if a logged-in customer sat on the account page long enough for the session to end, and then clicked a button to submit a change to account info.  That doesn't seem like something that would happen often though.  What kinds of modifications have been made to the site?
answered Sep 19, 2017 by Vortx ScottS (13,500 points)