ASP Net MVC 3 Application and IIS / IIS Express on windows 7 64 Bit
I have an MVC3 web application - it is a set of controllers and views without any DB access at the moment.
In the properties for the WEB App (in vs2010 Sp1) If I select
Use Visual Studio Development Server defaulting to a port 10905 then the app works great from an f5
If Instead I use local IIS WebServer with Use IIS Express ticked my project url is http://localhost:10905/ and the app works great.
But if I use local IIS WebServer with Use IIS Express NOT ticked my project url is http://localhost/TunnelRats then f5 does not work - I literally get a browser popping up with no content displayed just the url address populated.
I created the virtual Directory (using the create directory button) and looked in the IIS Manager The IIS Manager uses pool ASP.NET v4.0 which has enable 32 bit apps set to true and an integrated pipeline mode.
If I browsse directly from the virtual directory I get the same problem.
Its seems my IIS has a problem where my IIS express does not have a problem running my MVC 3 app.
I used aspnet_regiis -iru to 开发者_开发知识库reinstal v4 into IIS with no effect.
Any Ideas thanks Martin
might be that you do not have dynamic content enabled on you IIS. Easiest way to set up IIS for asp.net this days is to use Web Platform Installer
精彩评论