I have virtual host where I have set up an IIS 6 server. In the extensions I have added ASP.NET v1.1.4322 and ASP.NET v2.0.50727 and set them to allowed, but I still get a file not found error when using aspx files.
Do I need to setup mimetypes for aspx or anything else?
...
I'm moving frequently between D7 and D2009 with library code that works with both. For ease of going both ways, I'm routinely deleting all the D2009 additional files that get created, eg *.dproj etc such that on entry to D2009 I'm only ever taking D7 files. This is nice because D2009 automatically makes a *.dproj, *.dgroup etc and apart ...
I would like to store a collection of custom objects in a user.config file and would like to add and remove items from the collection programmatically and then save the modified list back to the configuration file.
My items are of the following simple form:
class UserInfo
{
public string FirstName { get; set; }
public string La...
I know that you can use java.util.Properties to read Java properties files.
See: http://stackoverflow.com/questions/212539/java-equivalent-to-app-config
Is there a standard place to put this file? In .NET we put application.exe.config in the same directory as application.exe. The application looks for it here by default.
Java can be m...
I have a xml configuration file for an application and i am wondering which is the best way to keep documentation for it. IE Possible tags, values, etc
Is there a tool, or schema standard or practice that i should follow?
...
I am using the Configuration Section Designer for .NET to build a simple ConfigurationElementCollection. It appears that everything builds just fine and the code is automatically generated since the sub-elements are visible with Intellisense.
Unfortunately, even though I have added elements to the collection in the configuration sectio...
I'm looking for tips on the best way to reconfigure the Log4Net logging level dynamically in my ASP.NET apps. I generally use a simple configuration where the root logger defines the default logging level, e.g.
<log4net>
<root>
<level value="INFO" />
<appender-ref ref="..." />
<appender-ref ref="..." />
... etc ... ...
The .NET 2.0 and up configuration system is quite powerful and extensible - as long as you don't want to change the fact it all comes from XML files in the filesystem.
In my requirement, I cannot change files since my app runs in a managed environment outside my reach - but I could change the SQL Server database.
So I am looking at sto...
I've got xampp installed on my laptop runing XP, and it's been running without any problems for ages.
I've just tried installing cakephp, and have altered the database config and enabled mod_rewrite.
But now I get the following on the welcome page:
Your tmp directory is writable.
The FileEngine is being used for
caching. To ...
When editing .NET config files (app.config, web.config, etc) in Visual Studio, I get Visual Studio's intellisense to guide me when choosing my application's settings. If I add a custom configuration section, how can I enable intellisense for my custom settings? I'm sure there must be an easy answer to this, but a cursory Google search di...
I'm considering using Spring to assemble the components of my application, but I've got a problem. Our application uses a configuration repository that is global to the VM, and is similar (but not precisely) to the system properties.
This configuration API is accessed like so:
Configuration.getDb ().get ("some_property_name")
Is the...
Hey,
Here is a doubt.
The external modification/updation in application configuration files for .net - app.config, web.config - would be applicable at run-time? Or the application need to be restarted.?
Is this applicable for the sections in these config files?
thanks
123Developer
...
Hi everyone,
I have 2 machines sitting on my desk and connected to the same IP network. I'm trying to connect an application from one machine to the postgres database on the other.
At first the host with the application on it was giving me the PSQLException:
FATAL: no pg_hba.conf entry for host "192.168.1.18", user "user1", database "...
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' b...
I have a program that has to read a configuration file from a PHP script, and a quick search has revealed there are dozens of ways to handle configuration files in Perl:
Config data in a separate file
AppConfig
Config::General
Config::IniFiles
Config::Scoped
Config::Simple
ConfigReader::Simple
And many others
Brian provides an overvi...
What is an alternative to autotools in Haskell world? I want to be able to choose between different configurations of the same source code.
For example, there are at least two implementations of MD5 in Haskell: Data.Digest.OpenSSL.MD5 and Data.Digest.Pure.MD5. I'd like to write code in such a way that it can figure out which library is ...
Hi everyone
I am trying to make an RSS Feed with asp.net,sql and xml.
I am getting an error
Compiler Error Message: CS0103: The
name 'MyConnString' does not exist in
the current context" on line 22
"SqlConnection objConnection = new
SqlConnection("MyConnString");
My web config contains
<connectionStrings>
<add name="...
Please pardon my non-understanding here. I have a local mysql server and I need to be able to access that data over an encrypted channel from a java web application running on a web host. Can anyone recommend the best way to do this?
Thank you!
Joshua
...
My company has a large customer that has many regions/sites/offices. Each location can have its own set of servers with its own data. The users of the system are centrally administered thru a domain. The computers in this network are locked down with only http access to the internet. There is a company wide Sharepoint portal. All servers...
If I don't want to install Boost but I want to build one of the libraries (i.e. BGL, for using graphml) is there a way to build the library in a system independent manner without running .configure?
...