asp.net mvc application application root issue

Discussion in 'ASP.NET / ASP.NET Core' started by centripetal, Nov 10, 2009.

  1. I have an ASP MVC application that I have deployed to a application folder that is a sub folder of the root application. ie:

    -/[root]
    -+/apps

    When I hit the default page I get the error "The view '<my_view_name>' or its master could not be found. The following locations were searched".

    This application works when I deploy it on my test servers and I have verified that everything is correctly deployed. The only thing that I cannot verify is the way that discountasp.net does the application subdirectories. I believe that the MVC application is not using the correct application root and thus is unable to find the view pages.

    Any thoughts on how to correct this?
     
  2. mjp

    mjp

    Did you set /apps as a starting point in Control Panel?
     
  3. How do I do set a directory as a starting point? It is set as an application in the Web Application Tool.
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    when you mark a directory as an application, that directory is the application starting point.
     

Share This Page