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
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Microsoft Desktop Engine

Microsoft Desktop Engine

Scheduled Pinned Locked Moved Database
csharpdatabasehelp
4 Posts 4 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.
  • A Offline
    A Offline
    Ankwa
    wrote on last edited by
    #1

    Hello , I just finished developing a program using Microsoft Desktop Engine with C# as the front end. Everything is okay on my system. But, on trying to deploy it on a different system it gives an error message that it can open the database. This is my first time in using the Microsoft Desktop engine. All this while I have been using Access as my database engine and normally what I do after developing a program is to transfer the Database file in Access after installation to the client’s system and everything will be okay. But with the Desktop Engine what I did was to 1) Install it on the client computer 2) Transfer the Database file to the client’s system. On running it was giving me message that it can’t open it. I would be glad if anybody can show me how Microsoft Desktop Engine is deployed together with a program developed using it as the database engine. Thanks in anticipation.

    E M J 3 Replies Last reply
    0
    • A Ankwa

      Hello , I just finished developing a program using Microsoft Desktop Engine with C# as the front end. Everything is okay on my system. But, on trying to deploy it on a different system it gives an error message that it can open the database. This is my first time in using the Microsoft Desktop engine. All this while I have been using Access as my database engine and normally what I do after developing a program is to transfer the Database file in Access after installation to the client’s system and everything will be okay. But with the Desktop Engine what I did was to 1) Install it on the client computer 2) Transfer the Database file to the client’s system. On running it was giving me message that it can’t open it. I would be glad if anybody can show me how Microsoft Desktop Engine is deployed together with a program developed using it as the database engine. Thanks in anticipation.

      E Offline
      E Offline
      earl
      wrote on last edited by
      #2

      I don't think you can just up and transfer the database file. Try doing this instead: osql -U[username] -P[upass] -S[database] -Q "BACKUP DATABASE [database] to DISK='c:\blah.backup'" Move blah.backup to the new system, then run the same command with statement "RESTORE DATABASE [database] from DISK='c:\blah.backup'" This should move the data + schema. You'll probably want to run it as sa, so a sample command is: osql -Usa -Ppassword -SCOMPNAME\DBNAME -Q "BACKUP test01 TO DISK='C:\backup'" HTH -earl-

      1 Reply Last reply
      0
      • A Ankwa

        Hello , I just finished developing a program using Microsoft Desktop Engine with C# as the front end. Everything is okay on my system. But, on trying to deploy it on a different system it gives an error message that it can open the database. This is my first time in using the Microsoft Desktop engine. All this while I have been using Access as my database engine and normally what I do after developing a program is to transfer the Database file in Access after installation to the client’s system and everything will be okay. But with the Desktop Engine what I did was to 1) Install it on the client computer 2) Transfer the Database file to the client’s system. On running it was giving me message that it can’t open it. I would be glad if anybody can show me how Microsoft Desktop Engine is deployed together with a program developed using it as the database engine. Thanks in anticipation.

        M Offline
        M Offline
        Mike Ellison
        wrote on last edited by
        #3

        I'm guessing the user/login you're using on the production system lacks the access you have on your development system. Check user priviledges in the production database.

        1 Reply Last reply
        0
        • A Ankwa

          Hello , I just finished developing a program using Microsoft Desktop Engine with C# as the front end. Everything is okay on my system. But, on trying to deploy it on a different system it gives an error message that it can open the database. This is my first time in using the Microsoft Desktop engine. All this while I have been using Access as my database engine and normally what I do after developing a program is to transfer the Database file in Access after installation to the client’s system and everything will be okay. But with the Desktop Engine what I did was to 1) Install it on the client computer 2) Transfer the Database file to the client’s system. On running it was giving me message that it can’t open it. I would be glad if anybody can show me how Microsoft Desktop Engine is deployed together with a program developed using it as the database engine. Thanks in anticipation.

          J Offline
          J Offline
          jimpar
          wrote on last edited by
          #4

          check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmsde/html/msdedepl.asp

          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