The upgrade wizard seems to complete without issue but when I click to open site it will not load and the followin error I see in the logs.
DotNetNuke.Services.Exceptions.Exceptions - System.Web.HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
Hello!
First, please know that I moved your post to the upgrade forum since it fits better there. 😉
Unfortunately, that error is quite common in .NET and could reference anything. Did you upgrade your extensions before upgrading DNN? This may be the root cause, if you didn't.
Maybe the following upgrade resources might help you:
Posted By Jim McIntosh on 4/17/2024 1:11 PM The upgrade wizard seems to complete without issue but when I click to open site it will not load and the followin error I see in the logs. DotNetNuke.Services.Exceptions.Exceptions - System.Web.HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
My first guess would be a theme issue. You could try switching to the default theme (Xcillion if DNN 9.x) and see if the problem persists. If a custom theme is used on all pages and the site will not load at all, you may need to change the theme for the site or a page in the database directly.
There does seem to be some refernces to skins ....
at DNNGo.Modules.xPlugin.BaseSkin.GetHostSetting(String key) at DNNGo.Modules.xPlugin.BaseSkin.get_CrmVersion() at DNNGo.Modules.xPlugin.BaseSkin.LoadScript(String JsName) at DNNGo.Modules.xPlugin.Skin_Menus.Page_Init(Object sender, EventArgs e)" 2024-04-17 13:52:50,307 [Thread:23][FATAL] DotNetNuke.Services.Exceptions.Exceptions - System.Web.HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
Yeah, you probably need to upgrade all third-party and custom extensions before you start upgrading. ☹️
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.