Hello,
I'm trying to upgrade my solution (based on wrap) to version 9, but I'm running in some trouble. The backend runs fine but when I try to access the frontend I get this exception :
Exception in template (Designs/Dwsimple/_parsed/fullwidth.parsed.cshtml): System.NullReferenceException: Object reference not set to an instance of an object. at CompiledRazorTemplates.Dynamic.ccabdcfbedb.Execute() at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context) at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag) at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName) at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName) at Dynamicweb.Rendering.Template.Output()
As you can see it doesn't specify a line number. It seems to come from my master page template but the file fullwidth.parsed.html is nearly 3000 lines long, so it makes it difficult to pinpoint an error in it. I haven't been able to debug (I use Visual Studio 2013). Do you have any tip to debug that kind of error ?
Thanks