Asp.Net MVC missing style and defaults to logon page
        Posted  
        
            by user279750
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user279750
        
        
        
        Published on 2010-02-23T18:54:33Z
        Indexed on 
            2010/04/03
            5:23 UTC
        
        
        Read the original article
        Hit count: 421
        
I just setup an out of the box "W2K8 R2 Web" server and installed IIS 7 out of the box. Then I installed the .NET4 framework and ran "aspnet_regiis -i" command.
I created a site using .NET 4.0 Integrated app pool.
I created an MVC application using the default MVC project template, without modifying I compiled the project and deploy the files using (Publish) to the virtual directory.
I can pull the site up, but the styles are missing from the page and for some reason it routing to the /Account/LogOn?ReturnUrl=/
© Stack Overflow or respective owner