Parameter 'notification-mail.cshtml does not match any available view' in logs (Umbraco 10, SEO Checker 10.0.4)
We installed SEO Checker and enabled notifications, and now we're getting a lot of error messages in the logs:
Error in PageNotFound Module
SEOChecker.Web.Controllers.Validation.SEOCheckerScheduleApiController.Run (SEOChecker.Web)
/umbraco/seochecker/seocheckerscheduleapi/run
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'notification-mail.cshtml does not match any available view'))
---> System.ArgumentNullException: Value cannot be null. (Parameter 'notification-mail.cshtml does not match any available view')
at SEOChecker.Common.Services.RazorViewRenderService.RenderToStringAsync(String viewName, Object model, IDictionary2 httpcontextItems)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at SEOChecker.Common.Mail.RazorMailer.Send(BaseRazorMailModel model, EmailConfiguration config, String toAddress, String toName)
at SEOChecker.Common.Repository.NotificationsRepository.NotificationRepository.ExecuteScheduledItems()
at SEOChecker.Web.Controllers.Validation.SEOCheckerScheduleApiController.Run()
Parameter 'notification-mail.cshtml does not match any available view' in logs (Umbraco 10, SEO Checker 10.0.4)
We installed SEO Checker and enabled notifications, and now we're getting a lot of error messages in the logs:
Error in PageNotFound Module SEOChecker.Web.Controllers.Validation.SEOCheckerScheduleApiController.Run (SEOChecker.Web) /umbraco/seochecker/seocheckerscheduleapi/run
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'notification-mail.cshtml does not match any available view')) ---> System.ArgumentNullException: Value cannot be null. (Parameter 'notification-mail.cshtml does not match any available view') at SEOChecker.Common.Services.RazorViewRenderService.RenderToStringAsync(String viewName, Object model, IDictionary
2 httpcontextItems) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at SEOChecker.Common.Mail.RazorMailer.Send(BaseRazorMailModel model, EmailConfiguration config, String toAddress, String toName) at SEOChecker.Common.Repository.NotificationsRepository.NotificationRepository.ExecuteScheduledItems() at SEOChecker.Web.Controllers.Validation.SEOCheckerScheduleApiController.Run()Hi Robert,
Try re-selecting the notification mail template on emailsettings should help I think?
Best,
Richard
Hi Richard,
There was only one option, and it was already selected. This is a new install.
Anything else you can suggest?
Edit: When I looked at the files in the project, I couldn't find the email templates at all - where should they be installed to?
Ta, Rob
There should be 2? Re-save maybe?
Ah yes, sorry - quite right. I've modified, then changed them back saving each time.
Error is still being reported - every ~ 60 seconds.
Oops you are right, already fixed in https://www.nuget.org/packages/SEOChecker/10.0.5-beta1 release will follow after holiday.
Best,
Richard
is working on a reply...