Dailycode.info

Short solution for short problems

WCF: Conflicts between config file on server and client

A simple trick to fix this problem is to add the service via visual studio's service reference. Then Visual studio will create the configuration settings for you on the client based on the settings of the server and the local machine settings. Sometimes the conflict comes because a setting is not explicitely defined on the server and then it picks up the machine.config settings. So just add the service with visual studio and inspect the settings or just take them over.