An unexpected error occurred while trying to connect to the database in Visual Studio 2010

Problem:

In Visual Studio 2010 Professional, I select "Server Explorer" and right-click on "Data Connections" and select "Add Connection." Then I get this error:

An unexpected error occurred in the .NET Framework Data Provider for Microsoft SQL Server Compact 3.5. Contact your supplier vendor to resolve this issue.

My surrounding:

  • Windows 7 SP1
  • Visual Studio 2010 Professional (Trial)
  • SQL Server 2008 R2 Express

I tried

  • Installing Visual Web Developer Express (gives the same problem)
  • Reinstall VS 2010 Professional
  • Reinstall Sql Server 2008 R2 Express
  • Tools => Import and Export Settings => Reset all settings
  • Run: Devenv.exe / ResetSkipPkgs

Comments

, - . : http://social.msdn.microsoft.com/Forums/en/vstsstart/thread/b6f7fc36-5a34-4166-9e75-7ac39993182b

, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\DataProviders

DataProviders 9.0 ( 10.0). , , .

!

+3
2

" " , "Visual Studio". Visual Studio 2010 Professional. !

0

VS 2010, , . ODP .Net, , , !

0

All Articles