首页 新闻 会员 周边

各位帮帮忙我快崩溃了。关于ASP.NET 2.0 部署MVC

0
悬赏园豆:50 [已关闭问题] 关闭于 2010-06-21 23:14

详细错误内容,换了几次SYSTEL.WEB.MVC.DLL都无效!~。天啊。快疯了!
[MissingMethodException: 找不到方法:“System.Collections.ICollection System.Web.Compilation.BuildManager.GetReferencedAssemblies()”。]
System.Web.Mvc.BuildManagerWrapper.System.Web.Mvc.IBuildManager.GetReferencedAssemblies() +0
System.Web.Mvc.ControllerTypeCache.GetAllControllerTypes(IBuildManager buildManager) +59
System.Web.Mvc.ControllerTypeCache.EnsureInitialized(IBuildManager buildManager) +63
System.Web.Mvc.DefaultControllerFactory.GetControllerTypeWithinNamespaces(String controllerName, HashSet`1 namespaces) +75
System.Web.Mvc.DefaultControllerFactory.GetControllerType(String controllerName) +197
System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +55
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +100
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +36
System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +4
System.Web.Mvc.MvcHttpHandler.VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext) +21
System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContextBase httpContext) +103
System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContext httpContext) +36
System.Web.Routing.UrlRoutingHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +4
ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\freehost\06202fydir\web\Default.aspx:7
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2065883
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896

飘扬的主页 飘扬 | 初学一级 | 园豆:45
提问于:2010-06-20 21:25
< >
分享
所有回答(5)
0

看报错信息说的是找不到:System.Collections.ICollection

拿这个应该就可能和mvc无关,应该是。net framework的问题,你是不是没有装.net 3.5 sp1呢?这个是必须的

LittlePeng | 园豆:3445 (老鸟四级) | 2010-06-20 21:57
0

引用的版本有问题,版本不一致,检查一下

winzheng | 园豆:8797 (大侠五级) | 2010-06-20 22:11
0

asp.net 2.0的mvc还真没搞过. 一般都是3.5+sp1的环境.

你sp1补丁打过了吗? 我上网搜了下,你可以参考下

地址:http://fqctyj.blog.163.com/blog/static/70843455201022285445252/

Tweet | 园豆:115 (初学一级) | 2010-06-20 23:31
0

在本地调试的时候有问题吗,在运行环境安装.net framework 3.5+sp1试试。

Astar | 园豆:40805 (高人七级) | 2010-06-21 08:28
0

2.0好像不支持mvc吧。

到了,明天 | 园豆:200 (初学一级) | 2010-06-21 09:51
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册