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. General Programming
  3. C#
  4. Deployment with .mdb

Deployment with .mdb

Scheduled Pinned Locked Moved C#
questioncsharpsysadmin
5 Posts 3 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
    amatbrewer
    wrote on last edited by
    #1

    I am using c# Express and trying to deploy a program that uses an .mdb file. It tries to use the same path that the original was in and the installation fails since that directory does not exist. How do I get it to place it, and look for it, in the same directory as the program?

    David Wilkes

    P S 2 Replies Last reply
    0
    • A amatbrewer

      I am using c# Express and trying to deploy a program that uses an .mdb file. It tries to use the same path that the original was in and the installation fails since that directory does not exist. How do I get it to place it, and look for it, in the same directory as the program?

      David Wilkes

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Using a deployment project? I simply add it to the application folder.

      A 1 Reply Last reply
      0
      • A amatbrewer

        I am using c# Express and trying to deploy a program that uses an .mdb file. It tries to use the same path that the original was in and the installation fails since that directory does not exist. How do I get it to place it, and look for it, in the same directory as the program?

        David Wilkes

        S Offline
        S Offline
        Seishin
        wrote on last edited by
        #3

        manually creating manifest and application files using mageui.exe. I had to do it this way in my plugin-like application because the project deployment does't include not referenced files like plugin dlls and I guess it won't include an mdb file..

        P 1 Reply Last reply
        0
        • S Seishin

          manually creating manifest and application files using mageui.exe. I had to do it this way in my plugin-like application because the project deployment does't include not referenced files like plugin dlls and I guess it won't include an mdb file..

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          But you can tell it to.

          1 Reply Last reply
          0
          • P PIEBALDconsult

            Using a deployment project? I simply add it to the application folder.

            A Offline
            A Offline
            amatbrewer
            wrote on last edited by
            #5

            Thanks for the reply!:-D I have been beating on this for a while now. When I add the MDB to the project it will not install. I get an error “Can not start the application”. When I look at the details I see this; COMPONENT STORE TRANSACTION FAILURE SUMMARY * Transaction at [1/19/2007 11:43:18 AM] - Staging of a component file (CDMAConverter.mdb) did not succeed. - Staging of a component file (Gamorrean.ico) did not succeed. - Staging of a component (CDMA_Converter.exe.genman) did not succeed. - Staging of a component file (CDMA_Converter.exe) did not succeed. - Installation of deployment (file:///E:/CDMA_Converter.application#CDMA_Converter.application, Version=1.0.2.0, Culture=neutral, PublicKeyToken=2022ca6c0b1c5b65, processorArchitecture=msil) did not succeed. - Setting one or more of the deployment metadata did not succeed. And this in the “Transactions Details” + System.Deployment.Internal.Isolation.StoreOperationStageComponentFile - Status: Failed - HRESULT: 0x80070057 - File: CDMAConverter.mdb

            David Wilkes

            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