Click here to Skip to main content
12,404,251 members (84,057 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# SQL-Server
i create a windows project now i converted my project as exe file. and install into my client system it show a error.. "no database found or unc share" some times its shows a error like "unable to update database is read only". now i suggest to edit config file. then how to change a app config file?
Posted 2-Apr-13 7:20am
srigates1.3K
Comments
ryanb31 2-Apr-13 13:32pm
   
Just open the .config file and make the change. What's the issue?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can change "your_main_exe_module_of_your_assembly.exe.config" file after the build; this is the file created in your output directory as a result of a build. You can create this file even if is not created during the build. This is the purpose of this file, a text interface to configuration which can be modified for different purposes, to modify a number of configurations settings, instead of hard-coding them.

—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 2 Apr 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100