0
votes

I have Visual Studio 2010 Prof and sp1 installed. When I go to server to add new connection and create a new DB with SQL Server Compact.

There is no SQL Server Compact 4 option but 3.5?

I tried to run tools for vs2010 and SQL Server Compact which I got a need to install sp1 error which I already heave?

How do I create DB's with compact edition in vs2010?

1

1 Answers

1
votes

You need to download the SQL Server Compact Edition v4 from the Microsoft download center and install it.

It's not part of VS 2010 (since it was released after VS 2010)

Update: did you also download and install the Visual Studio 2010 SP1 Tools for SQL Server Compact 4 ?

Update #2: sorry, can't reproduce that issue of yours - after I've downloaded and installed those bits (SQL Server CE 4 runtime + VS 2010 tools), I do get the SQL Server Compact 4.0 in my VS 2010 Server Explorer > Add Connection dialog:

enter image description here