Server Error in '/' Application.

Specified argument was out of the range of valid values.
Parameter name: value

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.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value

Source Error:


Line 46:             //txtStartDate.Text = System.DateTime.Today.ToString("dd-MMM-yyyy");
Line 47:             dd_month.SelectedIndex = DateTime.Now.Month - 1;
Line 48:             dd_year.SelectedIndex = DateTime.Now.Year - 2014;
Line 49:             string satta = "1";
Line 50:             if (Request.QueryString["groupid"] != null)

Source File: c:\HostingSpaces\admin\sattaking2.com\wwwroot\satta-king-record-chart.aspx.cs    Line: 48

Stack Trace:


[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value]
   System.Web.UI.HtmlControls.HtmlSelect.set_SelectedIndex(Int32 value) +3719322
   satta_king_record_chart.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\admin\sattaking2.com\wwwroot\satta-king-record-chart.aspx.cs:48
   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.3761.0