2

我发布到 Web 服务器(Windows server 2008 R2 Enterprise-IIS 7)我的 Mvc 3 网站但无法正常工作,为什么?

_Layout.cshtml:

@Html.Action("GetLeftMenu", "Menu", new { ulCss = "navmenu-v", CurrentContentID = ViewBag.CurrentContentID, LangID = Session["langID"] })

菜单控制器:

    [OutputCache(Duration = 3600, VaryByParam = "LangID;ulCss")]
        public MvcHtmlString GetLeftMenu(string ulCss, int? CurrentContentID, int? LangID = 1)
        {
...
}

错误:

Method not found: 'Void Microsoft.Web.Infrastructure.DynamicValidationHelper.ValidationUtility.GetUnvalidatedCollections(System.Web.HttpContext, System.Collections.Specialized.NameValueCollection ByRef, System.Collections.Specialized.NameValueCollection ByRef, System.Collections.Specialized.NameValueCollection ByRef, System.Web.HttpCookieCollection ByRef)'.
4

0 回答 0