Server Error in '/' Application.

Exception of type 'TSHAK.Components.InvalidQueryStringException' was thrown.

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: TSHAK.Components.InvalidQueryStringException: Exception of type 'TSHAK.Components.InvalidQueryStringException' was thrown.

Source Error:


Line 9:              If Not Request.QueryString("serID") Is Nothing Then
Line 10:                 Dim s As String = Request.QueryString("serID")
Line 11:                 Dim qs As SecureQueryString = New SecureQueryString(s)
Line 12:                 Dim conn As New SqlConnection(common.ConnectionString)
Line 13:                 Dim cmd As New SqlCommand("select ID, ArtTitle, artmonth, artyear from article where SeriesID=" & qs("id").ToString & " order by artyear, artmonth")

Source File: C:\inetpub\wwwroot\marai\series.aspx.vb    Line: 11

Stack Trace:


[InvalidQueryStringException: Exception of type 'TSHAK.Components.InvalidQueryStringException' was thrown.]
   TSHAK.Components.SecureQueryString.decrypt(String encryptedQueryString) +575
   TSHAK.Components.SecureQueryString..ctor(String encryptedString) +192
   series.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\marai\series.aspx.vb:11
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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