Skip to content

[Bug]: Upgrade to V10.0.1 breaks custom modules with consistent error "Parameter name: CacheKey" #6665

Description

@bdimolfe-winmill

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Hello everyone,

After upgrading 2 separate DNN sites to V10.0.1 we are getting runtime errors for all of our custom modules that follow the same pattern below where the name of the module appears in the error message:

[ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Exception: Error Creating BusinessControllerClass '' of module() id=(484) in tab(40) and portal(0) ---> 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)

Any hints as to what might be the cause and how to solve?

Thank you!
Ben DiMolfetta

Steps to reproduce?

Upgrade to V10.0.1 -- upgrade wizard completes without errors
Try to run site and it doesn't load

Current Behavior

No response

Expected Behavior

No response

Relevant log output

Anything else?

No response

Affected Versions

10.0.1 (latest v10 release)

What browsers are you seeing the problem on?

Chrome

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions