U4-736 - 4.8.1 Error when login "cookie" timeout in Chrome, running site in Visual Studio

Created by Anders Brannmark 04 Sep 2012, 07:27:42 Updated by Sebastiaan Janssen 08 Jan 2013, 13:15:01

When developing a site in Visual Studio using IIS Express. If you have logged in in Umbraco before, and not working on the the project for a few days, an error occurs: "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters." To solve the problem one deletes the cookie information and then it works again.

Stacktrace: [FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. ] System.Convert.FromBase64_ComputeResultLength(Char* inputPtr, Int32 inputLength) +10545429 System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) +71 System.Convert.FromBase64CharArray(Char[] inArray, Int32 offset, Int32 length) +90 System.Web.Util.HttpEncoder.UrlTokenDecode(String input) +168 System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) +9571032 umbraco.BasePages.BasePage.get_umbracoUserContextID() +97 umbraco.BusinessLogic.User.GetCurrent() +8 umbraco.presentation.LiveEditing.DefaultLiveEditingContext.get_Enabled() +43 umbraco.presentation.LiveEditing.DefaultLiveEditingContext..ctor() +41 umbraco.presentation.UmbracoContext.get_LiveEditingContext() +103 umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +184 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnPreInit(EventArgs e) +9645906 System.Web.UI.Page.PerformPreInit() +31 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335

Comments

Sebastiaan Janssen 08 Jan 2013, 09:45:43

This has been fixed in 4.9, changeset ea4bfe9d9134


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 4.9.0

Sprint:

Story Points:

Cycle: