Hi community,
I’m encountering several issues after duplicating our production DotNetNuke (DNN) environment to a UAT instance. I would appreciate any insights or suggestions.
After copying the entire site folder, creating the UAT website, restoring the database, and updating the connection string, we’re seeing the following error in the log:
<code>Could not load provider DotNetNuke.Providers.RadEditorProvider.EditorProvider, DotNetNuke.RadEditorProvider </code>
In addition to this, we are experiencing several other errors related to missing assemblies or unresolved dependencies. Here are a few examples from the logs:
<code>[ERROR] DotNetNuke.Web.DependencyInjectionInitialize - Unable to configure services for ToSic.Sxc, Version=12.8.0.39546... - LoaderException: Could not load file or assembly 'Microsoft.AspNetCore.Http.Features, Version=1.1.1.0...' </code>
<code>[ERROR] DotNetNuke.Web.DependencyInjectionInitialize - Unable to configure services for WI.Modules.WowChartv2, Version=2.0.9.16913... - LoaderException: Could not load type 'WI.Modules.ModuleBase.ModuleControlBase' from assembly 'WI.Modules.ModuleBase, Version=1.0.0.0...'</code>
<code>[ERROR] DotNetNuke.ComponentModel.ProviderInstaller - ConfigurationErrorsException: Could not load provider DotNetNuke.Providers.RadEditorProvider.EditorProvider... </code>
It seems that several third-party modules or dependencies are either missing or not loading correctly in the UAT environment.
Has anyone experienced similar issues or can suggest a reliable approach to troubleshoot and resolve this? Specifically:
Is there a checklist to ensure all necessary DLLs and configurations are migrated properly?
Could this be related to incorrect binding redirects, missing packages, or module version mismatches?
Are there best practices for cloning a DNN environment to avoid these types of issues?
Any help would be greatly appreciated.
Best regards, Jay
It sounds like two things may be true:
If the files are indeed there, then the most likely issue is Windows folder-level permissions, Be sure you apply the required permissions so IIS can properly host your website.
The other possibility could be that you haven't fully setup your environment yet to host an ASP.NET application.
Hi Will,
Thank you for your response.
We are currently running DNN version 9.10.2 in our production environment without any issues. Now, we’re in the process of setting up a UAT environment using the following steps:
Copied the entire website folder from the production server to the UAT server.
Backed up the production database and restored it on the UAT SQL Server.
Updated the connectionString in webDOTconfig to point to the UAT database.
connectionString
webDOTconfig
However, upon launching the site in UAT, I encountered a large number of errors in the logs.
Did I miss anything in the setup process?
also, another attempt I tried for another similar error below: 2025-06-12 14:37:36.504-04:00 [uat][D:2][T:1][ERROR] DotNetNuke.Web.Mvc.Extensions.StartupExtensions - Unable to configure services for Microsoft.SqlServer.Smo, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, see exception for details - LoaderException: Could not load file or assembly 'Microsoft.SqlServer.Dmf.Common, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
I tried reinstall the whole sql server service pack, the issue still not fixed. Then I copied all the file from sevice pack folder, then we got another error: "Could not load file or assembly 'Microsoft.ReportingServices.MapWinControl' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Just to confirm:
The UAT server is hosting other websites successfully.
I followed the steps shown in the video you shared.
The IIS_IUSRS group has full permissions on the entire site folder.
IIS_IUSRS
Any guidance would be greatly appreciated.
You also need to add/update the default PortalAlias in the database. But, this sounds like a completely different issue/problem than your original post. Is this the same site?
Yes, it is the same website. Those errors are just few examples in our UAT environmnet. Any more suggestions please?
Also, how should I change portalallias in the database? Is there any instruction I can follow?
Thanks again,
Jay
Did you try forcing the NTSF rights on the folder (and subfolders) from the folders security settings (in windows)?
Thank you Timo.
Yes, I did grant full permission to IIS_IURSRS.and also tried your suggestion, but still no luck.
Any further suggestion please?
Posted By Jie on 6/13/2025 11:43 AM Yes, it is the same website. Those errors are just few examples in our UAT environmnet. Also, how should I change portalallias in the database? Is there any instruction I can follow? Jay
Yes, it is the same website. Those errors are just few examples in our UAT environmnet.
I don't know... This screams "missing files" or "wrong permissions."
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
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.