Cryptic WCF service not found error
When your WCF service returns you the error “The type ‘MyNamespace.MyService’, provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.” The common culprit will inside the .svc file, you just double check the Code behind file or DLL are deployed in the bin folder. But one rarely known cause is that your WCF service can’t be activated due to missing dependency, which in my case today I realize I didn’t deploy the Sync Framework. So beware, WCF errors can be quite cryptic sometimes.
Sync Framework error at SyncOrchestrator.Synchronize()
You may hit the following error when you SyncOrchestrator.Synchronize() method
Retrieving the COM class factory for component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0×80040154 (REGDB_E_CLASSNOTREG)).
This is because you are running on 64bit Windows but your assembly is in 32bit mode. To change to, just switch to Configuration Manager and add x64 platform to your solution platform.
Teaching Prism and Sync Framework for SCoPE Penang
Got invited by Software Consortium of Penang (SCoPe) to conduct a one day course on Composite Application Guidance for WPF (Prism) and Sync Framework. Due to short notice, about 8 participants turned up for the weekend workshop.
My Prism hands on labs are downloadable here.
http://cid-732d1d42507315a3.skydrive.live.com/browse.aspx/Public/Prism
