Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL CE can't open its own database [modified]

SQL CE can't open its own database [modified]

Scheduled Pinned Locked Moved Database
databasequestionsql-serversysadminannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hairy_hats
    wrote on last edited by
    #1

    Hi all, I just ran some code to create a database and a table within it. I then try to open it within the same program using the same connection string and get an exception:

    You are trying to access an older version of a SQL Server Compact Edition database.
    If this is a SQL Server CE 1.0 or 2.0 database, run upgrade.exe.
    If this is a SQL Server Compact Edition 3.0 or later database, run Compact / Repair.
    [ Db version = 3505053,Requested version = 3004180,File name = XXXX ]

    How can I be running a program that creates a database using a different version of SQL CE? :confused:

    modified on Friday, June 11, 2010 9:05 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups