title: MVC3 publishing and IIS 6
body: <p>I've been fighting with this for several hours with no headway.</p>
  
  <p>I am trying to publish a web app (MVC3, .net4, made in Visual Studio 2010) to a server. All googles eventually lead to <a href="http://haacked.com/archive/2010/12/22/asp-net-mvc-3-extensionless-urls-on-iis-6.aspx" rel="nofollow">this article</a>, which has not been helpful. According to it, MVC3 running on IIS 6 (MVC and .net4 are installed, it is a 2k3 server) should just work. Different set ups give me different issues, but nothing that works. With default settings, I get "Directory Listing Denied This Virtual Directory does not allow contents to be listed." If I turn on directory browsing I can see the directoy of the site, but this isn't useful.</p>
  
  <p>In IIS there is an option to use the default page, but I thought that MVC didn't use one. There was no "default.aspx" in my project when I started it, and it has been working fine through the debug testing local server. If I need a default page, I don't know how to make one. If I don't need one, what settings do I need to use in IIS 6 to get it to serve the pages properly (using the mvc module?).</p>
  
  <p>This is my first web app, so I am probably missing something basic. It's entirely possible I deleted some critical file from the project.</p>
  
  <p>Edit: not sure if it makes a difference, but the site is not being published to the root of the domain. The URL ends up being www.company.net/directory.</p>
  
  <p>Edit: I tried making a new MVC3 app in visual studio, just the default one, and published it immediately to the server. Same error. Its definitely something in IIS.</p>