Line 14: if (Request.QueryString["RestoreSave"] == "yes") Line 15: { Line 16: State = StoryState.CreateFromSave(User.Identity.Name, int.Parse(Request.QueryString["StoryId"])); Line 17: } Line 18: else
[FormatException: Invalid length for a Base-64 char array.] System.Convert.FromBase64String(String s) +0 ChooseYourStory.Stories.StoryState.LoadFromString(String saveString) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_ToFromString.cs:59 ChooseYourStory.Stories.StoryState.CreateFromString(String storyState) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState.cs:62 ChooseYourStory.Stories.StoryState.CreateFromSave(String username, Int32 storyId) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState.cs:42 ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx:16 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
I got this error when Itried to load a save on my unpublished game: The tower. I wanted to haev a save so i could test each chapter without having to play from teh start
hmm ... ok i'm on it
Try the save that partially worked (i.e. didn't give you the Yellow Error). I figured out what was wrong wit hthat and fixed it.
Now on to figure out the save erros.
try again for all three