4
I have a Mvc 5 application, for development I used IIS Express, everything works normally on it, but I am a problem to climb IIS 7. Still on my local machine, later I will take to Windows 2008. The problem is that when rotating http://localhost/Aprovacoes/ my page does not open, just open the files as in the image below:
Access configuration to the Inetpub folder where the Publish of the project is with access, has already been tested in iis.
I have tested with all application pools, currently set the 4.0 Integrated.
My config route did not make any changes, it is as follows:
public static class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
            routes.LowercaseUrls = true;
            routes.MapRoute("Default", "{controller}/{action}/{id}", new
            {
                controller = "Home",
                action = "Index",
                id = UrlParameter.Optional
            }).RouteHandler = new DashRouteHandler();
        }
    }
I’ve tried adding standard Index.cshtml document on iis but it didn’t work either.
When accessing the Home/Index, the action will identify that there is no user logged in by Forms Authentication, and will redirect to the Account/Login, all this process works in IIS Express.
Could you help me solve this problem?

obg, it worked!
– user9408692
No problem, I appreciate the question, help others with the same problem.
– André Luiz
Thanks man, it worked here...
– Rogerio Soares Ferreira