[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
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?
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
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
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
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