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).
- Close all instances of Visual Studio;
- 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 - 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
精彩评论