config

WCFServiceException: Required attribute 'binding' not found.

Hi, My WCF Service when hosted is throwing an error: WCF Service PayThisException: Required attribute 'binding' not found. (C:\Temp\WCFVirtualDirPath\web.config line 278) Please help me with some solution. Cheers, Ravi Santlani ...

How to read a "xxx.config" file with out .net BCL in asp.net

I am using this solution to read config file , But the inexplicable errors occur,sometimes it work fine,but on some machine it does not work. So I'm looking for another solution with out built-in .NET BCL,please help me. ...

Is this the right way to have "global" parameters for my servlets?

If I have: <context-param> <param-name>SomeParam</param-name> <param-value>SomeValue</param-value> </context-param> in my web.xml, is this the servlet way of specifying options ( like in the way a config file is used ) , or am I doing something wrong? I know about init-param that can be specified for a servlet, but I'd lik...

Python: Decent config file format

I'd like to use a configuration file format which supports key value pairs and nestable, repeatable structures, and which is as light on syntax as possible. I'm imagining something along the lines of: cachedir = /var/cache mail_to = [email protected] job { name = my-media frequency = 1 day source { from = /home/michael/Imag...

Codeigniter form validation config file not working

Hi, I'm using the technique of saving codeigniter form validation rules to a config file as specified here, but can't seem to get it working. I am also attempting to invoke validation callback functions from a Validation_Callbacks.php library which I'm autoloading via the autoload.php mechanism. Below is a snippet from my form_validat...

What is an Eclipse Sprint STS "Config Set" good for?

I have the Spring STS plugin activated within my Eclipse project. Doing this enabled many cool Spring features including specialized management of Spring bean files. However, I noticed that the project settings for Spring allows for the creation of "Config Sets" -- which look like groups of bean configuration files. I cannot find do...

How do I force a native application to use an older C runtime

Visual Studio 2010 installs version ...4974 of the VC9 runtime whose .pdbs are unavailable. How can I force my GME.exe to use an older VC9 runtime? I've tried putting this into GME.exe.config: <?xml version="1.0"?> <configuration> <windows> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyIdentity type="w...

How to debug config files in .NET?

I've got a Visual Studio project that recently started throwing a ConfigurationErrorsException, and I can't figure out where it's coming from. I've hunted high and low, can't find anything like the error, and it doesn't appear for any of my teammates when they run the project on their PCs. Does anyone have any specific advice on how to ...

CODEIGNITER :: how to save 2 configs for 1 library ?

hello i want to use upload library, but i want to use it in 2 separate uploads .. for example avatar and profile picture. each one of them has it's configs .... my application is v.big so it's better to save the upload configs library in a config file. but how can i save 2 configs in the same config file and load 1 of them at a time? ...

SharePoint document library problem using .config extension

If I upload files with the .config extension to a SharePoint document library, clicking on them from a browser gives me the message: XML Parsing Error: no element found Location: https://www...........somefile.config Line Number 1, Column 1: Also, if I view the document library using "Open with Windows Explorer" I am unable to view...

CruiseControl.NET and Clearcase configuration

I'm having problems simply configuring the server for CruiseControl.NET. I am using the source block that is given by ThoughtWorks to set it up, but I cannot seem to get it to be error-free. I am pretty new to all this and some sort of direction would be fantastic. Does anyone use this combination? Do you have a ccnet.config file I c...

Is there any Java Library to operate on unix config files like http.conf

There are very good Perl libraries (e.g. Apache::Admin::Config) to operate on traditional unix config files like httpd.conf. Anyone know if there is good Java libraries to do the similar task? I know there is a c library called Augeas with Java binding. Has anyone used that before? Thanks! ...

Storing and accessing a log4net config file via SQL...

A co-worker had told me that he thought it was possible to store/access log4net's config file in a database rather than a standard config file. If it's possible, how would you go about doing this? Google search seems to be failing me. ...

nginx - How to extract the domain name out of the full uri ?

Hi folks, i have a nginx server running on ipv6 native. I want to set up a "proxy" to ipv4 with it. server { listen [::]:80; location / { proxy_pass http://www.mydomain.com proxy_set_header X-Real-IP $remote_addr; } } The Idea is to set up a AAAA record "ipv6.mydomain.com", and nginx should chan...

How to add reference to .propeties file in .classpath

Hi, i've got exception, while running java class from Eclipse: java.util.MissingResourceException: Can't find bundle for base name dbconfig, locale en_US Seems that my dbconfig.properties file isn't in classpath. dbconfig.properties located in root of the project. Eclipse is ran with VM arguments(in Run configurations-->Arguments menu...

When does grails.config.locations get processed in Grails?

I am using grails 1.2.1 and would like to specify external configuration (properties) files for the war file for my application. I understand from documentation that the proper way to do this is to specify the grails.config.locations list in the Config.groovy file. When I do that, however, the properties that should be set are not av...

How can I manipulate appsettings in a web.config on a remote machine using Microsoft.Web.Administration?

I'm using the Microsoft.Web.Administration library to configure a web.config on a remote machine. I've been able to read sections and add new items for the most part using the GetWebConfiguration method on the Application object, but I've run into a snag with appSettings. I would like to be able to read and write to the appsettings sect...

How do I switch off this part of CK editor?

How do I switch off this bottom bit? Can't seem to find it in the docs, can do just about everything else... config.??? = false; Answers on a postcard boys and girls. :D ...

Better suggestion for external config file

I am currently using xml as a config file for my silverlight application. I have no problem reading the file, but now that I also require to update the file through web(preferably silverlight as will show preview of font colors, size etc), the only method I thought of is to generate the whole file and overwrite the existing through uploa...

best way to update congfig.php

I have a config.php file for one of my site which holds information needed to run the site. It somewhat looks like this: <?php $site_name="The Site"; $base_url = "http://site.com"; $upload_path = "/images"; ?> Getting the values from that is easy, I just use require 'config.php'; but how can i give an option to add this from a html ...