I recently upgraded my DNN website from version 09.13.9 to 10.1.2. After the upgrade, I started encountering several errors in the logs related to caching and module indexing. The errors occur when the system attempts to index certain modules or load business controller classes. Specifically, the errors indicate an issue with an empty or null CacheKey parameter, causing a System.ArgumentException.
CacheKey
System.ArgumentException
Additionally, there are several System.TypeLoadException errors, indicating that types such as DotNetNuke.Modules.Documents.DocumentController and DotNetNuke.Modules.Contacts.ContactController could not be loaded from the updated version of DNN. 2025-10-27 13:12:08,213 [SERVER5WIN2016][Thread:61][ERROR] DotNetNuke.Services.Search.ModuleIndexer - System.ArgumentException: Argument cannot be null or an empty string. Parameter name: CacheKey at DotNetNuke.Services.Cache.CachingProvider.GetCacheKey(String cacheKey) at DotNetNuke.Common.Utilities.DataCache.GetCache(String cacheKey) at DotNetNuke.Framework.Reflection.CreateType(String typeName, String cacheKey, Boolean useCache, Boolean ignoreErrors) at DotNetNuke.Services.Search.ModuleIndexer.GetModulesForIndex(Int32 portalId) at DotNetNuke.Services.Cache.CachingProvider.GetCacheKey(String cacheKey) at DotNetNuke.Common.Utilities.DataCache.GetCache(String cacheKey) at DotNetNuke.Framework.Reflection.CreateType(String typeName, String cacheKey, Boolean useCache, Boolean ignoreErrors) at DotNetNuke.Services.Search.ModuleIndexer.GetModulesForIndex(Int32 portalId) I would greatly appreciate any insights into why these errors are occurring after the upgrade, and if there is any known fix for this issue. If it’s related to the cache key handling or changes in the module architecture post-upgrade, any guidance would be very helpful.
System.TypeLoadException
DotNetNuke.Modules.Documents.DocumentController
DotNetNuke.Modules.Contacts.ContactController
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.