Unable to retrieve metadata , Unable to find requested .NET framework Data Provider

Pyx

New Member
Hi I am just learning asp.net MVC and while trying to add a new Controller I get this error:
JFoFg.png
This are the configurationg I am making:
PpwMx.gif
This is my code:\[code\] public class Movie { public int ID { get; set; } public string Title { get; set; } public DateTime ReleaseDate { get; set; } public string Genre { get; set; } public decimal Price { get; set; }}public class MovieDBContext : DbContext{ public DbSet<Movie> Movies { get; set; }}<add name="MovieDBContext" connectionString="Data Source=|DataDirectory|Movies.sdf" providerName="System.Data.SqlServerCe.4.0"/>\[/code\]What am I doing wrong?
 
Back
Top