Recently trying to learn ASP. NET MVC, when you click Add-New Item--visual in the data under C # to the ADO Entity Data Model, and the "Select Your data connection" error occurs, the " An error occurred in Microsoft SQL Server Compact 3.5. Please contact the provider vendor to resolve this issue. "and write it down here in case you forget."
Online check, said to reinstall the. NET Compact Framework 3.5,http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=65, I put a little emphasis on it, or I can't.
The solution is as follows:
1. Open the Registration form
2. Delete the following two registry files separately
32-bit operating system
(1) hkey_local_machine\software\microsoft\visualstudio\10.0\dataproviders\{7c602b5b-accb-4acd-9dc0-ca66388c1533 }
(2) hkey_local_machine\software\microsoft\visualstudio\9.0\dataproviders\{7c602b5b-accb-4acd-9dc0-ca66388c1533}
64-bit operating system
(1) hkey_local_machine\software\wow6432node\microsoft\visualstudio\10.0\dataproviders\{ 7c602b5b-accb-4acd-9dc0-ca66388c1533}
(2) hkey_local_machine\software\wow6432node\microsoft\visualstudio\9.0\dataproviders\{ 7c602b5b-accb-4acd-9dc0-ca66388c1533}
Try it again and solve it perfectly.