在Asp.net mvc 2中未找到入口点异常

时间:2016-01-31 09:52:58

标签: c# asp.net-mvc visual-studio-2010

我尝试运行连接到tfs服务器的asp.net mvc项目。我没有改变任何事情。但突然间我收到了这个错误:

"未找到入口点"

[EntryPointNotFoundException: Entry point was not found.]
    System.Web.Mvc.MvcRouteHandler.GetSessionStateBehavior(RequestContext requestContext) +122
    System.Web.Mvc.MvcRouteHandler.GetHttpHandler(RequestContext requestContext) +33
    System.Web.Mvc.MvcRouteHandler.System.Web.Routing.IRouteHandler.GetHttpHandler(RequestContext requestContext) +10
    System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +9709656
    System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +82
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

我将不胜感激任何帮助...

1 个答案:

答案 0 :(得分:0)

您应该检查对程序集的引用。这个错误说明了不一致。 Similar problem