SQL CE 3.5SP1 not adding to a mobile device

Posted on 2009-02-23
Last Modified: 2013-12-17

I am trying to add a SQL CE 3.5 database to my windows mobile 6 project.  I have added the database through "add data sources" but I am getting the error: Can't find PInvoke DLL 'sqlceme35.dll' when I try and deploy it onto my device.  

It seems to have been a common problem, but I cannot see a set guide on how to fix it.

Any help would be great.  Let me know if you need any more information.

Cheers, Paul
Question by:fly12
    LVL 7

    Assisted Solution

    by:Hemantgiri S. Goswami

    Accepted Solution


    Afraid that link was of no use.  But I have got it working.  Seems VS 2008 SP1 and SQL 3.5 SP1 are not compatible at the minute when using the emulator (unsure about a physical device).

    LVL 7

    Expert Comment

    by:Hemantgiri S. Goswami
    Fly12 has not mentioned that he is using vs 2008, never minds this link
    see if this link would be any help !!

    Author Comment

    Hi Sorry for the delay in replying.

    Afraid the reply by ghemant is slightly different to mine, and therefore was unable to help.

    But thanks to everyone who posted a reply.  Cheers for your help.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now