configuration

Why can't you build a website in release mode?

In ASP.Net, if I set up a web application I can configure it to be in release mode but with a website I can only set the configuration to be in debug mode. Why is this? ...

How do I manage many configurations in Visual Studio?

Well, I want to manage x86 and x64 platforms, and many different configurations like "Debug CPU UMFPACK", "Release CUDA CNC", etc. When making changes in project properties, how do I apply them to multiple configurations/platforms at once? Have I missed something in Visual Studio? ...

How can I set drill down in an SSRS chart?

How can I set drill down in an SSRS chart? ...

IIS 6 Configuration interfering with ASP.NET MVC RC1

I am using Netegrity's SiteMinder single sign on for a subset part of my development machine. Something like https://testdev.com/sm/testapp where /sm is my SiteMinder configured location. However, when I run ASP.NET MVC apps in a virtual directory under the /sm folder I get some unexpected results from Url.RouteUrl or Html.BeginRouteFor...

Encrypting config files for deployment .NET

Hi, I have a windows service that reads from app.config I want some settings to be encrypted, however, I don't want to use the ProtectedConfigurationProvider classes provided in .NET because they encrypt files based on the machine they are running on using DPAPI. What I wanted was a way for our administrator to deploy the config file ...

How do I prevent a Gateway Timeout with Nginx

I am running Django, FastCGI, and Nginx. I am creating an api of sorts that where someone can send some data via XML which I will process and then return some status codes for each node that was sent over. The problem is that Nginx will throw a 504 Gateway Time-out if I take too long to process the XML -- I think longer than 60 seconds...

Dynamically load Application settings from SQL Server at regular interval

For my .net application I would like to store the configuration data in SQL Server and would like to load it initially and after that refresh the data at regular interval in case there is any change made at database directly. Is there any work/lib already available something 'Centralized Configuration Manager' which could store configura...

What to do with XML node names (hard coded values)?

I've been working with xml lately. And have noticed a bit of a phenomenon (maybe not that big of a deal to the rest of the world, but to me it was). Perhaps, it is me being a newb. But shouldn't most hard coded or magic numbers be broken out to a configuration file? For example, string url = "http://www.domain.com/aDocument.xml"...

Setup tips for installing a new SQL Server Database

For cost savings, we're moving from an managed SQL Server DB to a dedicated db on our own server. What configuration checklist would you perform to ensure maximum security and reliability? ...

Configuring profiles with StructureMap

important; I'm really looking for a StructureMap answer here. Please don't say how to do it with Windsor, Spring, Unity, or any of the others. I'm playing with StructureMap for IoC - and basically my aim is to have a "default" profile that defines the core types, and a number of named profiles that override/extend this. I think that pro...

Show tabs with a different character (Emacs)

I'd be happy to have very soft character ">>" instead of white-space, like this: Any idea how to achieve that in Emacs? thanks ...

.NET Config Files configSource outside the application directory folder

I have two applications one a console application and the other an ASP.NET app. They both need to know the same appSettings and connectionStrings. So ideally I would like to use the configSource property of app.config/web.config files to point that to a central location. For example <connectionStrings configSource="D:\connectionString...

grails base.dir system property

I have a simple grails file upload app. I am using transeferTo to save the file to the file system. To get the base path in my controller I am using def basePath = System.properties['base.dir'] // HERE IS HOW I GET IT println "Getting new file" println "copying file to "+basePath+"/files" def f = request.getF...

Where to store configuration information

I have a console application that I am rebuilding from C to C#. This application has to be able to support the legacy method of storing information like parameters from a command-line and parameters from a file (called the system parameters) that customize each run. The system parameters file is in plain-text with a simple key : value ...

Serialize/deserialize to/from multiple XML config files

I have a set of custom XML configuration management classes in .NET. There are two configuration scopes in my application: User: the setting applies to the user regardless of the account she's logged into. Stored in a XML config file in the user's directory. User/Account: the setting applies to the user when logged into a particular ...

How to safetly export all IIS settings from one server to another?

I am trying to build a virtual machine that clones one of the servers used in production instances of our webapp so that we can do deployment testing on it. I have gotten all the necessary files over, IIS installed, the database up and running. To my eye all that remains is to copy all the IIS settings from a production environment to ...

Config files for GAC objects

Typically we keep our config values in web.config/app.config and for the environment global config varialbes (and not application specific) in server machine.config file. When deploying an object to the GAC where is the best location to keep these config type values? It seems that the best location would be a linked resource file. D...

Setting catalina.policy to allow file access by servlets

We have a locally-developed triple store based on b-trees which I want to use for persistent storage in a number of servlet applications. Rather than embed the b-tree index files in the servlet .war, I would like to store them at a known location and have the servlets access them directly. This all works in Jetty, but raises a security e...

MySQL: how to determine which config file is being used?

Is there a command to determine which configuration file MySQL 5.0 is currently using? ...

Deployment of Web Application to a Running Tomcat

Hello, I would like to collect some best-practices on deployment of a web-application to a running Tomcat. Not long ago I had to describe the deployment process of our web-application and the process appeared rather confusing. Say, we have an application in a WAR file (foo.war) correctly configured and not requiring additional configura...