Guys, I opened up a story game me and Honeydusk842 has being working on and this happened:
Server Error in '/' Application.
Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
Source Error:
Line 38: throw new InvalidOperationException("Storygame not found."); Line 39: } Line 40: State = StoryState.CreateFromStoryId(sid); Line 41: ChooseYourStory.Legacy.LegacyLogger.PlayGame(State.StoryId); Line 42: }
|
Source File: c:\Websites\ChooseYourStory\ChooseYourStory.com\Story\Viewer\Default.aspx Line: 40
Stack Trace:
[InvalidCastException: Specified cast is not valid.] ChooseYourStory.Stories.StoryState.getStartPageId() in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\StoryState.cs:161 ChooseYourStory.Stories.StoryState.CreateFromStoryId(Int32 storyId) in c:\BuildMasterAgent\_AGTTMP\_A4\_S11\SRC\ChooseYourStory\Stories\StoryState.cs:52 ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in c:\Websites\ChooseYourStory\ChooseYourStory.com\Story\Viewer\Default.aspx:40 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
|
Then I went into edit mode and all the pages were gone! does anyone know what happened? I am so sad right now. :(