configuration

WCF with self-signed SSL in IIS 6.0, getting strange error on client

I have a WCF service that is running on IIS 6, and must be accessed via SSL, containing a self-signed certificate. I've gone through the configuration a million times and everything look correct, but I'm getting the following error from my client app: System.Net.WebException: The remote server returned an error: (404) Not Found. ...

spread exits directly after starting

I just tried to start spread for communication of some of my tools that I use in for the integration for different sensor data processes. Just after the startup spread exits with the following message: Conf_load_conf_file: using file: spread.conf Successfully configured Segment 0 [127.0.0.255:4803] with 2 procs: localho...

How to implement a sample log4net repository

How do I implement a custom LOG4NET parser for my XML file. My XML file contains: (1) extra attributes on the appender element (2) custom replacements on the elements of some of the appenders that need to be set at runtime. For example: <appender name=... type=... mode="something"> <some-property-of-appender>${MyValueForThisPropert...

Extending configuration for .Net 3.5 Applications

Due to a requirement in my current project, I have to build a configuration manager to handle configurations that merge local config info with database one. Custom configuration doesn't fit my needs, problem is that I don't know what's the type before loading certain information, for example: Loading database information I will ...

Tokyo Cabinet Tuning Parameters

Hello, I have been trying to find a better Tokyo Cabinet (or Tokyo Tyrant) configuration for my application, but I don't know exactly how. I know what some parameters mean but I want to have a fine tuning control, so I need to know the impact of each one. The Tokyo documentation is really good but not at this point. Does any one can hel...

Is there any way to have eclipse recognise virtual defines per build configuration?

I am working on an inherited Borland C/C++ project and a lot of the project's functionality is hidden away behind #ifdefs which rely on defines passed to the compiler. I have been trying to get eclipse to activate these sections by using per-configuration symbols however when i view the source files, large sections are still greyed out. ...

How do I map a dictionary using Fluent NHibernate automapping?

I have an entity like so: public class Land { public virtual IDictionary<string, int> Damages { get; set; } // and other properties } Every time I try to use automapping with the following code: var sessionFactory = Fluently.Configure() .Database(SQLiteConfiguration.Standard.InMemory) .Mappings(m => m.AutoMappings.Add...

log4net logger configuration

Is it possible to set the logger from configuration. I have a web app using a framework. The framework is extensible and has the logger. When I log, currently, the logger is set to the framework class. Is it possible that I can configure my web app and set the logger for the web app to loggerForWebApp and the logger for a console app (...

Why does git break if '/' is the root of the repository?

We'd like to use git to maintain system configurations. Because sometimes configuration data exists outside of /etc, we've started doing something like this on our systems: # cd / # git init # git add etc # git add some/other/path # git commit -m 'initial import' And so forth. This works, up to a point. As long as your cw...

Easiest way to manage my CLASSPATH?

I'm beginning to play with Clojure a bit and my Java experience is pretty limited. I'm coming from the dynamic world of Ruby and OO, so the functional side of things is very interesting! Anyway, as I discover libraries and various tools for use (and the tutorial files for the Pragmatic Clojure Book), everything typically calls for plac...

js, img, css and ajaxcall folders?

when i download some new plugins eg. jquery plugins i put them in js folder. and the same for css and img. so all my different applications share them. but where do i put my js/img and css for specific application/website? every website? and where should i put my ajaxcall-files.php? EDIT: some guides that could give me a clean and nea...

external library config macro for autoconf/automake

hello Is there a autoconf macro to configure generic library that can: generates --with configure option setup library and include path setup compiler/preprocessor and linker flags check existence of library and include files setup configuration macros Right now I am doing everything using ARG_WITH, CHECK_LIB, etc. the steps are gen...

FluentNHibernate SQLite default config ProxyFactoryFactory

Hello I want a simple unit test configuration. My understanding is that the sqlite fluent config defaults to Castle, and I have a reference set to NHibernate.ByteCode.Castle.dll, yet I am getting an error saying there is no ProxyFactory setting set. What am I missing? Cheers, Berryl === the CODE === public abstract class InMemoryDat...

Confused about include_path in php.ini

I have this line in php.ini include_path = ".;C:\xampp\htdocs\zend\library;C:\xampp\php\PEAR" What exactly is the . in front of the string? And what does the line do, exactly? I know it includes the paths, but what exactly happens behind the scenes? Maybe this is a dumb question but I'm asking anyway :-) ...

Unity: Specify Dependency name during configuration

I have following snippet: static void Main(string[] args) { var container = new UnityContainer(); container.RegisterType<IConnection, SerialPortConnection>("SerialConnection"); container.RegisterType<IConnection, ParallelPortConnection>("ParallelConnection"); container.RegisterType<Device>("ParallelDevice"); containe...

How to provide custom connection string for Logging Application Block instead of using the one in .config file?

I'm modifying an existing winforms application to use the Logging Application Block. For historical reasons this app gets its main database connection string from the registry, and I'd like the Logging Application Block to use the same details for logging to the database. How can I do this? The approaches i can think of are: 1) Create ...

accessing third-party ruby library module in code? is this the right way on windows?

I needed a little script to read data out of windows-style .ini files. Searching my windows machine I found inifile.rb in this path: C:\ruby\lib\ruby\site_ruby\1.8\vr\contrib\ it seems unnatural to add this path directly to my rubylib path as this will mean any other special units I want will need to be added. so in my code I wrote...

How can I get Hudson to update through Proxy

We run a corporate proxy with authentication and we're running Hudson as our CI platform. Hudson can get to the outside world to tell which plugins need updating, but when we tell Hudson to download the updates to the plugins, we get the following error. java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 P...

C# Reading Configuration settings

I have a C# class library A which has some configuration settings in its App.config I access them with Method1() { string connectionString = ConfigurationManager.AppSettings["ConnectionString"]; } But when I call Method 1() from my ASP Web project B, it cannot find the configurations settings in the Class library A Any idea what is ...

ASP.NET compilation element, assemblies element

Hello It's my first post on stackoverflow so at the beginning I would like to say Hello or probably it would be better to say Hello world :). My question is what does this mean <compilation debug="false" strict="false" explicit="true"> <assemblies> <add assembly="" /> in quotes are info about assemblies <add assembly=...