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:


Line 17:     Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Line 18: 
Line 19:         qatype = Convert.ToInt32(Request.QueryString("t"))
Line 20: 
Line 21:     End Sub

Source File: E:\iis-sites\dbhdid.ky.gov\site\ddid\scl-qa-print.aspx.vb    Line: 19

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14542542
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +174
   System.Convert.ToInt32(String value) +64
   ddid_scl_qa_print.Page_Init(Object sender, EventArgs e) in E:\iis-sites\dbhdid.ky.gov\site\ddid\scl-qa-print.aspx.vb:19
   System.Web.UI.Control.OnInit(EventArgs e) +108
   System.Web.UI.Page.OnInit(EventArgs e) +17
   System.Web.UI.Control.InitRecursive(Control namingContainer) +173
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +491


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0