MVC web fails after move
I have a MVC website that was working fine on one dev machine. I moved it to a new dev machine and navigation to anything but the default index fail开发者_开发知识库s with a resource not found error. I've set breakpoints in all the controllers and nothing is being hit. Both machines are .net 3.5 sp1, MVC v1.0. The original dev machine was XP, the new one is VISTA. I've successfully worked other MVC projects on the new machine before.
Any ideas of what to check?
Url mapping works different on IIS 6.0 and IIS 7.0 (vista) so that could be the reason. Check this article to find more info http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx
It may be because of IPv6 on Windows Vista. See this SO answer for more details.
精彩评论