Hi,

I'm getting the following Exception on SettingService.cs page when I run the Nop.Web project

The project was running fine until a few days ago and then suddenly stopped working. Please help.

Thank you in advance.



An exception of type 'System.Data.ProviderIncompatibleException' occurred in EntityFramework.dll but was not handled in user code

Additional information: An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct.



Here is the Call Stack:

  [External Code]  
>  Nop.Services.dll!Nop.Services.Configuration.SettingService.GetAllSettings.AnonymousMethod__12_0() Line 218  C#
  Nop.Core.dll!Nop.Core.Caching.CacheExtensions.Get<System.Collections.Generic.Dictionary<string, System.Collections.Generic.KeyValuePair<int, string>>>(Nop.Core.Caching.ICacheManager cacheManager, string key, int cacheTime, System.Func<System.Collections.Generic.Dictionary<string, System.Collections.Generic.KeyValuePair<int, string>>> acquire) Line 23  C#
  Nop.Core.dll!Nop.Core.Caching.CacheExtensions.Get<System.Collections.Generic.Dictionary<string, System.Collections.Generic.KeyValuePair<int, string>>>(Nop.Core.Caching.ICacheManager cacheManager, string key, System.Func<System.Collections.Generic.Dictionary<string, System.Collections.Generic.KeyValuePair<int, string>>> acquire) Line 12  C#
  Nop.Services.dll!Nop.Services.Configuration.SettingService.GetAllSettings() Line 216  C#
  Nop.Services.dll!Nop.Services.Configuration.SettingService.GetSettingByKey<string>(string key, string defaultValue) Line 146  C#
  Nop.Services.dll!Nop.Services.Configuration.ConfigurationProvider<Nop.Core.Domain.StoreInformationSettings>.BuildConfiguration.AnonymousMethod__6_1(System.Reflection.PropertyInfo prop) Line 29  C#
  [External Code]  
  Nop.Services.dll!Nop.Services.Configuration.ConfigurationProvider<Nop.Core.Domain.StoreInformationSettings>.BuildConfiguration() Line 37  C#
  Nop.Services.dll!Nop.Services.Configuration.ConfigurationProvider<Nop.Core.Domain.StoreInformationSettings>.ConfigurationProvider(Nop.Services.Configuration.ISettingService settingService) Line 17  C#
  [External Code]  
  Nop.Web.Framework.dll!Nop.Web.Framework.SettingsSource.BuildRegistration.AnonymousMethod__2_0(Autofac.IComponentContext c, System.Collections.Generic.IEnumerable<Autofac.Core.Parameter> p) Line 327  C#
  [External Code]  
  Nop.Core.dll!Nop.Core.Infrastructure.DependencyManagement.ContainerManager.Resolve<Nop.Core.Domain.StoreInformationSettings>(string key) Line 108  C#
  Nop.Core.dll!Nop.Core.Infrastructure.NopEngine.Resolve<Nop.Core.Domain.StoreInformationSettings>() Line 81  C#
  Nop.Web.dll!Nop.Web.MvcApplication.Application_Start() Line 95  C#
  [External Code]