Hi, I have created a program in VB.Net using Visual Studio 2008, the program works fine and everything is working until I try to install it.
I need to be able to add it to a flash drive so I can load it up on a handheld device. I have gone through the publish wizard on my PC and created the Application Manifest and other Files on my PC, I have then copied this folder onto a memory stick and then accessed it through the handheld and run the set up. everything seems to work but when I try and access the program I get an error message stating that the program can not find the database file; it tells me to check the path [Data Source = database1.sdf] i have searched for my database and it does not appear that it has been deployed.
No idea what the problem could be as this is the first time I have tried deploying an SQL Server compact database with a program. I am sure that I have missed something but can not find anything in the tutorials that would cause my problem.
The device I am deploying too is a panasonic Toughbook which is running Windows XP, it already contains an application which runs an SQL Server DB so This can't be an issue.
Any help would be really appreciated.
Thanks
Adam
I need to be able to add it to a flash drive so I can load it up on a handheld device. I have gone through the publish wizard on my PC and created the Application Manifest and other Files on my PC, I have then copied this folder onto a memory stick and then accessed it through the handheld and run the set up. everything seems to work but when I try and access the program I get an error message stating that the program can not find the database file; it tells me to check the path [Data Source = database1.sdf] i have searched for my database and it does not appear that it has been deployed.
No idea what the problem could be as this is the first time I have tried deploying an SQL Server compact database with a program. I am sure that I have missed something but can not find anything in the tutorials that would cause my problem.
The device I am deploying too is a panasonic Toughbook which is running Windows XP, it already contains an application which runs an SQL Server DB so This can't be an issue.
Any help would be really appreciated.
Thanks
Adam
Comment