Hi all,
I'm trying to fetch some settings from my membership provider in my asp.net application (so that I don't have to duplicate the information in the appSettings section) but I am getting the following exception:
System.Configuration.ConfigurationErrorsException: The entry 'MyMembershipProvider' has already been added. (C:\Inetpub\...
I have the following data structure in Perl code:
my $config = {
'View::Mason' => {
comp_root => [
[ 'teamsite' => 'root/teamsite' ],
[ 'components' => 'root/components' ],
],
},
};
I'm trying to represent this structure in a Config::General configuration file.
So far I have:
<Vi...
Unless I am doing something wrong, the way I am supposed to use ConfigurationSection, ConfigurationElement and ConfigurationElementCollection, would require me to format my configuration section like so:
<serviceAuthorization>
<credentials>
<login username="system" password="password" mode="include">
<services>
...
I have this python code for opening a .cfg file, writing to it and saving it:
import ConfigParser
def get_lock_file():
cf = ConfigParser.ConfigParser()
cf.read("svn.lock")
return cf
def save_lock_file(configurationParser):
cf = configurationParser
config_file = open('svn.lock', 'w')
...
Hi folks,
I've got a simple ASP.NET MVC website. It has Debug, Testing and Release configuration modes.
We're using TFS as our source control and bug tracking, etc. Nice.
Now, we're about to embark on using Team Builds to automate some Continuous Intergration. The thing is, we're not sure how to make it so that if we want to make a DE...
I am working on projects for different clients using Mercurial as a VCS. I know how to set a default user, but is there a mean to set a different user for each project ?
...
Hi,
We're planning to migrate away from a series of static config files related to each client deployment.
All client data lives in MySQL, the meta-data for a client deployment lives in a static text file: what database/shard to use, the repository directory/location for the file store, and a bunch more info such as default pagination...
I need to understand the following line of code:
BIN_DIR=`grep BIN_DIR= $SMLCM | head -1`
where $SMLCH contains a path
This is what I understood so far:
grep will produce some string(s), possible paths. What does grep do with BIN_DIR=?
the pathes are passed to head and all files within the paths will be used to extract their first ...
Having two projects: one is a class library (a .dll assembly) and the other is a GUI (.exe) using the class library.
In the class library, I've added two .settings files (which automatically adds the app.config file to the project) using all "application" settings. When I compile the project I effectively get the MyLib.dll.config file i...
What is best practice for using subversion (SVN) for managing a project that requires a single configuration file that has multiple concurrent versions for different environments.
I.e.
Project ABC is used for three different environments, that use the same code, except for a slightly modified configuration file. AND
Project ABC is al...
Hi all,
our development team develops a J2EE application that runs on Weblogic 10.3. Each development machine runs its own copy of Weblogic 10.3 application server. The development environment's Weblogic domain was initially created on one machine and then copied onto all the machines using Weblogic's configuration tool (bea10/wlserver_...
I'm working with custom sections in app.config, and would find very useful the same intellisense facilities as exist for the standard settings. I assume I'd have to supply a schema somewhere, but can't work out if/where. Is this possible?
...
The opera.ini file for Opera web browser has a setting called "Retarded Image Loading" under UserPrefs. I can't find an explanation for this anywhere, but I can find it in others' copy/paste on message boards. What is it for??
...
I need to have a .NET 3.5 DLL have its own config file. This DLL could be called from many different apps so the information (like connection strings) stored in the config file needed to be kept in a config file that the DLL can reference. What I want is when the DLL is used, I need to "switch" the config file that is used to reference...
To begin I have a .NET 2.0 console application. To meet a customer requirement, I need to use a configuration file which is in a different directory than my application in a read/write manner. This is in addition to the exe configuration which my app already has (ie appname.exe.config).
So to do this, I added a property Configuration wh...
G'day,
We have a Perl script that is processing geolocation requests from the head-end servers in a major web site. The script is a broker providing additional business logic interpreting the data returned by a COTS product that provides data for a given IP address, e.g. country, connection type, routing type, carrier, etc.
This Geo se...
Hi,
I want to store some setting in web.config file of the sharepoint web application or in app.config of the workflow itself. But i don't know how to access neither of these files and i don't know how to handle the data inside them. Please, give some advise, how to do this or where to read about doing this.
Any information is helpful....
I am working on a large system, for which I have to use WCF to access a web service. My test code works fine, now I need to integrate my WCF client code into the larger system. I cannot add to the existing 'app.config' file, and would like specify a separate .config file for use by my client code.
How best can I accomplish this?
Than...
I'm currently trying to debug an Elgg-based website (I didn't develop it) and I would like to send the emails directly from local development machine (WinXP). I'm running WAMP with Apache 2.2.11 and PHP 5.3.0
After some searching, the simplest solution that I've come across is using fake sendmail to forward it to my GMail/Google apps ac...
Am I understanding correctly, and the database connection string for Linq to SQL is typically stored in the app.config file, in the connectionStrings section?
Are there other places it might be done, typically? Thanks!
...