Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ASP.NET(VB)应用程序以前工作,现在给出;过载解析失败“;在2008 R2 IIS 7.5上_Asp.net_.net_Vb.net_Iis - Fatal编程技术网

ASP.NET(VB)应用程序以前工作,现在给出;过载解析失败“;在2008 R2 IIS 7.5上

ASP.NET(VB)应用程序以前工作,现在给出;过载解析失败“;在2008 R2 IIS 7.5上,asp.net,.net,vb.net,iis,Asp.net,.net,Vb.net,Iis,我正在将旧的ASP.NET 2.0(VB)应用程序从旧的Windows 2003 IIS 6服务器迁移到Windows 2008 R2 IIS 7.5。该应用程序在Win2003上运行良好,“大部分”在新服务器上运行良好 然而,我在尝试使用web应用程序的文件附件功能时收到了下面的奇怪错误,我相信它使用了Telerik的RadUpload控件 问题是,这个特定的应用程序和文件附件功能(完全相同的.dlls)已被验证在Win2008IIS7.5上运行,并且我已经仔细检查了安装情况,一切似乎都很好

我正在将旧的ASP.NET 2.0(VB)应用程序从旧的Windows 2003 IIS 6服务器迁移到Windows 2008 R2 IIS 7.5。该应用程序在Win2003上运行良好,“大部分”在新服务器上运行良好

然而,我在尝试使用web应用程序的文件附件功能时收到了下面的奇怪错误,我相信它使用了Telerik的RadUpload控件

问题是,这个特定的应用程序和文件附件功能(完全相同的.dlls)已被验证在Win2008IIS7.5上运行,并且我已经仔细检查了安装情况,一切似乎都很好

有人看到过这个或类似的东西吗

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)
重载解析失败,因为没有最特定于这些参数的公共“项”:
'作为System.Object的公共属性项(索引为整数)':
不是很具体。
'作为System.Object的公共属性项(名称为字符串)':
不是很具体/error.aspx System.Reflection.AmbiguousMatchException:重载解析失败,因为没有公共“项”是这些参数的最特定项:
'作为System.Object的公共属性项(索引为整数)':
不是很具体。
'作为System.Object的公共属性项(名称为字符串)':
不是很具体。
在Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName,List`1候选者,Object[]参数,String[]参数名,Type[]TypeArguments,BindingFlags LookupFlags,Boolean ReportErrors,ResolutionFailure&Failure)
在Microsoft.VisualBasic.CompilerServices.OverloadResolution.ResolveOverloadedCall(String MethodName、MemberInfo[]成员、Object[]参数、String[]ArgumentNames、Type[]TypeArguments、BindingFlags LookupFlags、Boolean ReportErrors、ResolutionFailure&Failure)
在Microsoft.VisualBasic.CompilerServices.NewLateBinding.ResolveCall(容器BaseReference、String MethodName、MemberInfo[]成员、Object[]参数、String[]参数名、Type[]TypeArguments、BindingFlags LookupFlags、Boolean ReportErrors、ResolutionFailure&Failure)
位于Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(对象实例、类型类型、字符串成员名、对象[]参数、字符串[]参数名、类型[]类型参数、布尔[]回写)
在APP.LegacyApp.Web.\u error.ImgExportPDF\u单击(对象发送者,图像单击事件参数e)
在System.Web.UI.WebControl.ImageButton.OnClick(ImageClickEventArgs e)中
位于System.Web.UI.WebControl.ImageButton.RaisePostBackEvent(String eventArgument)
在System.Web.UI.WebControl.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)中
位于System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,String eventArgument)
位于System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)
---内部异常堆栈跟踪的结束---
位于System.Web.UI.Page.HandleError(异常e)
在System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)
在System.Web.UI.Page.ProcessRequest(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)
在System.Web.UI.Page.ProcessRequest()中
位于System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext上下文)
在System.Web.UI.Page.ProcessRequest(HttpContext上下文)中
在ASP.error\u aspx.ProcessRequest处(HttpContext上下文)
在System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()中
在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值&同步完成)

通过使用服务器管理器删除Web服务器(IIS)角色并重新安装,问题得以解决。可能是角色服务组件不正确的问题