When trying to access the backoffice in Umbraco 7.15.6, am getting this error:
Compiler Error Message: CS0234: The type or namespace name 'PublishedModels' does not exist in the namespace 'Umbraco.Web' (are you missing an assembly reference?)
Source Error:
Line 41: using Umbraco.Web.Mvc;
Line 42: using Examine;
Line 43: using Umbraco.Web.PublishedModels;
Line 44:
Line 45: #line 2 "C:\pathtoumbracoroot\umbraco\Views\Default.cshtml"
When I examine umbraco/views/default.cshtml, there is no line: @using Umbraco.Web.PublishedModels;
In fact searching the entire project for Umbraco.Web.PublishedModels returns 0 results.
In web.config, Umbraco.ModelsBuilder.Enable is set to false.
What could explain this error, and how would I resolve it?
Backoffice compilation error
When trying to access the backoffice in Umbraco 7.15.6, am getting this error:
When I examine umbraco/views/default.cshtml, there is no line: @using Umbraco.Web.PublishedModels;
In fact searching the entire project for Umbraco.Web.PublishedModels returns 0 results.
In web.config, Umbraco.ModelsBuilder.Enable is set to false.
What could explain this error, and how would I resolve it?
I resolved this by commenting out the following line in /umbraco/views/web.config:
Would still like to know why this exception even started happening, anyone have any idea?
is working on a reply...