Non-threaded

Forums » Bugs & Problems » Read Thread

Post reports about problems or bugs in here.
This bug was closed 7/30/2006: fixeds

cahnge

19 years ago
 

Server Error in '/' Application.

Value was either too large or too small for an Int32.

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.OverflowException: Value was either too large or too small for an Int32.

Source Error:

Line 33: 			case "FollowLink":
            Line 34: 				{
            Line 35: 					StoryStateReturnValues ret = State.FollowLink(int.Parse(Request.Form["pbValue"]));
            Line 36: 					switch (ret)
            Line 37: 					{

Source File: d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx    Line: 35

Stack Trace:

[OverflowException: Value was either too large or too small for an Int32.]
            System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +2751909
            System.Int32.Parse(String s) +20
            ChooseYourStory.Stories.StoryState.isVariableNotRestricted(Variable var, VariableRestriction restriction) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState.cs:205
            ChooseYourStory.Stories.StoryState.PostProcess_Links() in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PostProcess.cs:35
            ChooseYourStory.Stories.StoryState.PostProcess() in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PostProcess.cs:176
            ChooseYourStory.Stories.StoryState.FollowLink(Int32 linkId) in C:\Projects\ChooseYourStory\WebSolution\ChooseYourStory\Stories\StoryState_PublicInterface.cs:247
            ASP.story_viewer_default_aspx.OnLoad(EventArgs e) in d:\Users\alexp\Websites\ChooseYourStory.com\Story\Viewer\Default.aspx:35
            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

 

This is now hwat happened sicne you fixed that bug on my gamer when i go to the road..

cahnge

19 years ago

Well no wonder -- you have entered "9999999999,9999999999" as the restriction values.

I will repress this error in the future, but the highest you will ever be able to go with a variable is 2,147,483,647.

cahnge

19 years ago

great googly moogly! thats a lot of numbers lol. what in the world would need that big a variable? come to think of it, im not sure i want to know. lol

nate

cahnge

19 years ago
Did i really? ohhh that was for a death, hahah i see