Click here to Skip to main content
15,917,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to add Sql sever CE database 4.0 in vs2012 wpf project. when i add from new item it add , when i trying to create a table it shows me following error. i already installed sql sever compact edition 4.0. i also find a dll in my system i gel version 9 and 10 but not 11. where i should download this?
Posted

Please find the solution here.
Which has accepted as solution, may help you.

Microsoft sql server sqltdiagm - file - missing[^]
 
Share this answer
 
Comments
Rahul chalkhure 1-Nov-13 2:01am    
i read that solution i have version 9 and 10 dll but not 11 where should i get?
[no name] 1-Nov-13 4:28am    
As much I too searched in Google, found version 10 as latest available for download. If I can get any clue, will update you.
C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies is the correct folder location.

You need to add references to:

XML
Microsoft.SqlServer.ConnectionInfo.dll

Microsoft.SqlServer.Smo.dll

Microsoft.SqlServer.Management.Sdk.Sfc.dll

Microsoft.SqlServer.SqlEnum.dll

(These are the minimum files that are required to build an SMO application)

Ref.: How to: Create a Visual C# SMO Project in Visual Studio .NET


Ref.: How to: Create a Visual C# SMO Project in Visual Studio .NET
[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900