Apologies if this is a duplicate, but I've not managed to find this question being asked directly.
The general opinion here (that's me and him across from me) is that they shouldn't, the reason being that DLLs can be shared; therefore the idea of having application-specific information in a DLL is nonsense. If the information is not app...
I would like to download a file, parse it and put it somewhere. So I have a few sections outlined below and I would like to use the directives below to guide what the program should be doing. I like this form of config and I would like to figure out how to get this to work somehow but I know it won't work exactly like this because I can'...
You can find the setting accessing:
WinForms Application Properties->Application->Assembly Information->Neutral Language
...
I have a dual setup development machine with Visual Studio 2003 and 2005.
How can I restore the original file associations to Visual Studio 2003?
Everytime I try to open up a *.cs file it opens it with 2005 when I want it to default open up in 2003.
I know how to do this using the the "Windows Explorer/Folder Options/File Types" int...
hi guys,
I know that ppl have already asked questions regarding encrypting web.config.
im also trying to encrypt my test config file, but im getting this error.
aspnet_regiis -pef "connectionStrings" "C:\encryptedWeb.config"
Encrypting configuration section...
The configuration for physical path 'C:\EncryptedWeb.config' cannot be opene...
I am writing a small utility to send JMS messages to a remote server, but I am failing to configure correctly the InitialContext (or so it seems)
code to init the Context:
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_...
We have a client that says that our dhtml menus dont show up at all. Are there any pages out there that test for browser configuration problems such as having javascript disabled, cookies disabled etc and advises user on how to fix issues?
...
Hi guys,
I need to know that is there any way that we could provide multiple sections in one command.
aspnet_regiis -pe "connectionStrings" "appSettings" -app "/abc"
As I have 3 config files, if the above is not possible then I need to do write that command 6 times.
...
Let me preface this question by saying I've exhausted Google, or at least what I've been trying to search for. "log4j threshold", "log4j threshold category", "log4j appender threshold category", etc. But I really don't understand the results I'm getting back from Google.
This is the full configuration I've been given. I can't figure...
Hi all,
I wants to know how can i configure grails mail plugin with datas which comes from my data base.
I tried:
mailService.sendMail {
from Parameters.findByName("MAIL_FROM").value
host Parameters.findByName("MAIL_HOST").value
to "[email protected]"
subject "my subject"
body "Hello world"
}
...but it doesn't w...
I have a module that uses multithreading. I want to store the number of threads to be created by the module in the web.config file.
What tag should I use?
...
I need to override grails.serverURL at runtime WITHOUT having to regenerate the application WAR file. I have tried various ways of setting the grails.serverURL in the application.properties file and cannot get it to work.
Here is the environment specific portion of the Config.groovy:
environments {
prod
{
grails.serverURL...
I am currently completing an application that was started by someone else. He is using the app.config for some settings, and a custom xml file for other parts. This drives me nuts, and I want to consolidate the configuration into one file.
But I am not certain wether to move everything into the app.config and throw out the custom xml f...
Is there a way, in code, to determine what "Solutions Configuration" you are running in? For example, 'Debug' vs. 'Release?
I have a service that I like to test in the IDE in Debug, right now I have bool that I set which either runs the 'service' if set to true (which then uses the OnStart method to run my 'main' method), if it's set t...
When configuring nginx with a site that has ssl, the examples I find online basically duplicate the location settings. Most examples only have the default root location so it's not that big of a deal, but when you have a few locations and rewrite rules in place duplicating this configuration gets messy to maintain.
I've considered proxy...
I have a code base that has been used as an ASP.Net web application. It's now branching out and being used as part of two WinForms applications.
The main difference is that the WinForms apps should store their settings "per user" and the web app only needs to store the settings at the "application" level. They are the same settings, bu...
I have
<script type="text/javascript">
function setupComet()
{
dojox.cometd.init("http://comet.domain.tld:8000");
dojox.cometd.subscribe("/my/calendar", cometCallback);
}
dojo.addOnLoad(setupComet);
function cometCallback (msg)
{
alert(msg.data);
}
</script>
Orbited is replying (viewed with firebug):
<htm...
I've got some controls on a web page that surface configuration elements of my web application.
I've wired up to their "OnChange" events, to capture value changes and so on. For each on change, I would like to say Configuration.Save(), but apart from getting "access denied" exceptions on web.config, I suspect this could be some weirdnes...
I have a small application written in Zend Framework that I want to embed into Drupal Page.
Both apps (ZF and Drupal) are be located at the same domain.
But per my knowledge ZF requires to be installed in the root of server, where I already have Drupal. My concern is that ZF controller will mistreat Drupal page requests as bad controlle...
I have a Windows Server 2003 machine which I will be using as a Postgres database server, the machine is a Dual Core 3.0Ghz Xeon with 4 GB ECC Memory and 4 x 120GB 10K RPM SAS Drives, all stripped.
I have read that the default Postgres install is configured to run nicely on a 486 with 32MB RAM, and I have read several web pages about co...