Azure Data Sync - Class not registered EC413D66-6221-4EBB-AC55-4900FB321011 - 0x80040154
I’m building a little sync app to sync data between databases and came across this error. I thought it was a duff install but spent some time on it this morning.
Well the issue was that when you create a windows application in Visual Studio 2010 not only does it choose the .Net Client Profile it also selects x86 as the default target platform. As I am running on a x64 laptop I installed the x64 bits for Sync Services and so understandably the x86 version of the libraries is not installed
The solution is easy
Change your target platform to any or x64 for your application.(any should default to x64 on an x64 machine)