岁月留声QtAsp

Qt in Linux , Asp Asp.net Jsp Php in Web

« [转]自己开发Blog博客程序:关于MetaWeblogAPI 的实现 [转]准备学习DotNetNuke »

传入的请求不与任何路由匹配 Oxite

调试Oxite的时候出现了这样的错误:“传入的请求不与任何路由匹配”
英文是:The incoming request does not match any route.
简单看了
http://stackoverflow.com/questions/283435/aspnet-mvc-mvc-routing-just-fails-in-ii6
http://stackoverflow.com/questions/275920/aspnet-mvc-on-iis-6-wildcard-mapping-the-incoming-request-does-not-match-any-ro
这两篇文章,应该是asp.net mvc的一点问题。
http://msdn.microsoft.com/en-us/library/cc668201.aspx
 

However, the are ways around this depending on your level of control on the IIS 6 server. Please refer to the following pages for more information

但是看看Oxite/Routing/OxiteRoutes.cs   文件没问题
再看        Oxite/Routing/RouteCollectionExtensions.cs 
不用System.Web.Mvc 也能运行
    //INFO: (erikpo) Taken from System.Web.Mvc source code so we don't have to reference the System.Web.Mvc assembly and also don't have to add routes the "old fashioned" way.

生成->清理解决方案 
生成->重新生成解决方案  ,就好了

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

Search

  •  

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722 Code detection by Codefense

Copyright 2008-2011 京公网安备 110115000655 京ICP备09005635号 www.qtasp.cn WebSite. All Rights Reserved.