Brand new to Umbraco and I've installed it using the developer command line - I can run it just fine, it created the database - no problem
I also installed the clean starter package
when I view any of the pages there's an error underneath the title - the content of the page seems to all be there
the error looks like
Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.UmbracoCompilationException: Exception of type 'Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.UmbracoCompilationException' was thrown.
at Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.CollectibleRuntimeViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode)
at Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.CollectibleRuntimeViewCompiler.CompileAndEmit(String relativePath)
at Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.CollectibleRuntimeViewCompiler.OnCacheMiss(String normalizedPath)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath)
at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage)
at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.OnCacheMiss(ViewLocationExpanderContext expanderContext, ViewLocationCacheKey cacheKey)
at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromViewLocations(ActionContext actionContext, String pageName, Boolean isMainPage)
at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)
at Umbraco.Cms.Web.Website.ViewEngines.ProfilingViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)
at Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer)
at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData)
at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in D:\Virtual Web\Umbraco_SONET\Views\Partials\grid\editors\base.cshtml:line 6
I'm getting it on V11.3. Its working fine in development, but the published site is giving this error on some pages. Quite concerning that no-one from Umbraco has answered this.
Error with Clean Install
Hello!
Brand new to Umbraco and I've installed it using the developer command line - I can run it just fine, it created the database - no problem
I also installed the clean starter package
when I view any of the pages there's an error underneath the title - the content of the page seems to all be there
the error looks like
ideas?
Did you ever get this working? I'm having a similar error when trying to publish a V12 project.
what version of Umbraco are you installing?
I'm getting it on V11.3. Its working fine in development, but the published site is giving this error on some pages. Quite concerning that no-one from Umbraco has answered this.
Hi roger, this is a community based forum, if you require a response from Umbraco you should contact their support directly.
There is also an Umbraco DIscord channel you could try which may get more responses.
Is your error exactly the same as the one in the original post?
I'm using v12.2.0.
After a lot of searching and trial and error. I finally found out how to fix this.
Just added this to the config:
"ModelsBuilder":{ "ModelsMode":"Nothing" }
is working on a reply...