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 34: 
Line 35:         ctryCode = Request.QueryString["ctryid"];
Line 36:         hscode = new SecureQueryString(Request["hscode1"]);
Line 37:         hscode1 = hscode["Mnumber"].ToString();
Line 38:        

Source File: g:\ApedaApplications\AgriExchange\agriexchange\ProductSearch\International_Production.aspx.cs    Line: 36

Stack Trace:


[InvalidQueryStringException: Exception of type 'TSHAK.Components.InvalidQueryStringException' was thrown.]
   TSHAK.Components.SecureQueryString.decrypt(String encryptedQueryString) +357
   TSHAK.Components.SecureQueryString..ctor(String encryptedString) +156
   International_Production.Page_Load(Object sender, EventArgs e) in g:\ApedaApplications\AgriExchange\agriexchange\ProductSearch\International_Production.aspx.cs:36
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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