473,655 Members | 3,056 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ClickOnce updates and Data folder

Hi, I am settings up my application to work with ClickOnce deployment.
However, after instlling installing an update, the database doesn't get
copied. I tried everything I could think of.

It is a SQL Server Express database created in ClickOnce data folder
(ApplicationDep loyment.Current Deployment.Data Directory). I use User
Instances, that is, I connect directly to the database file.

So, I install version 0.7.0.0, run it, it creates a new database, I add data
to it. Then, I update to version 0.7.1.0. The database doesn't get copied so
I loose my data. I made sure the database is detached before updating but it
doesn't help. Any ideas? I'm clueless on this one.

This is the database that *should* get copied:
C:\Documents and Settings\Etienn e\Local
Settings\Apps\2 .0\Data\W596OLL L.TL5\5YR6XOT1. HHP\form...app_ dafda4b6e62d7a1 b_0000.0000_422 f5ed55aef8e45\D ata\FormanaDB.m df
(and log file)

Also, I create manifests manually using Mage tool because of Visual Studio
limitations.

btw, I can't find much on google about ClickOnce issues, anybody know of
active ClickOnce forums or something?

Thanks,
Etienne
Aug 15 '06 #1
0 1384

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1776
by: Mr. Beck | last post by:
I am in the process of creating a C# ClickOnce application that will be deployed in the coming months. I was initially thinking of deploying it through Windows Installation but due to the need of regular updates to the program on the client end, ClickOnce led itself to be the better candidate. With the initial Windows Installation I was planning on using obfuscation built in Visual Studio to make the code unable to be reverse engineered...
1
1696
by: Andrew86 | last post by:
I have an application which requires a number of DLLs (unmanaged ansi C dlls) to reside in the same directory as the application. I currently have these dlls included in the project folder and marked as "content". When I publish the application with ClickOnce and update my application - these dlls (along with a .chm help file that doesnt change) keep being redownloaded. From what I've read in all of the ClickOnce marketing hype, it...
3
3863
by: Ronald S. Cook | last post by:
We have a VS2005 Team setup and are developing a Windows app (smart client). We are in the cattle feeding business and have 10 distinct feedyards across the U.S. When we wish to deploy an update to our app, we must change an app setting in the project (the IP where the data access layer is) and also the URL in the ClickOnce (to correspond to a server at a particular feedyard). Once we publish, we have to change the app setting and the URL...
3
2680
by: Meelis Lilbok | last post by:
Hi I have made a project with vb.net and publish it(clickonce) On firs laucnh app creates a xml file in startuppath\database\file.xml Now when i update my app and publish it, after dwonloading updates on client machine cliconce "deletes" my directory and file. How to prevent this?
5
6530
by: DCDev | last post by:
I have a solution with multiple projects. One project is a windows forms project. I have report files (.rdlc) in a separate project that are built as "Content" with the "Copy Always" option. When I build the solution, these files are copied to the bin\Release directory, as they should be. However, when I publish the Windows Forms project, these content files are not copied. How can I make it so that these content files from the one...
3
3794
by: Peter Wyss | last post by:
Hello! I've a few questions about ClickOnce in VisualStudio 2005. The installation of my application works fine, I published the files on a webserver and installed the app on a winxp client, updates works also fine. But here's my first question: - Our app produces xml-files on startup, which stores several informations like gui-settings etc...now when I publish a new version and my app updates, this xml-files rested in the old folder...
8
1491
by: Looch | last post by:
All, Does the folder that an application will look to for updates need to contain the source files for the project, or the published .exe and associated files? Thanks in advance.
0
985
by: Jan Vinten | last post by:
Hi all, I have a application done in VS2008 which uses ClickOnce deployment. The application is set to check for updates on application start - this is working... more or less. My problem is: When the application is started manually from Start->Programs-
0
1163
by: andrewschools | last post by:
Hi, I'm using ClickOnce for all of my installations and updates. However, when I modify any of the datasets in my application, when a user downloads the new update, all their data saved in their particular database is lost. After searching Google, I found a workaround to this. If I exclude the database file from the update, everything is fine, kind of. The problem is, if I exclude the database file from future updates, then if someone...
0
8296
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8598
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5627
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1928
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1598
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.