Problem installing SQLServerCE on CE5 device

Discussion in 'ASP .Net' started by Chris Stephens, Jan 13, 2010.

  1. I'm working thru the process of getting an existing WM5 application running on a new CE5 device, but the SQLServerCE is giving the error..

    "File or assembly name 'System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=3BE235DF1C8D2AD3', or one of its dependencies, was not found"

    The exception suggests that there are missing SQLServer dll's even tho I'm certain I had installed all the relevant cab files. In order to track down what could be going wrong, I created a new project with a single button that creates a new database file (later changed to open an existing database) and then used the deploy/debug in visual studio to deploy all the required files to the device, in case I was missing something. This gave the same error.

    The device lists the following as having been installed...

    SQLSeverCompact 3.5 Core
    SQLServerCompact 3.5 Repl
    SQLServerCompact 3.5 Tools EN

    Running the same test against a WM platform, along with changing the target platform in VS, works fine. Also, repeating the same under VS2005 with SQL compact edition 3.0 behaves in the same manner.

    Using the query tool that gets installed on the device I am able to create a new database without any problem and when changing the test app to open this db rather than create a new one, the same results are had.

    It all points to there being something wrong with the device.

    Any ideas?

    Chris


    Submitted via EggHeadCafe - Software Developer Portal of Choice
    IE username:password @domain.com behavior
    http://www.eggheadcafe.com/tutorial...ae5-9d4aa87d6b14/ie-usernamepassword-dom.aspx
    Chris Stephens, Jan 13, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nishadixit
    Replies:
    5
    Views:
    1,236
    Joe Discar
    Jun 1, 2005
  2. Replies:
    1
    Views:
    413
    santosh
    Nov 27, 2006
  3. Ben Krueger
    Replies:
    0
    Views:
    120
    Ben Krueger
    Oct 13, 2005
  4. ÂÀÏþ´¨
    Replies:
    0
    Views:
    815
    ÂÀÏþ´¨
    Mar 28, 2007
  5. Replies:
    1
    Views:
    1,148
    Christopher Fairbairn
    Feb 24, 2008
Loading...

Share This Page