The incoming request does not match any route

广告:

环境:asp.net mvc2.0 asp.net 3.5 sp1ver Error in '/' Application.

The incoming request does not match any route.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The incoming request does not match any route.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The incoming request does not match any route.]

System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContextBase httpContext) +15589

System.Web.Routing.UrlRoutingHandler.ProcessRequest(HttpContext httpContext) +40

System.Web.Routing.UrlRoutingHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +7

Mvcb2b._Default.Page_Load(Object sender, EventArgs e) in E:\aspnet2.0\hao_elec_all_jia\mvc_elec_jia\Mvcb2b\Default.aspx.cs:19

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.Web.UI.Control.OnLoad(EventArgs e) +99

System.Web.UI.Control.LoadRecursive() +50

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Version Information:?Microsoft .NET Framework Version:2.0.50727.3662; ASP.NET Version:2.0.50727.3668

解决方法:

1. 后台重启应用程序 2 或者选择 asp.net 2.0 选项 ,加上相应映射 3 如果是 asp.net 4.0 网站,请去掉相应映射

广告:

相关内容

编辑:Admin 时间:2016/10/8 15:08:51 阅览:451   返回    
route
路由
扫描关注53BK报刊官网
扫描关注阅速公司微信