while running the code locally I am getting error as Object reference not set to an instance of an object.

1 个月 前
I am working on v4.3 and I am trying to run it from local.  Whenever I am trying to run it from my local its giving me error as "Object reference not set to an instance of an object." at below line

   at Nop.Data.DataProviderManager.get_DataProvider() in C:\Users\A717055\Downloads\nopCommerce-developLatest\nopCommerce-develop\src\Libraries\Nop.Data\DataProviderManager.cs:line 41
public INopDataProvider DataProvider
        {
            get
            {
                var dataProviderType = Singleton<DataSettings>.Instance.DataProvider;

                return GetDataProvider(dataProviderType);
            }
        }
1 个月 前
Are you working with source or no source version NopCommerce?
Check your datasettings.json file for the provider value if your database installed. Do you have a database?
Post some more detailed information on your install setup.