Note that there are some explanatory texts on larger screens.

plurals
  1. POASP.NET MVC on IIS 7.5
    text
    copied!<p>I'm running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently decided to have VS run/debug my apps on IIS rather than the dev server that comes with it. </p> <p>However, every time I try to run an MVC app, I get the following error:</p> <blockquote> <p>HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. Detailed</p> <p>Error Information</p> <p>Module DirectoryListingModule</p> <p>Notification ExecuteRequestHandler</p> <p>Handler StaticFile Error</p> <p>Code 0x00000000 Requested</p> <p>URL <a href="http://localhost:80/mySite/" rel="noreferrer">http://localhost:80/mySite/</a></p> <p>Physical Path C:\myProject\mySite\</p> <p>Logon Method Anonymous Logon</p> <p>User Anonymous</p> </blockquote> <p>I placed a <code>default.aspx</code> file in the directory and I received the following error:</p> <blockquote> <p>HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list</p> </blockquote> <p>Are there any other steps I forgot to take to get this working?</p> <p>Notes: I installed IIS 7.5 after installing VS 2010 RC. I used the built-in "Create Virtual Directory" button under the "Web" tab in the MVC project's "Properties" in Visual Studio 2010. I made sure that the application is using the ASP.NET 4 App Pool.</p> <p>Below are the installed features of IIS I have.</p> <p><img src="https://imgur.com/0tajF.png" alt="alt text"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload