Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
1.00/5 (1 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
Updated 16-Nov-18 2:42am
v2
Comments
Jay Ahuja 31-Dec-12 5:18am    
please help me for this

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
http://msdn.microsoft.com/en-us/library/system.argumentoutofrangeexception(VS.100).aspx[^]
 
Share this answer
 
Comments
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 asp.net..
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.
Server error in application
 
Share this answer
 
Comments
Richard Deeming 16-Nov-18 9:00am    
How is this meant to be a "solution" to the question?!
Server error in application form
 
Share this answer
 
Comments
Richard Deeming 16-Nov-18 9:01am    
Another Google search query posted as a "solution".

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900