本文介绍了错误:选择超出范围参数名称:值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'/ Hr和Payroll'应用程序中的服务器错误。

选择超出范围

参数名称:值

描述:执行当前Web请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其在代码中的起源的更多信息。



异常详细信息:System.ArgumentOutOfRangeException:选择超出范围

参数名称:值



来源错误:



期间产生了未处理的异常执行当前的Web请求。可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息。



堆栈跟踪:





[ArgumentOutOfRangeException:选择超出范围

参数名称:值]

Telerik.Web.UI.RadComboBox.PerformDataBinding( IEnumerable dataSource)+173

Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data)+490

System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments,DataSourceViewSelectCallback回调)+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.BaseDataBoundContr ol.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





版本信息:Microsoft .NET Framework版本:4.0.30319; ASP.NET版本:4.0.30319.1

解决方案




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

解决方案




这篇关于错误:选择超出范围参数名称:值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 11:00