[FormatException: Invalid length for a Base-64 char array.]/[HttpException: The state information is invalid for this page and might be corrupted.]

4 posts, 0 answers
  1. Neerajan
    Neerajan avatar
    10 posts
    Member since:
    Dec 2011

    Posted 19 Dec 2012 Link to this post

    I am getting the Invalid length issue frequently in my application. Using of SessionPageStatePersister from earlier implementation  hiddenfieldpagestatepersister did not resolve the issue.

    Can any body please help me out?

    [FormatException: Invalid length for a Base-64 char array.]
    at System.Convert.FromBase64String(String s)
    at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
    at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String\ serializedState)
    at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String\ serializedState)
    at System.Web.UI.SessionPageStatePersister.Load()

    [HttpException: The state information is invalid for this page and might be corrupted.]
    at System.Web.UI.SessionPageStatePersister.Load()
    at Telerik.Web.UI.RadSessionPageStatePersister.Load()
    at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
    at System.Web.UI.Page.LoadAllState()
    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.pages_appeal_appealaction_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

  2. Martin
    Admin
    Martin avatar
    811 posts

    Posted 21 Dec 2012 Link to this post

    Hello Neerajan,

    We have received some other reports about similar issues that happen randomly on our clients servers. However none of our customers managed to isolate the problem in sample which we can inspect and debug. The only thing I could advice you is to temporarily disable the viewstate compression (you can still keep the HTTP compression though) and verify whether the problem replicates. Note that since the issue replicates on a random basis you may need some time to test the page before you confirm that the problem is resolved when viewstate compression is disabled.

    Regards,
    Martin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pulkit
    Pulkit avatar
    1 posts
    Member since:
    Nov 2012

    Posted 06 Feb 2013 Link to this post

    Hello Team,

    I am also getting same sort of exception with sitefinit, and after some investigations i have some points to make, which may help to replicate and relsove the issue.

    I have deployed a page with sitefinity which contains a asp.net's custom control and then reterived its viewstate by simply following these steps :- Right Click on page -> select View Source option and then find the value for __Viewstate hidden field
    REF:-
    input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTkxNDY1OTk5NGRkuqjLsqCspQ/KzOgJiU/nXOTrq+ZuE7MNLMEBN8U2Ilc=" />

    It Contains some telerik controls like "RadMaskedTextBox and RadGrid" :-
    input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEzMTMwNTAzNzUPZBYCZg9kFgICAw9kFhgCBQ9kFgRmD2QWAgIBDw8WAh4EVGV4dAUHVXNlcjAxOWRkAgIPDxYCHgdWaXNpYmxlaGRkAgkPDxYCHgtOYXZpZ2F0ZVVybAUdaHR0cDovL3B3MjAxMnFhLnJjc25ldC5sb2NhbC9kZAILDxYCHwFoZAIPDxYCHwAFDjEtODAwLTczNy0xMTkyZAIhDxYCHgVjbGFzcwUHY3VycmVudGQCNQ8WAh8BaGQCNw8WAh8BZ2QCOw88KwAFAQAPFgIeD1NpdGVNYXBQcm92aWRlcgUKU2l0ZU1hcC5lbmRkAj0PZBYCAgEPZBYKAgIPFgIfAAUPVGF3YW5uYSBTIEJyb3duZAIFDxYCHgtfIUl0ZW1Db3VudAIBFgICAQ9kFgQCAQ8QDxYCHwAFCjIwMDAzNzk4NTFkZGRkAgIPFQQPVGF3YW5uYSBT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3NuZXQubG9jYWwvZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFN2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkQzAwMiRyZXBMb2FucyRjdGwwMSRjaGtTZWxlY3T5f6rhRGVyRD5N/icRwjkJVEJrL8i7A14RJv0YDU0y3w==" />

    And used online decoders to decode the viewstate value and it works fine.
    To verify same you may use follwing decoders :-
     http://ignatu.co.uk/ViewStateDecoder.aspx or http://lachlankeown.blogspot.com/2008/05/online-viewstate-viewer-decoder.html

    Now, if on the same page I add radasyncupload Telerik controls like and then reterive its viewstate and try to decode, it will throw you error " Couldn't decode the View State. The error was: 'Invalid length for a Base-64 char array."
    REF:-

    input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTQ0MDY4ODk5MA9kFgJmD2QWAgIDD2QWGAIED2QWBGYPZBYCAgEPDxYCHgRUZXh0BQdVc2VyMDE5ZGQCAg8PFgIeB1Zpc2libGVoZGQCCA8PFgIeC05hdmlnYXRlVXJsBR1odHRwOi8vcHcyMDEycWEucmNzbmV0LmxvY2FsL2RkAgoPFgIfAWhkAg4PFgIfAAUOMS04MDAtNzM3LTExOTJkAiIPFgIeBWNsYXNzBQdjdXJyZW50ZAI0DxYCHwFoZAI2DxYCHwFnZAI6DzwrAAUBAA8WAh4PU2l0ZU1hcFByb3ZpZGVyBQpTaXRlTWFwLmVuZGQCPA9kFgICAQ8PFgYeDk1heFVwbG9hZENvdW50AhQeCkxvYW5OdW1iZXIFCjIwMDAzNzk4NTEeBVN0YXRlBQJGTGQWAgIBD2QWAmYPZBYUAgMPFgIfAWgWAgIBD2QWBAIBDxBkZBYAZAIDDw8WAh4MRXJyb3JNZXNzYWdlBRhQbGVhc2Ugc2VsZWN0IGEgcHJvcGVydHlkZAIEDxAPFgYeDURhdGFUZXh0RmllbGQFEERvY3VtZW50VHlwZUluZm8eDkRhdGFWYWx1ZUZpZWxkBQ5Eb2N1bWVudFR5cGV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wMCRjdGwwMiRjdGwwMCRQYWdlU2l6ZUNvbWJvQm94DxQrAAJlBQE1ZAVVY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSRDMDAxJHJnRG9jdW1lbnRzVXBsb2FkZWQkY3RsMDAkY3RsMDMkY3RsMDEkUGFnZVNpemVDb21ib0JveA8UKwACZQUBNWQFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYDBStjdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJEMwMDEkQXN5bmNVcGxvYWQxBTJjdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJEMwMDEkcmdEb2N1bWVudHNVcGxvYWRlZAUwY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSRDMDAxJHJnRG9jdW1lbnRIaXN0b3J5BVNjdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJEMwMDEkcmdEb2N1bWVudEhpc3RvcnkkY3RsMDAkY3RsMDIkY3RsMDAkUGFnZVNpemVDb21ib0JveA8UKwACZQUBNWQFU2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkQzAwMSRyZ0RvY3VtZW50SGlzdG9yeSRjdGwwMCRjdGwwMyRjdGwwMSRQYWdlU2l6ZUNvbWJvQm94DxQrAAJlBQE1ZJ/K4yMsfsEk7oebb52tZqnrdJCIdqrnOTj4AuzE9h6X" />


    I believe that there are some specific telerik controls which are causing issue in my case its radasyncupload.

    For you reference you can verify the same at following url also :-
    http://demos.telerik.com/aspnet-ajax/asyncupload/examples/overview/defaultcs.aspx

    Please suggest.

    Regards,
    Pulkit Choudhay
  5. Martin
    Admin
    Martin avatar
    811 posts

    Posted 07 Feb 2013 Link to this post

    Hello Pulkit Choudhay,

    As you probably know the idea of viewstate compression is minimizing the Page footprint as well as reducing the bits sent over the wire. This benefits are achieved by changing (compressing) the viewstate on the server before it is send to the client and decompressing it before it is restored on the server on a postback. Since the compression actually changes the viewstate string saved in the hidden field, it is expected that Base64 decoding tools fail to decode it on the client when it is compressed. This explains why you observe the problem on our live website, because we have viewstate compression enabled there.

    As to the scenario where viewstate can't be decoded after an AsyncUpload is added to the page - I am afraid that I would need a sample code to debug locally. I would also need the exact web config settings and RadControls version that replicates the problem on your side.

    I hope this helps.

    Regards,
    Martin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top