Im seeing something strange when deploying my website to IIS.
Im running Umbraco 13.4.1, and under Visual studio, I used NUGet to install the Our.Umbraco.MaintenanceMode package. This works fine under Visual Studio, however when I publish the website to IIS, the Dashboard does not show, and I see this in the browser console:
umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:147 Error: [$controller:ctrlreg] http://errors.angularjs.org/1.8.3/$controller/ctrlreg?p0=maintenanceModeDashboardController
at umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:25:168
at umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:117:19
at ea (umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:99:20)
at p (umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:90:355)
at g (umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:84:186)
at umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:83:311
at Object.link (umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:321:432)
at umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:35:134
at Ca (umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:108:361)
at p (umbraco-backoffice-js.js.vc6e8bc0959901a75d8026fd6454b7729c35d534b:92:340) '<div ng-include="property.view">'
Some other Dashboards (such as the Cultiv.Hangfire one ) show up fine.
Any ideas what might be causing this. I tried deleting the Smidge Cache folder, but it did not make a difference.
Setting the Debug :true flag in the appsettings.json file allowed the Dashboard to work. Unfortunately it is not a solution as I cannot leave Debug on for Production. Has anyone else come across this?
What other packages do you have installed? when in production mode, Umbraco squishes all the JavaScript for all the packages together, it can often be something conflicting between two packages.
if you have a full list of installed 3rd party things we might be able to work out where the clash is.
Maintanance Mode Dashboard not showing on IIS
Hi All,
Im seeing something strange when deploying my website to IIS.
Im running Umbraco 13.4.1, and under Visual studio, I used NUGet to install the Our.Umbraco.MaintenanceMode package. This works fine under Visual Studio, however when I publish the website to IIS, the Dashboard does not show, and I see this in the browser console:
Some other Dashboards (such as the Cultiv.Hangfire one ) show up fine.
Any ideas what might be causing this. I tried deleting the Smidge Cache folder, but it did not make a difference.
Thanks in advance,
Kap.
Setting the Debug :true flag in the appsettings.json file allowed the Dashboard to work. Unfortunately it is not a solution as I cannot leave Debug on for Production. Has anyone else come across this?
Thanks
Kap.
Hi,
What other packages do you have installed? when in production mode, Umbraco squishes all the JavaScript for all the packages together, it can often be something conflicting between two packages.
if you have a full list of installed 3rd party things we might be able to work out where the clash is.
Hi Kevin,
Thanks for the info. I will see if I can identify the misbehaving package. I think it might be an internal dashboard which is causing the issue.
Thanks
Kap.
Just found this post - which appears to solve the issue:
Effectively just added
to the Umbraco section of the appsettings.json file, and the dashboards work.
is working on a reply...