Firstly, I found many questions and many answers related or perceived identically to my problem, however, nothing works for me.
I have a new MVC4 boilerplate website, a new database in a new installation of SQL Server 2008 r2. I ran aspnet_regsql in the database and created all the tables. I created a .edmx model that generated the connection string in my web.config.
<connectionStrings> <add name="TestEntities" connectionString="metadata=res://*/Models.Test.csdl|res://*/Models.Test.ssdl|res://*/Models.Test.msl;provider=System.Data.SqlClient;provider connection string="data source=WEBSRV\SQLEXPRESS;initial catalog=Test;persist security info=True;user id=Test;password=Test#1337;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> </connectionStrings>
Building a website returns me an error Unable to find the requested .Net Framework Data Provider. It may not be installed. Unable to find the requested .Net Framework Data Provider. It may not be installed.
My machine.config is missing self-closing <DbProviderFactories/> The same problem occurs when I launch a website locally on the visual studio web host or on my IIS web server. I did not install NuGet packages
Why am I getting this error?
Perry source share