Results 1 to 6 of 6

Thread: [RESOLVED] Installing app on memory card

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    London United Kingdom
    Posts
    334

    Resolved [RESOLVED] Installing app on memory card

    Hi, I have a db app and the db is growing so I install the app on the memory card where the db is in the app folder and I use the same connectionstring as when it was on the device that is ( "Data Source=\Program Files\Personal Manager\AppDB.sdf;" persist security info=False;") but its mot able to connect to the db even though there is program file on the memory card. Do I need different connenctionstring, if so could anyone help. Thanx
    Last edited by wiadus; Sep 15th, 2008 at 09:07 AM.

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Installing app on memory card

    why not install the db on the card - surely that is easier?

    Have you checked that the database is where you think it is - Data Source=\Program Files\Personal Manager\AppDB.sdf

    If you installed the app on the card, did it not install the database on the card?
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    London United Kingdom
    Posts
    334

    Re: Installing app on memory card

    Quote Originally Posted by petevick
    why not install the db on the card - surely that is easier?

    Have you checked that the database is where you think it is - Data Source=\Program Files\Personal Manager\AppDB.sdf

    If you installed the app on the card, did it not install the database on the card?
    Thanks Petevick, The db install on the card alright but the same connection string I use when it was on the device is given me an error that it can not find the path. Any help

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Installing app on memory card

    Hey,

    So the question still remains...

    When the application is installed on the device, what is the location of the DB file? I am assuming that it is located at Program Files\Personal Manager\AppDB.sdf. When you install the DB file onto the Storage Card, where is it located?

    Are you installing the entire application onto the storage card, or just the DB?

    Gary

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Installing app on memory card

    Hey,

    Assuming that the DB file is stored in the same folder structure as when it is on the device, then I suspect you will have to change your connection string as follows:

    \Storage Card\Program Files\Personal Manager\AppDB.sdf

    Hopefully this helps!!!

    Gary

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    London United Kingdom
    Posts
    334

    Re: Installing app on memory card

    Quote Originally Posted by gep13
    Hey,

    Assuming that the DB file is stored in the same folder structure as when it is on the device, then I suspect you will have to change your connection string as follows:

    \Storage Card\Program Files\Personal Manager\AppDB.sdf

    Hopefully this helps!!!

    Gary
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width