Application Exceptionsystem.invalidoperationexception
The view found at ' ~/views/home/index.cshtml ' is not created. Description:http 500.Error processing request. Details:non-web exception. Exception origin (name of Application or object): System.Web.Mvc.Exception stack Trace:at System.Web.Mvc.BuildManagerCompiledView.Render (System.Web.Mvc.ViewContext viewcontext, System.IO.TextWriter writer) [0x00061]
Inch<cc73190bab9d435c831510ff295c572a>: 0 at System.Web.Mvc.ViewResultBase.ExecuteResult (System.Web.Mvc.ControllerContext context) [0x00080] in<cc73190bab9d435c831510ff295c572a>: 0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult (System.Web.Mvc.ControllerContext ControllerContext, System.Web.Mvc.ActionResult actionresult) [0x00000]
Inch<cc73190bab9d435c831510ff295c572a>: 0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive (System.Collections.Generic.IList ' 1[t] Filters, System.Int32 filterindex, System.Web.Mvc.ResultExecutingContext Precontext, System.Web.Mvc.ControllerContext ControllerContext, System.Web.Mvc.ActionResult actionresult) [0x0000b]
Inch<cc73190bab9d435c831510ff295c572a>: 0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive (System.Collections.Generic.IList ' 1[t] Filters, System.Int32 filterindex, System.Web.Mvc.ResultExecutingContext Precontext, System.Web.Mvc.ControllerContext ControllerContext, System.Web.Mvc.ActionResult actionresult) [0x0009b]
Inch<cc73190bab9d435c831510ff295c572a>: 0 at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters (System.Web.Mvc.ControllerContext ControllerContext, System.Collections.Generic.IList ' 1[t] filters, System.Web.Mvc.ActionResult actionresult) [ 0X0000A]
Inch<cc73190bab9d435c831510ff295c572a>: 0 at system.web.mvc.async.asynccontrolleractioninvoker+<>c__displayclass21+<>C__displayclass2b.<begininvokeaction>B__1C () [0x0008a] in<cc73190bab9d435c831510ff295c572a>: 0
WORKAROUND: This may be because the class library is missing from the WEB Server deployment environment System.Web.WebPages.Deployment.dll
Of course, there are many reasons for this error, which is only a solution for reference.
The ASP. NET MVC page error system.invalidoperationexception the view found at ' ~/views/home/index.cshtml ' is not created.