Unable to find the requested .Net Framework Data Provider. It may not be installed. - when following mvc3 asp.net tutorial

前端 未结 8 2172
-上瘾入骨i
-上瘾入骨i 2020-12-01 20:42

I am following the ASP.NET MVC 3 Music store application tutorial but I keep getting stuck in part 4: http://www.asp.net/mvc/tutorials/mvc-music-store-part-4. It keeps telli

8条回答
  •  执笔经年
    2020-12-01 21:09

    I was able to solve a problem similar to this in Visual Studio 2010 by using NuGet.

    Go to Tools > Library Package Manager > Manage NuGet Packages For Solution...

    In the dialog, search for "EntityFramework.SqlServerCompact". You'll find a package with the description "Allows SQL Server Compact 4.0 to be used with Entity Framework." Install this package.

    An element similar to the following will be inserted in your web.config:

    
      
        
          
        
      
    
    

提交回复
热议问题