Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10518915
   System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) +204
   System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) +10506095
   WebPVPO.Global.Session_Start(Object sender, EventArgs e) in D:\PVPO_Old\WebsitePVPO\SourceCode_2013\WebPVPO\Global.asax.cs:41
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +11298044
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +366
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1281
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +85
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +263


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062