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

  • Home
  • SEARCH
  • 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 8543757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:23:02+00:00 2026-06-11T12:23:02+00:00

I have an app that will not run if the connection string in app.config

  • 0

I have an app that will not run if the connection string in app.config is encrypted AND the app is installed in Program Files. The connection string section is encrypted as a post build event so it is deployed already encrypted. I know there are limits on what an app can do when installed in Program Files, but I don’t understand why this is one of the limitations.

  • 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-11T12:23:04+00:00Added an answer on June 11, 2026 at 12:23 pm

    I suspect it has more to do with the permissions implied by the identity associated with the process executing the application, eg permissions to key store, or the app.config file itself.

    Per the observation from @JulienLebosquain, if you have configured encryption as a post-build event, machine-specific keys will have been used to perform the encryption, thus making it unrecoverable on any other machine. To accomplish post-install encryption on an app.config file, you would have to consider constructing a Setup project and adding an Installer class to your application that defines a post-install event that performs encryption based on host machine keys.

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

Sidebar

Related Questions

I have a silverlight app that will be installed OOB with full trust and
I have an app that will show some images using UIImageView, now I want
I have an app that will have entries of both varchar(max) and varbinary(max) data
I have a main app that will have many plugins. Here is the PluginReader
I have an iPhone app that will incorporate liking / +1 with a global
I have a web app that will draw a polyline for each user (tracks
I have a simple app that will allow a user to tag a location.
I have a client that wants an app that will detect the persons location
I am developing a web app that will have two parts running on two
I'm working on an app that will hopefully have the ability to block incoming

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.