tag:blogger.com,1999:blog-125341290284114978.post7511944400882243503..comments2023-04-23T00:05:10.829-07:00Comments on Guy Ellis' Tech Blog: Deployed ASP.NET MVC app gives 404 on About PageGuy Ellishttp://www.blogger.com/profile/02574435376236977220noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-125341290284114978.post-67724569623611325342010-09-20T23:23:40.000-07:002010-09-20T23:23:40.000-07:00Hi J - you shouldn't need to do the wildcard m...Hi J - you shouldn't need to do the wildcard mappings on the IIS server if the server is IIS7.<br />I would try the following:<br />- Remove the wildcard mappings.<br />- Check that the App Pool is set to .Net 4 (it probably defaults to .Net 2 so you have to explicitly set it to .Net 4 if it's a .Net 4 app that you've compiled.)<br />- Confirm that you haven't changed the default controllers and views (if you have moved them to new locations then you are correct that you would need to edit the routing in the global.asax.cs file.)guy ellisnoreply@blogger.comtag:blogger.com,1999:blog-125341290284114978.post-56887080548309631362010-09-20T16:32:55.000-07:002010-09-20T16:32:55.000-07:00Guy,
I've been fighting this problem now for a...Guy,<br />I've been fighting this problem now for a while and can't figure it out. I'm on Vista (64 bit) and made a MVC app that is MVC2 and .Net 4.0. I've set up the App Pool and website on IIS 7, but for whatever reason, I get the 404 error. Right now my site does engage the web.config, it does throw the custom 404 page, but I can't seem to get it to display the site. I'm guessing it's a routing issue, but I'm not sure. I developed in VS 2010 and I also did the "wildcard mappings" on the IIS server... any other advice???<br />Thanks,<br />JJuliennoreply@blogger.com