老问题:IndexOutOfRangeException: 索引超出了数组界限,本机运行正常,服务器报错?
在调试状态下服务器和本机都正常,发布后本机正常,我的系统是XP的,但放在服务器上就报错。。。求解答[IndexOutOfRangeException:索引超出了数组界限。...
在调试状态下服务器和本机都正常,发布后本机正常,我的系统是XP的,但放在服务器上就报错。。。求解答
[IndexOutOfRangeException: 索引超出了数组界限。]
DALDataImport.InsertDataToHourNumberTable(String observationID, DataTable dummyHourNumberTable) +4085
DataPackageDealWithOriginalStringType.InsertTypeIData(Int32 s, String sObservationID) +13608
DataImport.btnImport_Click(Object sender, EventArgs e) +420
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981 展开
[IndexOutOfRangeException: 索引超出了数组界限。]
DALDataImport.InsertDataToHourNumberTable(String observationID, DataTable dummyHourNumberTable) +4085
DataPackageDealWithOriginalStringType.InsertTypeIData(Int32 s, String sObservationID) +13608
DataImport.btnImport_Click(Object sender, EventArgs e) +420
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981 展开
若以下回答无法解决问题,邀请你更新回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询