Solved

system.data.sqlserverce not found

Posted on 2012-12-20
3
662 Views
Last Modified: 2012-12-21
I have installed SQL Server Compact Edition v.4 on my system but I cannot find a namespace for it.  I am using vb.net 2010 express.
0
Comment
Question by:dgtdaddy
3 Comments
 
LVL 10

Expert Comment

by:asavah
ID: 38710235
It's been long time since I coded in VB.NET but check this, it may help:
http://chalaki.com/using-sql-server-ce-in-visual-studio-2010-express-sp1/177/
0
 
LVL 42

Accepted Solution

by:
Eugene Z earned 500 total points
ID: 38710287
check
Building Applications for Desktops (SQL Server Compact)
http://msdn.microsoft.com/en-us/library/ms173298.aspx

and solution from http://social.msdn.microsoft.com/Forums/en-US/sqlce/thread/b141634d-417f-47e3-a704-e55f09774293

 this assembly is part of SQL Server Compact Edition and not part of Microsoft .net Framework. In order to see it in Object Browser, we have to add it manually. Please see the steps below:

1.       In Visual Studio, please press CTRL+J to display Object Browser

2.       From the dropdown list, please choose “Edit Custom Component Set…”

3.       In Edit Custom Component Set window, please switch to Browse tab

4.       Locate to the location of this assembly
 we could found it in the following folder:
 c:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll
 c:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll

5.       Double click it to select it

6.       Click OK
0
 

Author Closing Comment

by:dgtdaddy
ID: 38713302
I was not able to use the process described to modify my components the information provided enabled me to find the assembly and add it to my references.  The example program I found works.  Thanks so much for the help.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql query 5 44
Need SSIS project 2 30
how to extract last 6 digits from a varchar, sql 4 24
SQL Convert "vertical" data to "horizontal" data 4 30
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question