configuration

How to read a configuration file from another application into an instance based on SettingsBase?

I have an application written in c# 4.0 which uses the default Properties.Settings saved in a .config file alongside the exe file. Then I have a new administration application to configure the settings for the other application. I have figured out that i can use one of these to access the config file: var map = new ExeConfigurationFil...

What hosting/database configurations are used by famous sites?

Just wanted to know what hosting configurations famous sites use.. for example: Facebook.com uses shared PHP/mysql hosting php.net uses private Apache/PHP/Mysql hosting running 3 private 3Ghz/8 GB ram servers. Mysql is used as a key/value database with no joins to improve speed. (I know those are not the real specs, they're just an e...

Authorization failed when checkout

Hello everybody, I get an error when I want to checkout my SVN server. I use Turtoire on my Windows and the SVN server is based on linux. svnserve.conf [general] anon-access = none auth-access = write password-db = passwd authz-db = authz realm = Project_ASI passwd [users] red = v1z2r dips = dipsi authz [groups] red_and_dips = r...

VS2010 Debug build works, but Release does not

I have an app that I've recently added two C# classes to. It always built in both debug and release. The differences between the two configs are nothing. Now when I build the release, it says that one of the dependencies cannot be accessed. This is only for the release build. Nothing changed to that dependency and it always worked. Any ...

Multiple configuration files with Python ConfigParser

When calling ConfigParser.read you are allowed to pass a list of strings corresponding to potential locations for configuration files and the function returns a list of those files that were successfully read. What is the default behaviour when multiple configuration files are loaded that have overlapping sections/keys? Do later files ...

Can i configure gmail in Android emulator ?

Hi, i want to configure gmail in my android emulator, i went to the "Add a Google Account" under settings/Add Account, i have given gmail username and password, but after some time it is saying that "Can't establish reliable data connection to the Server" ? What is this error ? Can i configure gmail in emulator? please help ? ...

how can I make window sdk's setenv.cmd work globally, instead of a single cmd window?

Greetings, I feel kinda stupid for asking this, but I want to set the windows sdk build environment so that any process (including some non MS developer tools) can access the correct setup, without me trying to inject setenv.cmd /x86 into every process's startup. I can't seem to find the right search terms for this, and I don't want t...

Unity Dependency Injection using a config file - cant resolve dependency

Hi All, I'm using my app.config to tell Unity my interface to type mappings... <unity> <containers> <container> <types> <type type="UnityDAL.Interfaces.IDataContextFactory, UnityDAL" mapTo="UnityDAL.UnityDemoDataContextFactory, UnityDAL" /> <type type="UnityDAL.Interfaces.IProductRepository, UnityDAL" ...

NHibernate sqlite database providers configuration

I'm writting simple application and i'm stuck in the defenition process it seems i'm lacking a reference or a dependency but after reading every blog/forum/starter kits i couldnot find the answer i hope you'll be able to help me I defined an employee class and mapping object with id, name and age created a database using sqlite and cre...

OSGi Declarative Services vs. ManagedService for configuring service?

I just recently stumbled upon the fact that Declarative Services in OSGi can set the configuration of a component to required so that the component receives it upon activation, removing the gap between component activation and configuration. I also realized with this that you can receive configuration updates via the modified method. It...

sharepoint hardware recommendation for public sites

Hi We have built 2 web sites on MOSS 2007 which have many customizations on pages and many ajax web parts. Currently one of the sites is live and the configuration is as follows Web server Xeon 4 core processor 12 GB RAM 50 GB harddisk SQL Server Xeon 4 core processor 16 GB RAM 150 GB disk space Servers are deployed as virtual ma...

Using abstract factory with Spring framework

Hi! I have some Abstract Factory public interface AbstractViewersFactory { IAbstractShapeViewer createRectangle(BaseOperationsListener<RectangleDTO> p); IAbstractShapeViewer createOval(BaseOperationsListener<OvalDTO> p); IAbstractShapeViewer createTriangle(BaseOperationsListener<TriangleDTO> p); } And Its implementation ...

Performance differences between debug and release builds

i must admit, that usually I haven't bothered swithcing between the Debug and Release configurations in my program, and I have usually opted to go for the Debug configuration, even when the programs are actually deployed at the customers place. As far as I know, the only difference between these configurations if you don't change it man...

Get Magento config information

I'm trying to get the base url and the media directory from the Magento configuration and I'm trying to use them for a template that has images. I've only gotten as far Mage::getConfig(). I'm not sure what to do next... ...

Why is my Eclipse launch configuration not being added to the Run or Debug configurations list?

Just finally found a solution for this so thought I'd post it here as a question and answer so I find it next time I google it: I have a .launch file which I can run by context menu (Run As...), but it is not being added to the list of Debug or Run configurations like it should. Why not? ...

Impossible to create a configuration file for an python application inside Google App Engine

I try to create a configuration file, where I can store constants. Whenever I try with ConfigParser, I get an error Traceback (most recent call last): File "/home/baun/google_appengine/google/appengine/ext/webapp /__init__.py", line 511, in __call__ handler.get(*groups) File "/home/baun/workspace/octopuscloud/s3/S3.py",...

Approaches for Application Configuration and Settings (in ASP.NET MVC)

For a CMS product/platform, what would be a maintainable and clear approach for editing and storing settings? I'm not talking about technical (connstring, nh config, ...) settings, but settings that alter the behaviour of the product: These settings are for example Online Payment settings Available parts and modules Default behaviour...

SMTP Fully-qualified domain name configuration

Hi everyone, I have trouble with receiving of email from from my SMTP to internal (the same domain) email. I mean that when I sent email from my [email protected] email to private email [email protected] this email was delivered. But when I sent from [email protected] to [email protected] this email was not delivered. T...

FireFox - Are all preferences in about:config located in .js files?

Hey Everyone, I am writing a script to grab some Firefox settings, however it looks like some preferences are not within Firefox's various .js files. The preferences I am referring to are the preferences in about:config (such as network.http.max-connections). The .js file I am mainly referring to is prefs.js. So my question is: Are a...

Should I use single or multiple configuration files for Code Generation

I have a php script that generates php and javascript wrapper classes that handle json marshalling based on a configuration file. My initial plan was to have a single config file that generates all the classes used by the application. However, my team lead suggested I use a separate file for each feature, to avoid creating a gigantic co...