简体   繁体   English

过去可以使用的ASP.NET(VB)应用程序现在在2008 R2 IIS 7.5上提供“重载解析失败”

[英]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.

相关问题 Windows Server 2008 R2 + IIS 7.5 + ASP.NET 4.0 = HTTP错误500.0 - Windows Server 2008 R2 + IIS 7.5 + ASP.NET 4.0 = HTTP Error 500.0 2008 R2 IIS7.5上的ASP.NET MVC无法加载 - ASP.NET MVC on 2008 R2 IIS7.5 Not Loading IIS 7.5上Windows 2003 R2 Enterprise上的Asp.net - Asp.net on Windows 2003 R2 Enterprise on IIS 7.5 此类现在正在使用连接池功能吗? -MSSQL 2008 R2-ASP.net 4.0 - Is this class using connection pool feature right now ? - MSSQL 2008 R2 - ASP.net 4.0 在Windows Server 2008 R2上将asp.net应用程序从IIS 6移动到IIS 7之后,IIS 7不允许在本地保存doc / execl文件 - after moving the asp.net app from IIS 6 to IIS 7 on windows server 2008 R2 IIS 7 is not allowing to save the doc/execl files locally 在Server 2008 R2上的本地IIS中调试ASP.Net MVC - Debugging ASP.Net MVC in local IIS on Server 2008 R2 将asp.net站点部署到IIS 7(Windows 2008 R2)后,网络图像消失 - Network images disappeared after asp.net site deployed to IIS 7 (Windows 2008 R2) 使用Windows 2008 R2 Datacenter在IIS 6.1上的asp.net 2.0中增加会话超时 - Increase session timeout in asp.net 2.0 on IIS 6.1 with windows 2008 R2 Datacenter 在Windows Server 2008 R2 SP1的IIS 7.5上注册.NET 4.5的安全方法 - Secure way for registering .NET 4.5 on IIS 7.5 on Windows Server 2008 R2 SP1 如何在IIS 7.5(Windows 2008 R2)中重定向绑定? - How to redirect a binding in IIS 7.5 (Windows 2008 R2)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM