MvcMailer icon indicating copy to clipboard operation
MvcMailer copied to clipboard

System.InvalidOperationException: The view at '~/Views/UserMailer/CustomEmail.cshtml' must derive from WebViewPage, or WebViewPage<TModel>.

Open RL75 opened this issue 7 years ago • 0 comments

Does anyone have this issue? I have the code working on my local. I have it working on Windows Server 2008 but I can't get this to work on Windows Server 2012. I am using version 1.1 with vs 2010. I also tried adding @inherits System.Web.Mvc.WebViewPage to each view and copy web.config as many site suggest and still can't get this to work.

RL75 avatar Oct 18 '17 17:10 RL75