开发者

Visual Studio - MDF File - Data provider could not be loaded

开发者 https://www.devze.com 2023-02-03 17:11 出处:网络
I have an MDF File in a Visual Studio project. On my laptop, I can double click on this, and it opens up in a Visual studio window,开发者_JAVA技巧 in Server Explorer.

I have an MDF File in a Visual Studio project. On my laptop, I can double click on this, and it opens up in a Visual studio window,开发者_JAVA技巧 in Server Explorer.

If I try this on my pc in the office, i get "Data provider identified by Guid '' could not be loaded

I've just re-installed VS2010, to no avail.

SQL Express 2008 is installed and working.

Any ideas?


I've come accross a solution that worked for me. I had this problem with an .sdf file (SQL Server Compact Edition).

  1. Close all instances of Visual Studio;
  2. Edit %AppData%\Microsoft\VisualStudio\10.0\ServerExplorer\DefaultView.SEView (could be under '%AppData%\Roaming')and remove the connection with the wrong Provider. If you do not know which of the provider is failing, simply delete the file
  3. Open Visual Studio and try to open your .mdf or .sdf file

This solution come from this site: http://connect.microsoft.com/VisualStudio/feedback/details/552006/unable-to-create-data-connection-in-server-explorer

0

精彩评论

暂无评论...
验证码 换一张
取 消