Deploy MVC4 application on IIS6 in virutal directory. RRS feed

  • Question

  • User-747886005 posted

    I created a web site, using AppPool "default" with ASP.NET 2.0 runtime.

    Now I created a virutal directory, using AppPool "MVC4" with ASP.NET 4.0 runtime.

    When I deploy the application to the viruatl directory, an exception was thrown telling me the something like "the attribtue compileVersion is 4.0 ........."

    Is it any problem that using different CLR verion in virtual directory even using different AppPool ?

    Tuesday, March 26, 2013 1:06 PM


  • User-1315512054 posted


    Yes, because you have nested web.config files. It will be much better to use subdomain than virtual folder.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 26, 2013 1:16 PM