Asked by:
synctoy 2.1 Exception during preview: Failed to create the provider.

Question
-
I have synctoy 2.1 x86 installed and keep receiving this error, I have tried uninstalling it and reinstall it, and also tried checking my files to see if there were any with to long of a name or were locked, I have not been able to find any so far, here is the log from when i get the error.
SYNC: 01/16/2012 14:49:38:012: *** Exception during preview: {0} :
Microsoft.Synchronization.SyncException: Failed to create the provider. ---> System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.Synchronization.Files.Interop.FileSyncProviderClass.Initialize(Guid& guidReplicaId, String pcszReplicaRootPath, String pcszMetadataFilePath, String pcszTempDirectoryPath, FILESYNC_INIT_FLAGS dwSyncFlags, IFileSyncScopeFilter pScopeFilter, IFileSyncProviderCallback pCallback, String pcszPathToSaveConflictLoserFiles)
at Microsoft.Synchronization.Files.FileSyncProvider..ctor(Guid replicaId, String rootDirectoryPath, FileSyncScopeFilter scopeFilter, FileSyncOptions fileSyncOptions, String metadataDirectoryPath, String metadataFileName, String tempDirectoryPath, String pathToSaveConflictLoserFiles)
--- End of inner exception stack trace ---
at Microsoft.Synchronization.Files.FileSyncProvider..ctor(Guid replicaId, String rootDirectoryPath, FileSyncScopeFilter scopeFilter, FileSyncOptions fileSyncOptions, String metadataDirectoryPath, String metadataFileName, String tempDirectoryPath, String pathToSaveConflictLoserFiles)
at SyncToy.SyncEngine.CreateSyncProvider(String replicaDirectory, String metadataStoreFilePath, Guid replicaId, FileSyncScopeFilter syncScopeFilter, Boolean useHashes, Boolean useRecycleBin)
at SyncToy.SyncEngine.CreateReplica(String replicaDirectory, String metadataDirectory, Guid replicaId, FileSyncScopeFilter syncScopeFilter, Boolean useHashes, Boolean useRecycleBin)
at SyncToy.SyncEngine.CreateMetadataFile(String replicaDirectory, Guid replicaId, Boolean useHashes, Boolean useRecycleBin, Boolean& placeInCentralLocation, Boolean& markerFileCreated)
at SyncToy.SyncEngine.CreateMetadataFiles()
at SyncToy.SyncEngine.Run(Boolean previewMode)
at SyncToy.SyncEngine.Preview()
at SyncToyUI.PreviewDialog.PreviewOnePair(SyncEngine she)
SYNC: 01/16/2012 14:49:38:012: *** Exception during preview: Failed to create the provider.
Monday, January 16, 2012 8:55 PM
All replies
-
I have exactly the same problem. synctoy worked well for more than a year and suddenly gives this problem.Wednesday, January 18, 2012 12:34 PM
-
I had this problem and running the synctoy repair or a reinstall did not work.
I fixed it by doing the following (Window7):
Go to: http://www.microsoft.com/download/en/details.aspx?id=17439
Download: Microsoft SQL Server 2005 Compact Edition (SQLServerCE31-EN.msi)
Go to: Control Panel\All Control Panel Items\Programs and Features (add remove programs)
Repair: Microsoft SQL Server 2005 Compact Edition (using the downloaded SQLServerCE31-EN.msi file)
Repair: Microsoft Sync Framework 2.0 Core Compnents
Repair: Microsoft Sync Framework 2.0 Provider Services
Now fixed..
- Proposed as answer by Crag0928 Friday, January 20, 2012 11:27 AM
Friday, January 20, 2012 11:20 AM -
Here is another one with the same problem.I am running Win XP and it is impossible to get the program to work.Tried uninstall,reinstall no result.On my LapTop running Win7 it is no problem.
Anybody out there having the solution?
Friday, January 20, 2012 11:22 AM -
Perfect - works as announced!Sunday, January 29, 2012 10:04 AM
-
I also get "failed to create provider"....It was working for a few weeks then in the new year, get the error...running XP. Deleted and reloaded several times. No ideas out there?
- Proposed as answer by Yughead Tuesday, February 7, 2012 2:28 PM
Sunday, January 29, 2012 3:56 PM -
I don't think it's a surprise that to me this has happened after a automatic Windows Update that required a restart. Thanks for nothing yet again!Wednesday, February 1, 2012 10:14 AM
-
What works?Wednesday, February 1, 2012 10:14 AM
-
Go
to control panel – add/remove programsSelect
Microsoft Sync Framework 2.0 Provider Services (x86) ENUClick
the Click for support information
Click Repair- Proposed as answer by LittleDaemon Saturday, March 17, 2012 5:13 PM
Tuesday, February 7, 2012 2:27 PM -
Go to control panel – add/remove programs
Select
Microsoft Sync Framework 2.0 Provider Services (x86) ENU
Click
Click for support information
Click Repair- Proposed as answer by branchslap Thursday, March 22, 2012 7:36 AM
Tuesday, February 7, 2012 2:29 PM -
Thanks for the fix, it worked well thought I was not sure if the download was required as I didn't get a prompt when repairing Microsoft SQL Server 2005 Compact Edition (using the downloaded SQLServerCE31-EN.msi file) to select the downloaded file.
Cheers.
Wednesday, February 22, 2012 12:42 AM -
Thanks Yughead - It's solved the problem. TeannSunday, February 26, 2012 3:18 AM
-
I am running XP and there are 2 modules in MS Sync Framework 2.0 that need to be repaired (and obviously a 3rd in Win7):
Provider Services
Core Components
Compact Edition (W7...?) To repair them, you need 3 files which can be downloaded from this link:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=18241
ProviderServices-v2.0-x86-ENU.msi
Synchronization-v2.0-x86-ENU.msi
SQLServerCE31-EN.msi
You will be prompted for the path on your machine during the repair process, so to simplify matters, you could make them 'easily accessible'. Thanks to Crag0928 and Yughead for this info; that is rather obscure stuff for the "ordinary" MS user... Whoever found these things deserves a pat on the back... jollie fine showe, old chap. Although it begs the question of how the Framework became suddenly corrupted, and needed repairing.
- Edited by Dodger4 Tuesday, March 13, 2012 4:46 AM
Monday, March 12, 2012 11:48 PM -
One of the files (SQLServerCE31-EN.msi) is not in that link; you have to use Crag's link above to download it:
http://www.microsoft.com/download/en/details.aspx?id=17439
crocodile_dondii
Tuesday, March 13, 2012 4:48 AM -
This worked, thank you!
Go
to control panel – add/remove programsSelect
Microsoft Sync Framework 2.0 Provider Services (x86) ENUClick
the Click for support information
Click Repair- Proposed as answer by jpl1953 Friday, January 4, 2013 10:53 PM
Saturday, March 17, 2012 5:14 PM -
Works perfectly. Thanks for the fix mate!
Go to control panel – add/remove programs
Select
Microsoft Sync Framework 2.0 Provider Services (x86) ENU
Click
Click for support information
Click RepairThursday, March 22, 2012 7:36 AM -
Merci pour cette réponse complète & opérationnelle !!!!
:)
Friday, June 15, 2012 8:13 AM -
This worked just fine for Win 7Thursday, October 25, 2012 5:37 PM
-
-
-
I'm getting the same error and no luck with running a repair on Microsoft Sync Framework 2.0 Provider Services (x86) ENU. Worked fine before I ran recent Windows (and Office) updates...
Friday, November 23, 2012 9:41 PM -
I fixed it (XP) by upgrading framework 4.0
- Proposed as answer by GandungAri Wednesday, November 28, 2012 4:35 AM
Wednesday, November 28, 2012 4:33 AM -
I prehaps should have tried this first but the Server 2003 fix worked along with the Sync Framework fixes. I am running SyncToy 2.1 on Windows 8. Works fine now.
David Lambert
Friday, November 30, 2012 10:06 PM -
That's when the problem began for me as well but only on my tablet PC.
David Lambert
Friday, November 30, 2012 10:40 PM -
"Repair"ing Microsofy Sync Framework 2.0 Provider Services (x86) ENU worked for me (Windows 7, SyncToy 2.1.0.0)
Thanks for a quck and easy fix :)Tuesday, December 11, 2012 3:00 PM -
I used the suggested fix and Sync Toy is now working . Thanks for your help to all forum users..
HP DV 6928, Windows 7, Home Premium
Friday, January 4, 2013 5:37 PM -
Problem solved. Thanks.
HP DV 6928, Windows 7, Home Premium
- Proposed as answer by RJL1997 Friday, January 4, 2013 5:38 PM
Friday, January 4, 2013 5:38 PM -
This solution worked for me (WinXP Pro, SP3).I've also instaled Samsung application (Kies); however, I didn't uninstall, just repair Sync Framework, and... tachannn!!!!!!! it worked.
Friday, January 4, 2013 10:55 PM -
Go
to control panel – add/remove programsSelect
Microsoft Sync Framework 2.0 Provider Services (x86) ENUClick
the Click for support information
Click RepairThat's short but sorry, my English is very bad.
Thank you for the repair !
[b]"Êt'malin et nieu s'in servi, autint d'môrer biète"[/b] [b]"Demandez-moi ce que vous voulez, je ferai ce que j'ai décidé"[/b]
Sunday, April 21, 2013 2:02 PM -
This solution worked for me (WinXP Pro, SP3).I've also instaled Samsung application (Kies); however, I didn't uninstall, just repair Sync Framework, and... tachannn!!!!!!! it worked.
Funny thing... I just happen to uninstall Kies the other day, and SyncToy has stopped working. Didn't think of that....
Anyway- Crag0928's solution (to repair all three) worked for me.
Thanks.Monday, May 6, 2013 8:01 PM -
Thank you so much - it works now!Tuesday, July 16, 2013 11:43 AM
-
Thanks!
I had the problem on Vista and your solution was the only thing that fixed it!
Thursday, August 1, 2013 10:00 AM -
Worked perfectly, thanks!Saturday, August 24, 2013 12:34 AM
-
Sorry, should mention, using XP SP3.Saturday, August 24, 2013 12:35 AM
-
Had the same problem "Failed to create the provider", and repairing the Sync Framework works ok.
For me the problem was caused when i installed Samsung Kies which messed with the Sync Framework.
No need to uninstall Kies, just repair Sync Framework
Sunday, September 22, 2013 12:20 PM -
Samsung Kies did the same to me..
"repaired" after downloading the appropriate files for XP SP3.
Synctoy works again.
thanks all.
Thursday, October 17, 2013 2:44 AM -
tnank you!
fixed!!
Wednesday, June 10, 2015 12:31 AM