configuration

Cannot use a leading .. to exit above the top directory.

Dears , i have a asp.net web site with it we have admin area with login page for admin only and all site is allowed for all - i need to ask how to define the right security configuration for it as i get this error Cannot use a leading .. to exit above the top directory. Description: An unhandled exception occurred during the execution...

Using SQLite for configuration management

I'm developing a PHP application where I have to store configuration variables. Using MySQL would be overkill, because it's a CLI app I'm talking about and there are only a couple of configuration variables. I don't know about INI files... I'm thinking of using SQLite. What do you think? It is too overkill using SQLite? Do you sugges...

Regarding application.properties file and environment variable

In my application.properties file if I have the path configured like below Java successfully recognizes the path. pathToInputFile=/kcs/data/incoming/ready/ pathToInputFileProcess=/kcs/data/incoming/work/ If I have the below way using environment variable Java program doesn't recognize the path Environmental variable TOM_DATA is set ...

Why is the EntLib Caching Application Block using the wrong configuration file

When I try and use code that makes use of the Enterprise Library Caching Block I get the following error: The "cachingConfiguration" section is not available in the supplied configuration source. The section is in my app.config file for that particular assembly though. If I copy the file into the unit test assembly that makes use of th...

feeding dependencies to a factory class via IoC?

I have a factory class that decides which of four available subclasses it should instantiate and return. As you would expect, all subclasses implement the same interface: public static class FooFactory{ public IFoo CreateFoo(FooEnum enum){ switch (enum) { case Foo1: return...

Can we change the day and time of a schedule task which is already created

I have already created a schedule task which runs weekly on some day(wed). I want to change the day and the time of the same task. Is it Possible? If it is not possible, then delte the current scehdule task first and recreate a new one is the solution? ...

How to Implement ConfigurationElement in c#?

Here's the error I'm getting with the code pasted below. Unable to create instance of class ZDRCreatorTests.ZDRCreatorTests. Error: System.Configuration.ConfigurationErrorsException: The default value of the property 'indexedFolder' cannot be parsed. The error is: Unable to find a converter that supports conversion to/from string for t...

IIS offers .svc file for download instead of executing it on the server!

Hi there, My RESTful WCF Web service appears to break itself if I leave it alone for a while! I can leave my PC with everything working and when I return and test the service with a simple url request it'll offer me the .svc file for download instead of initiating the request on the server! This WCF service sits in it's own IIS Applica...

test ssis package configurations - connection managers

What would be the best method to use for testing that connection managers are correctly pulling their connection strings from the package configurations on multiple packages (In VS 2008). In the past I have created a data flow which ran the query select @@servername and outputed to a text file. While this works, it seems a bit redundan...

Securing trac from anonymous users?

I have set up trac on my domain for issue tracking. How to I configure it so that when anonymous users visit the domain, ALL they see is a login form. Basically I want 2 security levels: anonymous - visitors only have access to a login option users (i.e. everybody else who has logged in) - have access to everything Thanks! ...

Reverse Cascading XML Configuration: How To?

Question: I am wondering if anyone out there has a good answer as to the best way to Reverse Cascade XML configuration. What does this mean: I have a web application framework which hosts many portals. Each of those portals has a XML configuration file which defines various configuration values. Each of those sites can also have n numb...

How to understand which modules must be configured in httpd.conf (Apache)

Hi all, I have latest Apache installed on CentOS 5.4. After I configured Virtual hosts and left the server for a while I saw a lot of memory consumption. In the ps aux I saw that apache is taking a lot of memory. In order to reduce the memory usage I'd like to disable unneeded modules in apache configuration. Web site content: 1) HTML 2)...

How can I associate a simple product with a configurable product?

My site carries some products that can be sold individually or personalized with a tag. The tag option has a total combination of 1140 variations. 3 Shapes 19 Clipart designs 15 Color choices I created a configurable product and ran it through EasySKU extension and later associated the products as "group" product. The configurations ...

SQL Server 2005/2008 - Double Click to open table / view first 200 results?

Is there a way to configure the shortcuts etc in SQL Server 2005 / 2008 as per the headline. When I doubleclick on a table, I typically want to open it to view the information within, not to just access the next level on the explorer. When I do this on a procedure, I usually want to modify it. This question is one year overdue as this i...

How can I load changes to my .emacs without rebooting Emacs?

How can I load changes from .emacs without rebooting Emacs? ...

How to set Axis2 Web Service Client configuration using axis2.xml?

The documentation for Axis2 mentions axis2.xml file for configuration transport settings. However I could not seem to set transport type from HTTP/1.1 to HTTP/1.0 without chunking. I have put axis2.xml file in the classpath, in the same directory but no luck. Where should I put this configuration file in order to change the transport set...

All Available Tags in web.config file of asp.net

hi i want the list of all available tags list & desc of xml tags ...

SOLR multicore shared configuration

I'm using multiple cores in SOLR to enable offline population of indices (and then using SWAP to swap out the active core). I want to use the same solrconfig.xml file for both cores - can someone tell me where I should put this so it can be picked up by SOLR? ...

How to trigger XDebug for a command line PHP script?

XDebug offers the configuration directive "xdebug.profiler_enable_trigger" that allows to activate profiling by passing the GET or POST parameter "XDEBUG_PROFILE" when calling a script via HTTP. This is handy if you don't want profiling for ALL of your scripts but only for a few special cases without always changing your PHP configuratio...

File permissions across user profiles

I am using ClickOnce deployment for a Windows Forms application and I need configuration information on a machine basis that persists across deployments and across user profiles. As such, per user configuration does not help. I would also like the configuration file to be easily accessible with a text editor in a well known location on...