20. March 2009 18:57
WARNING: This worked for me and I’m not saying it is the right solution. Some cases may vary from mine.
In my case this error occurs after deploying a WCF Service to IIS 6 which was referenced from Visual Studio 2008 with .NET Framework 3.5 SP1 and works perfectly in the local development environment. The server is a Windows Server 2003 with .NET Framework 3.5 without the SP1 installed. We solved the problem by installing 3.5 SP1.
It would be nice to have all environments set up the same, but such is life :)