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 8155577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:42:34+00:00 2026-06-06T16:42:34+00:00

Maybe this isn’t possible due to Security implications… I have a Deployment Package created

  • 0

Maybe this isn’t possible due to Security implications…
I have a Deployment Package created in Visual Studio for a Win Form. The application references an app.config file locally and allows the user to change the settings in it, through the application.
When I deploy the application and attempt to save the changes I have made, Windows is saying “Permission denied”. Is there a command I can run as part of the installation that will give the “Everyone” security permission to my app.config file….and thus allow my Application to edit it?

Thank you.

  • 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-06T16:42:36+00:00Added an answer on June 6, 2026 at 4:42 pm

    If you want to be able to write to the app.config file you need to move it to the Shared Application Data directory and modify your application to read the configuration information from there. On Win7 for example:

    C:\ProgramData\YourCompany\YourApp\app.config

    In C#, to get the common app data directory:

    // using System.IO;
    string appDataDir = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe I am being stupid, but this isn't making sense to me... I have
Maybe this isn't possible, I've never seen it myself, but thought I'd ask. If
I have a MEMORY table in MySQL for a live chat (maybe this isn't
Maybe this isn't possible with ASP.NET MVC because I can not find an answer.
Maybe this isn't really feasible. But basically, I've been developing a snippet-sharing website and
Hopefully this question isn't as subjective as I think it may be. I have
Ok, maybe this isn't so amazing considering I don't really understand how the debugger
I know next to nothing about SharePoint, so maybe this isn't something you can/should
I'm pretty shocked I can't find an answer to this (maybe there isn't one).
Maybe this isn't even a valid question, so any help would be good.

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.