title: IIS 6.1 shows directory listing instead of MVC 3 app
body: <p>I have just finished development in ASP.NET MVC application and I try to deploy it to a web server. The problem is I only see the content of directory, not the start page. Here is the visual explanation: 
  <a href="https://i.stack.imgur.com/ipVNy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ipVNy.jpg" alt="enter image description here"></a></p>
  
  <p>Things I did are publishing my MVC site, create a new folder in test server, I create a web site and copy files of publication to test server path. </p>
  
  <p>my .NET Framework version is 4.5.2. MVC version is 4. </p>
  
  <p>Any help is appreciated.  </p>
  
  <p>Edit 1:
  In the comment below there is a recommandation of seeing "IIS 6.0 suddenly shows directory listing instead of MVC 3 app".(Link: <a href="https://stackoverflow.com/questions/8723763/iis-6-0-suddenly-shows-directory-listing-instead-of-mvc-3-app">IIS 6.0 suddenly shows directory listing instead of MVC 3 app</a>) None of them solves my problem. </p>
  
  <p>Edit 2: 
  Here is the content of the RouteConfig file:</p>
  
  <pre><code>public static void RegisterRoutes(RouteCollection routes)
          {
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
              routes.MapRoute(
                  name: "Default",
                  url: "{controller}/{action}/{id}",
                  defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
              );
  
  
          }
  </code></pre>