Click here to Skip to main content
13,139,834 members (43,269 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Server Error in '/Hr and Payroll' Application.
Selection out of range
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: Selection out of range
Parameter name: value

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Selection out of range
Parameter name: value]
Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) +173
Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) +490
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) +1254
Telerik.Web.UI.RadComboBox.PerformSelect() +37
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
Telerik.Web.UI.RadComboBox.DataBind() +70
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +66
System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
Telerik.Web.UI.RadDataBoundControl.OnPreRender(EventArgs e) +36
Telerik.Web.UI.RadComboBox.OnPreRender(EventArgs e) +46
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Posted 30-Dec-12 23:14pm
Jay Ahuja1.2K
Updated 19-May-17 5:53am
Jay Ahuja 31-Dec-12 5:18am
please help me for this

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
More details about this exception are available at[^]
Jay Ahuja 31-Dec-12 8:38am
except this any solution??
Kiran Susarla 31-Dec-12 23:37pm
As I mentioned this is an exception that the underlying code or one of your methods has thrown. You need to check what is the datatype of this variable and what values can it accept.

What other solution are you expecting from me?
Jay Ahuja 2-Jan-13 0:45am
hello Sir.. thank you for reply but sir i am not able to get from where Selection out of range Parameter name: value error is coming.. as i am new in
Kiran Susarla 2-Jan-13 1:45am
What you can do is, after you open the solution and before debugging the code,
1. in Visual Studio go to Debug->Exceptions. This will open a window with all the exceptions
2. Uncheck all the exceptions and select System.ArgumentOutofRangeException under Common Language Runtime Exceptions-->System.

Now when you run the solution and where ever this exception occurs the code stops the execution and highlights the line and you can easily find where the exception is.

Hope I am clear.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 19 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100