1
I’m trying to implement a system where I need to have a local database (SQL Compact) and a cloud database (MSSQL) that can be synchronized. The shape I found that I’m following is the one specified on this link.
But I am having some problems when host the WCF service on a dedicated server (on the IIS of my machine is working).
The error found is as follows:
Exceptiondetail, probably created by Includeexceptiondetailinfaults=true, whose value is:
System.Unauthorizedaccessexception: Retrieving the COM class Factory for Component with CLSID {EC413D66-6221-4EBB-AC55-4900FB321011} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). at Microsoft.Synchronization.Syncidformatgroup.get_ProviderSyncServices()
Has anyone ever experienced a similar mistake? Or know a simpler way to implement it?
I tried to reinstall the server version and the error continues. I also tried the alternative answered at this forum: [http://social.msdn.microsoft.com/Forums/pt-BR/dafb776e-4501-4c9a-857d-7431f7e14d9a/access-is-denied-syncworkframe?forum=wcf] and nothing else. I’ll make a few more attempts and study the SSIS to see what I can do here.
– Iran
Which version did you install, x86 or x64? Sometimes, although the server is x64, Syncframework searches for x86 libraries (due to erroneous references in the project). Try installing both versions (x64 and x86) and see if the error persists.
– Omni