configuration

How to enable native threads support in Bigloo Scheme in OS X?

I am trying to compile Bigloo Scheme from source and I cannot figure out how to enable native thread support via ./configure in OS X 10.5 (Leopard) (and I haven't read anywhere that threading is not supposed to work on this platform). I run ./configure --enable-sqlite --enable-web --enable-ssl --enable-pthreads --enable-fthreads, but th...

Modifying the Data Source for the Strongly Typed Dataset connection string

Here are two questions related to modifying the data source for strongly typed dataset connection string. When my app is deployed, a light weight database ( in the form of Microsoft Access) is deployed to the Application Data folder. I have a strongly typed dataset that is wrapped around that. So the question is how to change the follow...

Which event in the app's startup sequence is appropriate to trigger loading a config file in AIR/Flex?

I am working on a small AIR desktop application and I have some configuration infos that I want to store in a little file that's loaded at some point when the application starts and will be used to set public properties on the root application object. This should work just as if I had public variables declared in an <mx:Script> block at ...

Configuring Hibernate logging using Log4j XML config file?

I haven't been able to find any documentation on how to configure Hibernate's logging using the XML style configuration file for Log4j. Is this even possible or do I have use a properties style configuration file to control Hibernate's logging? If anyone has any information or links to documentation it would appreciated. EDIT: Just to...

.NET app.config question

I have created an Excel 2003 add-in that uses the CLR 2.0 and this add-in is to be installed in hundreds of machines at my customer's site. The issue is that some of the machines where the add-in is installed have .NET 1.1 and .NET 2.0 running side by side, and the plugin throws an error when it's trying to load. The solution I have co...

file uploading problem with open_basedir and move_uploaded_file

I'm working with a legacy php script. There is a file upload form in it already, but I've added another one for a different section in the same script. The $_file['file'] is there. But I keep getting a open_basedir restriction error, and if not that, I get a permission error. I wouldn't mind working around these problems, but the thing...

Windows Service Config File C#

Hi, I've developed a windows service application using Visual Studio 2008 / C#. I have an app.config file in the project. When installed, the app.exe.config file appears beside the executable but it appears not to be reading the values from it when I try to access them through ConfigurationManager.AppSettings. Has it copied the config...

Virtuozzo Power Panel backups location

Does anybody know if there is default location of stored system backup in this system ? Maybe it's not on the same system, I'm not sure. The system let me do only 3 backups but it would be useful to store these backup externally. Thx for all answers ...

How can I retrieve an assembly's qualified type name?

How can I generate a assembly qualified type name? For an example, when configuring a membership provider, I would have to provide a assembly qualified type name for "SqlMembershipProvider" (in this example, i have copied the below configuration from somewhere) in "type" attribute. How do you generate that assembly qualified type name?...

Easing debugging with interchangable singletons?

I have a few classes, such as those that outline database table structure or those that outline the application's configuration, which do not change state at all throughout the program's execution. I currently have these classes as singletons and the classes that wish to retrieve information request the class instances (eg. from the comm...

What is the best approach to implement configuration app with Django?

I need to program kind of configuration registry for Django-based application. Requirements: Most likely param_name : param_value structure Editable via admin interface Has to work with syncdb. How to deal with a situation in which other apps depend on configuration model and the model itself has not been initialized yet in DB? Let's...

.NET 3.5 - Configuration system failed to initialize exception

In my winform app, I am trying to add a userSetting, although the error is occuring with appSettings too. When the setting is added I get an exeption thrown that says: "Configuration system failed to initialize" with a Inner Exception "Unrecognized configuration section userSetting" Exception Details: System.Configuration.Configuration...

How can I set up different build configurations for ASP.Net web site projects?

According to an earlier question about Visual Studio configurations, there's no way to use Visual Studio's configuration manager to create different configurations for an ASP.net web site project. For normal projects, we have #if directives that switch certain server or database variables depending on whether we're debugging or in pro...

log4Net config in external file does not work

We are using log4net and want to specify it's configuration in an external config file (as we have done with other sections). To do this we have changed the log4net section in the App.config to: ... <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> ... <log4net configSource="Log.config" /...

Can I use SPACE as mapleader in VIM?

Hello, From http://items.sjbach.com/319/configuring-vim-right I got that you were supposed to be able to use SPACE as the mapleader in vim. I've tried but it does not seem to work. Anyone who have made it work? Tried: let mapleader = <space> Thanks, -Martin ...

Is it possible to define <configSections> in a dependent dll's application config

I have a custom .NET addin for an application and I am trying to create configSections for the addin's config file. The trouble is I am not able to read that section If load the configuration using the OpenMapperExeConfiguration/OpenExeConfiguration. Here is my config file(MyTest.dll.config) <configuration> <configSections> <sect...

Hosting WCF on IIS6, does it require any special setup?

Hi, Does hosting a WCF service require any special configuration on IIS6? ...

C# AppSettingsReader: "reread" values into the AppSettingsReader (runtime) ?

In my application, I need to change some value ("Environment") in appSetting of app.config at runtime. I use AppSettingsReader private static AppSettingsReader _settingReader; public static AppSettingsReader SettingReader { get { if (_settingReader == null) { _settin...

Dynamically setting CSS values using ASP.NET

I'm working on a site where the images and other resources will be located on a separate domain from the main content of the site. We will use something like 'www.example.com' for the main site, and then 'images.example.com' for all extra resources for styles, etc. When developing the site I will keep all of these resources on local dev...

Running Cruise Control .NET as a Service

I've been configuring and testing CCNet for a little while now using Virtual PC to host it. Everything went well and it was decided to transfer the configuration to a server location - which went as well as could be expected. A few tweaks and kicks and i had it running as before. The problem is that we now need to run CCNet as a service...