Questions tagged [configuration-files]

Files that configure the initial settings for some computer programs.

2246 questions
0
votes
1 answer

Need to get encrypt some sections in a web config file

I need to encrypt the settings section in a web config file. How can I do this? This is my config file and it has a different name than web.config. --configuration-- --settings-- --add key="conn-string" value="Dsn=XXXXXX;uid=sa;pwd=XXXXX-- --add…
0
votes
1 answer

Can someone suggest a better way to use configuration files in multiple environments

I want to standardize and parameterize values across multiple environments and not have to change the dtsx files at any point. The pattern I am deciding to use is to run all packages from the DTEXEC program and to specify configuration file on the…
ttomsen
  • 848
  • 9
  • 15
0
votes
1 answer

Where is the DB_CONFIG file of Berkeley database located in Unix?

i'm new to Berkeley db, i have installed the version "db-4.8.30.NC.tar.gz" but now i would like to find the configuration information by using the configuration file. I've read in the documentations that this file is named DB_CONFIG and it exists in…
programmer
  • 4,571
  • 13
  • 49
  • 59
0
votes
1 answer

RewriteRule Equivalent

What will be the equivalent of RewriteRule for the following? Redirect permanent /a.html http://www.example.com/b/ Note that a.html also resides on the same domain e.g. www.example.com. I find using the Redirect directive somehow troublesome…
moey
  • 10,587
  • 25
  • 68
  • 112
0
votes
5 answers

Editing PHP files for configuration via PHP

First of all, I am assuming this is NOT bad practice due to various popular software using this method, such as SMF. Anyway, so I currently have this code:
unrelativity
  • 3,670
  • 6
  • 38
  • 63
0
votes
2 answers

Is it easy to find classes/methods references in IDEs that suppport Spring

I have years of Java experience on Eclipse and now would like to get my feet wet with Spring. After read some tutorials I have such a question: is it easy (or even possible) to find classes/methods references in any IDE that supports Spring? By…
chance
  • 6,307
  • 13
  • 46
  • 70
0
votes
2 answers

Calling Models from Config Files

I am writing a ruby scheduler - namely rufus-scheduler and there are commands i need to write in the initializers section inside the config folder to perform a task every 1 minute or so. I am trying to access a method from a module within this. So…
0
votes
1 answer

Persisting application settings using ClickOnce deployment

I'm using ClickOnce deployment and I need configuration information persisting across different users and versions. I tried to use serialization/deserialization to a file located in the Application.CommonAppDataPath, but the path changes when…
Mauro Ganswer
  • 1,379
  • 1
  • 19
  • 33
0
votes
2 answers

After importing a DB schema into Symfony2, Doctrine2 configuration files' issue

EDIT : New issue I have got some new stuff : I am pretty sure it is the xml files that are messing all up. Here is how I proceeded : I made my own database scheme I created the database (sql script) I reverse-engineered the database I fixed the…
Creasixtine
  • 740
  • 3
  • 11
  • 33
0
votes
2 answers

Porting WCF Service Web.config to Windows Service App.config

I've been working with about a dozen WCF Services that have been deployed to various machines with IIS. All binding/configurations have been kept in the usual "web.config" file that was created to keep the services more configurable and keep the…
5StringRyan
  • 3,604
  • 5
  • 46
  • 69
0
votes
3 answers

custom config file in asp.net

In my project I need store complex application settings and i dont want store it in db. Application settings are available through administration ui to edit/change etc. So, if i store settings in config, every time when configugration is changed,…
0
votes
2 answers

common config file

I have got 4 .net console applications which carry out different tasks. These 4 applications share some common configuration that I pass through app.config file. Can I put all the configuration in one common config file and read from that instead…
P H
  • 963
  • 1
  • 7
  • 8
0
votes
2 answers

change a config value in tets project's app.config file

i'm trying to test some functionality which is dependant on a configuration value (if Settings["foo"] = true than return 5, otherwise- return -1). So what I'm trying to do is to change the configuration value at runtime. my config file looks like…
J. Ed
  • 6,692
  • 4
  • 39
  • 55
0
votes
2 answers

Dynamically creating App.config with connection string if App.config does not exists in Application-Data folder

I need to do my code the following task. I wrote some code as below, but I am getting error while setting connection string. Looks like it does not have set property. Check if App.config is exists in user’s “Application Data” folder. If does NOT…
Shai
  • 529
  • 7
  • 20
  • 36
0
votes
1 answer

Should I be concerned that Configuration Utility says my devices have “untrusted” certificates?

In iPhone Configuration Utility, under the Summary pane for all of my iOS devices, I see warning in the Certificate panel that says "This certificate was signed by an untrusted issuer". Should I be concerned about this? Why would this be the case?…
orome
  • 45,163
  • 57
  • 202
  • 418