umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.42k stars 2.67k forks source link

ModelsBuilder.Embedded is disabled, the external ModelsBuilder was detected. #7937

Closed imranknp closed 4 years ago

imranknp commented 4 years ago

Hi

I have setup Umbraco's latest version 8.6 in the Azure portal. I am facing the document property building issue. When I create a new property in any document then it successfully created but it is not complied by Model Builder. I cannot use that property in the template until I restart the application.

I have following model builder configuration in web.config

<add key="Umbraco.ModelsBuilder.Enable" value="true" />
<add key="Umbraco.ModelsBuilder.ModelsMode" value="PureLive" />

I checked the log file and I noticed below information logged.

{"@t":"2020-04-10T14:05:05.1981319Z","@mt":"ModelsBuilder.Embedded is disabled, the external ModelsBuilder was detected.","SourceContext":"Umbraco.ModelsBuilder.Embedded.Compose.ModelsBuilderComposer","ProcessId":7396,"ProcessName":"w3wp","ThreadId":23,"AppDomainId":5,"AppDomainAppId":"LMW3SVC234278291ROOT","MachineName":"RD0004FFD707FE","Log4NetLevel":"INFO ","HttpRequestNumber":1,"HttpRequestId":"5811bc7f-77af-412f-bbe5-4ce964e944fc"}

Latest 8.6

Thanks Imran

imranknp commented 4 years ago

I got the solution. I didn't clean up the code before upgrading 8.5 to 8.6.