[英]ASP.NET (VB) app used to work, now gives “Overload resolution failed” on 2008 R2 IIS 7.5
I'm migrating a legacy ASP.NET 2.0 (VB) application from an old Windows 2003 IIS 6 server to Windows 2008 R2 IIS 7.5. 我正在将旧的ASP.NET 2.0(VB)应用程序从旧的Windows 2003 IIS 6服务器迁移到Windows 2008 R2 IIS 7.5。 The application works fine on Win 2003, and 'mostly' works fine on the new server... 该应用程序在Win 2003上可以正常运行,而“大多数情况下”在新服务器上可以正常运行...
However, I'm receiving the strange error below when attempting to use the web app's file attachment feature, which I believe uses Telerik's RadUpload control. 但是,尝试使用Web应用程序的文件附件功能时,我收到以下奇怪的错误消息,我相信该功能使用Telerik的RadUpload控件。
Problem is, this particular app and file attachment feature (exact same .dlls) is verified to run on Win 2008 IIS 7.5, and I've double-checked the installation, all seems fine. 问题是,此特定的应用程序和文件附件功能(完全相同的.dll)经过验证可在Win 2008 IIS 7.5上运行,并且我已仔细检查了安装情况,一切似乎都很好。
Has anyone seen this, or anything similar? 有没有人看过这个或类似的东西?
Overload resolution failed because no Public 'Item' is most specific for these arguments:
'Public Property Item(index As Integer) As System.Object':
Not most specific.
'Public Property Item(name As String) As System.Object':
Not most specific. - /error.aspx <- http://appsrv001/error.aspx?aspxerrorpath=/dialog/dlgAdvUpLoad.aspx
Exception of type 'System.Web.HttpUnhandledException' was thrown. (System.Reflection.AmbiguousMatchException)
-----------------------------------------
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.error_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-----------------------------------------
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Reflection.AmbiguousMatchException: Overload resolution failed because no Public 'Item' is most specific for these arguments:
'Public Property Item(index As Integer) As System.Object':
Not most specific.
'Public Property Item(name As String) As System.Object':
Not most specific.
at Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName, List`1 Candidates, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName, MemberInfo[] Members, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ResolveCall(Container BaseReference, String MethodName, MemberInfo[] Members, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, BindingFlags LookupFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at APP.LegacyApp.Web._error.ImgExportPDF_Click(Object sender, ImageClickEventArgs e)
at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.error_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Problem resolved by using Server Manager to remove the Web Server (IIS) Role and re-install. 通过使用服务器管理器删除Web服务器(IIS)角色并重新安装解决了问题。 Perhaps was an issue with incorrect role service components. 角色服务组件不正确可能是一个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.