Click here to Skip to main content
Rate this: bad
good
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 8:20am
srigates1.2K
Comments
ryanb31 at 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
0 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 BillWoodruff 85
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 2 Apr 2013
Copyright © CodeProject, 1999-2014
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