Server Error in '/' Application.

Arithmetic operation resulted in an overflow.

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: Arithmetic operation resulted in an overflow.

Source Error:


Line 1704:        nShowForServ = Me.Serves 'Convert.ToInt32(Request.QueryString("serves"))
Line 1705:        objRecipe = New Recipe
Line 1706:        objRecipe.RecipeId = nRecipeid
Line 1707:        ltrlOutbrain.Text = FillOutbrainAds()
Line 1708:

Source File: D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\Recipe.aspx.vb    Line: 1706

Stack Trace:


[OverflowException: Arithmetic operation resulted in an overflow.]
   IngTerm.AddMarkUp(String TemplateText, String sMarkupText1, Int64 nIngId1, Int64 nRecipeId1, String sMarkupText2, Int64 nIngId2, Int64 nRecipeId2, String sMarkupText3, Int64 nIngId3, Int64 nRecipeId3, String language) +1769
   IngSection.LoadIngDetails(String language) +1478
   Recipe.LoadRecipeDetails(Int64 RecipeId, String language) +18861
   Recipe.set_RecipeId(Int64 value) +183
   RecipeDetail.Page_Load(Object sender, EventArgs e) in D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\Recipe.aspx.vb:1706
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491