Storage card in the emulator
-
Hi, I am a novice in developing mobile applications. The problem is with my mobile database which is saved in the storage card of the emulator. When i execute my program the following error occurs:
Acces to the database file is not allowed. [File name = \Storage Card\ModeDifféré\BaseGmaoLocale.sdf]
I have to keep you informed that the connexion string that i made is the following
@"Data Source =\Storage Card\ModeDifféré\BaseGmaoLocale.sdf;"
So what is the problem. How can i process to solve this problem. thank you for your help.
-
Hi, I am a novice in developing mobile applications. The problem is with my mobile database which is saved in the storage card of the emulator. When i execute my program the following error occurs:
Acces to the database file is not allowed. [File name = \Storage Card\ModeDifféré\BaseGmaoLocale.sdf]
I have to keep you informed that the connexion string that i made is the following
@"Data Source =\Storage Card\ModeDifféré\BaseGmaoLocale.sdf;"
So what is the problem. How can i process to solve this problem. thank you for your help.
Are we still going about this? What you see in the emulator as 'Storage Card', is the directory that you have shared from your PC when you set up the emulator settings. In order to use the database on your emulator (or an device for that matter) you should copy this file somewhere in the '/' hierarchy of your device (the other drive you see in mobile explorer), and refer to it accordingly.
-
Are we still going about this? What you see in the emulator as 'Storage Card', is the directory that you have shared from your PC when you set up the emulator settings. In order to use the database on your emulator (or an device for that matter) you should copy this file somewhere in the '/' hierarchy of your device (the other drive you see in mobile explorer), and refer to it accordingly.
Hi, I think that you gave me the idea without precision and i thank you. However i don't know how to do it. Can you show me how to do the copy please. thank you in advance. :sigh:
-
Hi, I think that you gave me the idea without precision and i thank you. However i don't know how to do it. Can you show me how to do the copy please. thank you in advance. :sigh:
thanks to tunisien86 that gave an idea to solve the problem this is the link you can see it if you have problems. thank you. http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/thread/0f32993e-5b16-43b4-b7b6-09a3f66eb2f2/