The AppId option must be provided

1 month ago
Hi guys,
I use NopCommerce 4.1 and this error accoured:
Activated  Event  Time  Duration  Thread
  Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll ("The 'AppId' option must be provided.") Exception thrown: 'System.ArgumentException' in System.Private.CoreLib.dll ("The 'AppId' option must be provided.")

Please guide me how to resolve this problem.
1 month ago
Check this issue. Here is the answer.
1 month ago
Thanks for reply.
I change it like NopCommerce 4.2 to:
/// <summary>
        /// Resolve dependency
        /// </summary>
        /// <param name="type">Type of resolved service</param>
        /// <returns>Resolved service</returns>
        public object Resolve(Type type)
        {
            //HP
            return GetServiceProvider().GetService(type);
        }

but the problem still exists.