这里是场景:索引超出了数组的范围
我在页面上有两个下拉菜单。当您在第一个下拉列表中选择一个项目时,会填充第二个下拉列表。在页面上还提交按钮&一个重置按钮(带JavaScript代码)。所有这些控件都在Telerik RadAjaxPanel内(与asp.net UpdatePanel相同)。页面上还有一个asp.net ajax ScriptManager。在本地,在开发人员的机器上,当我点击重置按钮时,页面重置得很好。当部署在QA机器上时,我们会收到以下错误消息。
错误消息:
异常信息: 异常类型:IndexOutOfRangeException 异常消息:索引阵列的边界之外。
索取信息: 请求URL:http://000.000.000.000:8080/PageName.aspx 请求路径:/PageName.aspx 用户主机地址:000.000.0.00 用户:部门 通过身份验证:真 身份验证类型:窗体 线程帐户名:NT AUTHORITY \ NETWORK SERVICE
线程信息: 线程ID:6 线程帐户名:NT AUTHORITY \ NETWORK SERVICE 正在模拟:假 堆栈跟踪:在System.Security.Cryptograp hy.RijndaelManagedTransform.DecryptData(Byte [] inputBuffer,Int32 inputOffset,Int32 inputCount,Byte [] & outputBuffer,Int32 outputOffset,PaddingMode paddingMode,Boolean fLast) at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte [] inputBuffer,Int32 System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt,Byte [] buf,Byte []修饰符,Int32开始,Int32长度,IVType中的System.Security.Cryptography.CryptoStream.FlushFinalBlock() 上的输入偏移量,inputOffset,Int32 inputCount) ivType,Boolean useValidationSymAlgo) at System.Web.UI.Page.DecryptStringWithIV(String s,IVType ivType) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)
任何帮助,将不胜感激
感谢,
萨里尔
你如何“重置”页面?你正在做一个response.redirect到当前的网址? – Cognitronic 2011-01-17 00:15:14