473,395 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem Deploying Program to Tablet PC

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
Oct 5 '10 #1
5 1896
Hi Adam

I haven’t done this for a while, but If memory serves you will need press the “application Files” button on the publish page and ensure that the database1.sdf file is included in your deployment.

Dave
Oct 6 '10 #2
Hi Thanks for getting back to me,

Database1.sdf is listed under application files it says Publish Status: Data File (Auto) and Download Group (Required)

Also Database1.sdf.deploy is one of the application files in the folder I am installing from.
Oct 7 '10 #3
I have had occasions where the settings “Auto” and “Required” were selected but, in my case, the DLL was not included in the deployment. I manually changed the “Auto” to “Include” to force its inclusion.
Oct 12 '10 #4
Thanks again but this still hasn't worked.

Should I have files downloaded onto the device anywhere? the files are not being copied which I think may be the issue.
Oct 13 '10 #5
Sorry Adam I have been away for awhile. Are you still having issues?

When you ‘publish’ an application no files are copies to any place that you can locate on the local computer. The idea is that the user will always go to the link that you provide. Then when you make updates they will always get the latest version of you program, This is not really designed to be a setup replace although you can get there with a lot of overriding and stuff.

If all you want to do is put the program on the tablet, copy the contents of the bin\release file to your thumb drive , include your .sdf file. You will need to ensure that the datasource in your connection string has the correct path to where you put the sdf file on the tablet (you could probably run directly from the thumb drive depending on the size of your database.
Oct 20 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Tomas Vera | last post by:
Hello All, I've developed a Commerce Server application and am having deployment problems. The issue is not Commerce Server specific, so I'll ask here, since questions get answered here. The...
0
by: Koen Appeltans | last post by:
Hi all, I'm developping an application for an xp-tablet-pc. It's a full xp, with the whole dotNet-framework (not just the compact-part). Now I'm having a specific problem that only happens on...
5
by: | last post by:
I've created a small vb.net application which uses the Data Access Application Block to access a SQL Server 2000 database. The application works fine on the machine with the development...
1
by: Records For Living Support | last post by:
I've just upgraded from Visual Studio 2003 to 2005 and I've finally got my website working on my laptop. WHen I try to send it over to the real webserver - it fails miserably. I've had MULTIPLE...
0
by: Rich | last post by:
Hello, I have a simple console app for deploying an MS Access app. Recently, I started having a problem publishing the app to my webserver with the publisher feature of VS2005 when I do an...
4
by: Andrew Chalk | last post by:
I have created an ASP.NET v1.1 web site that runs fine on my development machine. To deploy it to another XP computer I copied the whole of the web site to a directory on that computer and...
4
by: Martin Emanuelsson | last post by:
Hello, I'm having problem with an ASP.NET 2.0 application that I'm trying to deploy to one of our stage servers. The first thing that happened was that when I deployed the site it just stood...
1
by: JJ | last post by:
I'm having problems trying to publish an ASP.NET project from VS2005 and was hoping to get some pointers in the right direction. The project works fine from my development system using the...
0
by: Ben Voigt [C++ MVP] | last post by:
Ted wrote: Your question has already been answered, so I'll address this bit: The correct group would have been microsoft.public.vc.language
2
by: Rocke | last post by:
I'm a newbie at programming and have a program written and pretty much de-bugged. I also have a couple of databases on my local machine that are currently located in the default MSSQL.1 file. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.