Running an MVC Application as a Sub-Application?

Posted by ZafarYousafi on Stack Overflow See other posts from Stack Overflow or by ZafarYousafi
Published on 2010-04-05T12:43:39Z Indexed on 2010/04/05 14:33 UTC
Read the original article Hit count: 229

Filed under:

Hi, I am facing problem in creating an mvc application as sub-application of the asp.net application. My Mvc application is doing fine in development environment and even when it is deployed normally. However whenever I tried to deploy it as a sub-application of an asp.net application like http://mainapplication/mvcsubapplication I got an error

The view 'Index' or its master could not be found. The following locations were searched:
~/Views/Home/Index.aspx
~/Views/Home/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx

There is no problem in view naming since application is well tested in development environment. It only happens when I tried to deploy it as sub-app. remember I am deploying on a server with IIS 7.x installed on it. Any response will be appreciated. Thanx

© Stack Overflow or respective owner

Related posts about asp.net-mvc