Hi,
In the monitoring section > Event Viewer > Errors, we can find information about errors on the solution. Somtimes the error happens in the template:
2020-02-10 08:57:38.352: Error executing razor template (Designs/Rapido/Paragraph/some-template.cshtml) https://some-solution.com/. System.NullReferenceException: Object reference not set to an instance of an object. at CompiledRazorTemplates.Dynamic.RazorEngine_0eec582c5f284b3799b80f73a6586f9a.Execute() in D:\path\some-solution.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\Paragraph\some-template.cshtml:line 15 at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader) at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag) at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer) at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter) at Dynamicweb.Rendering.Template.RenderRazorTemplate()
The problem is that the line umber does not match, as the template only is a part of the entire rendering. When we get this error in the frontend, you print out the entire page in code, so it is possible to find the excat line that caused the error. Can we get this as well in the log content in this monitoring section?
Kind regards
Mikkel Ulstrup