Changing or clearing user settings for WinForms apps

Changing or clearing user settings for WinForms apps

InSite applications are built using .Net WinForm technology nd make use of the inbuilt Settings capability of this framework.

Settings are defined during the design of an application as Application Level settings or User Level Settings. User settings are often preferences for the layout of an application and are automatically updated when a user changes something in the application.

However, on occasions, it is necessary to amend user settings directly, due to a bug or corruption.

While application settings are held in the .config file in the same directory as the executable, user settings are hidden away by the .Net framework. to find them:
  1. Close the application that has the issue.
  2. Look in C:\Users\{UserName}\AppData\Local\InSite_Data_Systems_Limit\
  3. You may need to look in C:\Users\{UserName}\AppData\Roaming if you can't find what you need in local.
  4. From there need to look for directories with the {appname}.exe_url_* prefix. For example, appViewOnly.exe_Url_meuba1u3afxwrib2iqhjahmf0koxw3gj
  5. Open the most recent.
  6. That directory should contain a directory with the version number of the application as its name. For example "6.9.1.0". Open it.
  7. That directory contains a user.config file.
  8. Open user.config in notepad and edit the tag values as required.
  9. Save the changes and re-open the app.

 
    • Related Articles

    • BHAC Support Request -FW: error on insite

      Deleted C:\Users\reshma\AppData\Roaming\InSite\UserSettings\oRCSViewer_Atalasoft.settings file and the app opened up as expected and a new settings file was downloaded.