Hello, when I want to broadcast my site on Production Mode,
It gives an error, what I see in the logs,
{"@t":"2023-01-26T14:32:30.5579229Z","@mt":"Runtime mode validation failed for Production:\nDisable primary server election (and support for load balancing) to improve startup performance." ,"@l":"Error","SourceContext":"Umbraco.Cms.Infrastructure.Runtime.RuntimeState","ProcessId":20632,"ProcessName":"w3wp","ThreadId":1,"ApplicationId": "94fd4ebd6c078cbd976801aa45be5de5a1e975e5","MachineName":"SRVW141","Log4NetLevel":"ERROR"}
Umbraco Production Mode
Hello, when I want to broadcast my site on Production Mode,
It gives an error, what I see in the logs,
{"@t":"2023-01-26T14:32:30.5579229Z","@mt":"Runtime mode validation failed for Production:\nDisable primary server election (and support for load balancing) to improve startup performance." ,"@l":"Error","SourceContext":"Umbraco.Cms.Infrastructure.Runtime.RuntimeState","ProcessId":20632,"ProcessName":"w3wp","ThreadId":1,"ApplicationId": "94fd4ebd6c078cbd976801aa45be5de5a1e975e5","MachineName":"SRVW141","Log4NetLevel":"ERROR"}
but I can't find what to do can you help me?
Hi Gokhan,
I think you implemented the example from the docs here : https://docs.umbraco.com/umbraco-cms/fundamentals/setup/server-setup/runtime-modes#customize-extend-runtime-mode-validation
So this requires you to set the following setting to false. https://docs.umbraco.com/umbraco-cms/reference/configuration/globalsettings#disable-election-for-single-server
Or just remove the example code from your project.
Dave
Thnks, i fix with that
is working on a reply...