Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8440387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:17:01+00:00 2026-06-10T08:17:01+00:00

I have deployed this application using Visual Studio 2010’s Publish feature; it needs to

  • 0

I have deployed this application using Visual Studio 2010’s Publish feature; it needs to save a few user settings (such as database connection information) and there is this particular computer that somehow keeps resetting the application’s settings.
The part that puzzles me the most is that I have not been able to figure out under what circumstances or the reason why this happens.
I know the settings are getting set properly because the application has worked just fine on 6 or 7 other computers.

What could be erasing the application’s settings?
Alternatively, what would you suggest I use to store those settings? An encrypted file?

EDIT:
I am using the default application settings. They are defined in the app.config file.
They can be accessed using Properties.Settings.Default.propertyName

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:17:03+00:00Added an answer on June 10, 2026 at 8:17 am

    If you have user-level settings, ClickOnce should copy them forward to the next version’s cache when the user gets an update. There are a couple of cases where it doesn’t copy the files forward, such as when you change the certificate.

    Application-level settings are not retained and carried forward to the next version.

    I don’t recommend using this mechanism and relying on it. You might want to check out [We rolled our own configuration manager, and store the data as XML and store it. This way, you control what happens to the data.

    The only drawback is that when the user uninstalls the app, it leaves this data behind. On the other hand, when the user uninstalls the app, it leaves his data behind, so if he is uninstalling it because he’s having a problem, or he clears his ClickOnce cache because he has his problem, then when he installs a new version, his data is still there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an WinForms application that is deployed using Visual Studio 2008's publish (ClickOnce)
I have a problem where I compiled my application on Visual Studio 2010 while
I deployed my web application created with visual studio 2010 to a remote server
I am using Visual Studio 2010/C#. My goal is to deploy a web application
I have deployed a PHP application on my tomcat server(Tomcat 6.0).Previously I was using
So far I have been using the WebSite Administration Tool built in Visual Studio
I have a simple Windows Forms (C#, .NET 2.0) application, built with Visual Studio
I have developed an web application using Asp.net ( .Net Framework 3.0). In this
We have an application that processes JMS message using a message driven bean. This
We have a large C# application which is deployed using an .MSI file which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.