The AppId option must be provided

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years 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.
4 years ago
Check this issue. Here is the answer.
4 years 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.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.