Server Error in '/' Application.

Value cannot be null.
Parameter name: input

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.ArgumentNullException: Value cannot be null.
Parameter name: input

Source Error:


Line 20:         {
Line 21: 
Line 22:             if (Regex.IsMatch(Request.QueryString["ID"], "^[\\d+]+$") == true)
Line 23:             {
Line 24:                 string ConString = ConfigurationManager.ConnectionStrings["Conn"].ConnectionString;

Source File: d:\inetpub\vhosts\awladragab.com\httpdocs\ar\video.aspx.cs    Line: 22

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.IsMatch(String input) +8161726
   System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern) +97
   ar_Default.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\awladragab.com\httpdocs\ar\video.aspx.cs:22
   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.4700.0