>>>The actual routing table is created dynamically at startup and it seems that this can't be constructed if the ErrorView() (or other) methods are generic.
>>>What's your signature of ErrorView() ?
>>>
>>
>>I posted it in another reply but here it's again:
>>
>>
public PartialViewResult ErrorView<T>(T viewModel, string viewName, string message, string errorProperty = "") where T : BaseEditViewModel
>
>Could you just use:
>
public PartialViewResult ErrorView(BaseViewModel viewModel, string viewName, string message, string errorProperty = "")
>
>
I made that change and it seems to be working.
If it's not broken, fix it until it is.
My Blog