configuration

Configuration-Based Activation Problem In My Wcf Service

Hi, I want to use new .Net framework 4.0 feature "Configuration-Based Activation". I wrote that lines into web.config. <system.serviceModel> <serviceHostingEnvironment> <serviceActivations> <add factory="MyCompany.Core.Hosting.WcfHostFactory" relativeAddress="Greeting.svc" service="MyCompany.Core.Services.Gree...

configure an eclipse based IDE

Hi There, I am new to programming. In fact this is my first job and it has been just a month. I work for a company who use Savvion as BPM tool to automate some process. It has an Eclipse based IDE. The way it works is that we can map business process using worksteps and linking those work steps. My question is how to configure that ...

How to use properties notation in a Hibernate XML configuration file

This is still a pending question. Hopefully, one day I'll get an answer. Thanks to all who replied. My question is simple. How do I use ${catalina.home} or ${catalina.base} property inside a Hibernate XML configuration file? Here's my sample configuration file: <hibernate-configuration> <session-factory> <property name="dialect">...

Hibernate annotation configuration with Spring can't find domain object

I am having a problem with Hibernate seeing my domain objects doing a purely annotation configuration for Hibernate. I'm getting org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User u where u.userName=:userName] I thought all that had to be done was add the packagesToScan property for the sessionFactory and add @E...

Windows Service cannot access Castle Windsor config data in app.config

Hi all I use Castle Windsor in a couple of web apps just fine by putting the config data in web.config. So when I decided to use it in a Windows Service I thought it would be a cinch. My app.config file looks like the following: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="castle" type=...

Why does HTML Purifier ignore my runtime created configuration settings?

Hello again, everyone! Naturally I am still fighting with HTML Purifier… So, my /config/purifier.php looks like: <?php defined('SYSPATH') or die('No direct access allowed.'); return array( 'settings' => array( 'HTML.Allowed' =>'a,b,strong,p,ul,ol,li,img[src],i,u,span,', 'HTML.MaxImgLength' => 250, 'CSS.MaxImgLength' =>...

Xcode codesigning fails every other build

My iPhone project fails to build every other time and gives me the following info: CodeSign build/Debug-iphoneos/coati.app cd /Users/rpeck/Documents/Coati setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platfo...

PHP stuck in safe_mode

Even though I've set safe_mode = Off in php.ini, restarted apache, and even rebooted the system... when I try to execute set_time_limit(0) in my application, it throws the warning that set_time_limit cannot be st in safe mode. This has been erratic behavior; earlier when I set safe_mode to Off, the system worked fine. But later ...

Configure widgets positions on website

What is the commonly accepted way so an admin can set panels/widgets positions (i.e. from the image below, set "Data Finder" to sit on "top left") ? In other words, the customer/admin would like to be able to configure the widgets/panels positions at startup (and users see that by default), maybe using a JSON configuration file that is ...

Best practice to merge config files and deploy them

On a regular base, we do some changes (modify or add) on our web application config file. Every time someone adds a new config line, he has to tell the team that he was adding a new config part to the global config. We have a scaffolding config under version control. Is there a smart way to merge the new config template with your existin...

iphone ui control to manage multiple things

hi all! how is called this ui control to manage multiple things like in the contacts or for classic user/passwords? like this for example: ...

Visual Studio 2008 (Color Picker Bug?)

On my properties window, on the color type properties, the color picker "Custom, Web, System" is not showing. Only the names of colors are showing. It's a bug? How can I fix that? Ps: Sorry my english. ...

How to specify a range of MAC addresses?

Hi, I am using Lab Manager 4.0 and in our network configuration for our LAN; I have a range of 10 MAC addresses for networking. I would like to create a VM template which allocates a MAC address from the pool of the specified MAC address. e.g. 00-50-56-3F-DA-02 - 00-50-56-3F-DA-08. In this example, only the last number is in the range ...

VM Templates and Network Configuration

Hi, We are testing Lab Manager 4.0 for our group to manage number of VM templates for deployment. The network configuration in our organization is such that every machine has to be registered with a unique MAC address. As a result, I have a block of 10 IP addresses for 10 (virtual) MAC addresses. I can use them individually to deploy V...

VS 2010 Database Project - Different Connections

I have an application that I'm developing in Visual Studio 2010 that utilizes a SQL Server database. As such, I am using a VS SQL Server 2008 Database Project. The database project requires a target connection for which is used to build the database. Problem: This project is under source control for a team of developers and a build s...

Heroku error: "Permission denied (public key)"

I keep getting this error. I am using Mac. I generated a key and added it to heroku using heroku config:add key="ssh-rsa [email protected]" But this doesn't work. I keep getting the same error. Short of reinstalling ssh-keygen, what can I do about this? ...

Code to be executed only when application is run outside of visual studio ?

I have a WPF windows application that makes a call to a DLL for registration. I need this code to be called only when the application is run outside of visual studio. In other words, when clicking run from within the visual studio, I dont want this code executed but want it executed if EXE is called outside of visual studio. Is there a ...

What linux / apache host server settings could be affecting my upload speeds?

Upload speeds to one particular server of mine are drastically slower than expected, or tolerable. I am moving a site to a new host; part of the functionality of the site is the upload of several large (>50Mb) files daily. The current upload speeds are unacceptably slow on the new server. I am new to linux and apache server config...

Common strategies when defining Spring beans for different environments

What are common strategies for defining a bunch of beans, which are used differently in development and production environments? Let's say I have 2 beans, each implementing the same interface. One bean serves as abstraction for local filesystem, the other connects to a distributed filesystem. To keep the development as steady, as possib...

Unity 2.0 registering generic types via XML

I am trying to register a generic type in a config file for Unity 2.0 but can't seem to get it right. I have been referring to the MS documentation here : http://msdn.microsoft.com/en-us/library/ff660933%28v=PandP.20%29.aspx#_Generic_Types The code looks like this: public interface IRepository<T> where T : class { ... } public cl...