[Mono-aspnet-list] ASP.NET MVC and strongly-typed views
padcom
padcom at gmail.com
Wed Apr 8 16:31:22 EDT 2009
Hi there,
I can't get the strongly-typed (aka generic) views to work under mono 2.4
(tested on both Suse and Windoze). It works just fine with MS
implementation.
Here's the call-stack - just in case:
System.InvalidOperationException: The view 'Index' or its master could not
be found. The following locations were searched:
~/Views/Person/Index.aspx
~/Views/Person/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
at System.Web.Mvc.ViewResult.FindView (System.Web.Mvc.ControllerContext
context) [0x00000]
at System.Web.Mvc.ViewResultBase.ExecuteResult
(System.Web.Mvc.ControllerContext context) [0x00000]
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult
(System.Web.Mvc.ControllerContext controllerContext,
System.Web.Mvc.ActionResult actionResult) [0x00000]
at
System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass11.<InvokeActionResultWithFilters>b__e
() [0x00000]
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter
(IResultFilter filter, System.Web.Mvc.ResultExecutingContext preContext,
System.Func`1 continuation) [0x00000]
Is this just a shortcoming that will be overcome at some point? Did anyone
overcome this problem already?
Best regards,
Padcom.
--
View this message in context: http://www.nabble.com/ASP.NET-MVC-and-strongly-typed-views-tp22958997p22958997.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list