We help IT Professionals succeed at work.

'SqlServerCe' does not exist ?

huy302 asked
Medium Priority
Last Modified: 2008-01-09
I'm developing a application on Pocket PC with Visual Studio 2005

I use the reference
using System.Data.SqlServerCe;

to use sql server on the Pocket PC OS and I receive the error
The type or namespace name 'SqlServerCe' does not exist in the namespace 'System.Data' (are you missing an assembly reference?)

how can 'SqlServerCe' does not exist in the namespace 'System.Data' ?
anybody can help me?
Watch Question

The clue is in the error message...    "Are you missing an assembly reference"?

... the answer to that question is probably "yes" !

You need to add a reference to your project...   From the Solution Explorer (typically in the upper right-hand corner of the IDE),  click "My Project",  on the list of vertical tabs, click on "References", click the Add button and drill down the list to find "Microsoft SQL Mobile".

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


oh my, very simple

thanks alot ;)
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.