1

我目前正在开发一个 MVC3 应用程序(Win XP IIS 5.4),它可以在我的本地主机上使用 IIS 正常工作。

现在,我在 IIS 5.4 上的 Win XP 嵌入式 PC 上发布并部署了该应用程序,但出现此错误:

 Error executing child request for handler   'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.

完整的跟踪:

at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)    
at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage)     
at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm)     
at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter)     
at System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper htmlHelper, String actionName, String controllerName)    
at ASP._Page_Views_Home_Index_vbhtml.Execute() in C:\Documents and Settings\Administrator\Desktop\publish\Views\Home\Index.vbhtml:line 45    
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()     
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()     
at System.Web.WebPages.StartPage.RunPage()     
at System.Web.WebPages.StartPage.ExecutePageHierarchy()    
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)     
at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)     
at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)     
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)     
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)    
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19()     
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)    
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b()     
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)     
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

在我的 Home/index.vbhtml 的第 45 行,我呈现了其他类似这样的操作:

@Code
   Html.RenderAction("MobileCollection", "Setting")
   Html.RenderAction("MobileCollection", "Teaching")
   'Html.RenderAction("MobileCollection", "IO")
   Html.RenderAction("MobileCollection", "Home")
End Code

我不知道为什么这在其他系统上不起作用...

4

0 回答 0