In some situations, users might encounter a critical error message when accessing their site. Critical error messages may also be present when viewing the content visualizers.
If you browse to the DNN log files, you will see the following error:
|System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Contains(T item)
at DotNetNuke.Entities.Urls.CustomUrlDictController.FetchCustomUrlDictionary(Int32 portalId, Boolean forceRebuild, Boolean bypassCache, FriendlyUrlSettings settings, SharedDictionary`2& customAliasForTabs, Guid parentTraceId)
This article provides the steps on how to resolve this error.
Clearing the server cache will resolve the error above. After clearing the cache, the dictionary in the memory will be updated.
Note: This error might reoccur since it is a reported bug in Evoq 9.1.1.
To permanently resolve this issue, upgrade your environment to Evoq 9.2 or later, which is documented in the defect ticket: DNN-8067.