I am trying to save data into the MS SQL db using Entity Framework in dot net core. But I am getting this error - "The ADO.NET provider with invariant name 'System.Data.SqlClient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details.' "
<pre>configuration> <configSections> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </configSections> <connectionStrings> <add name="SampleTaskEntities" connectionString="metadata=res://*/SampleTask.csdl|res://*/SampleTask.ssdl|res://*/SampleTask.msl;provider=System.Data.SqlClient;provider connection string="data source=SUYASH3148523;initial catalog=SampleTask;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> </connectionStrings> <entityFramework> <providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)