c# - A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.Synchronization.dll -
im developing microsoft sync 2.1 sdk when seek synch hard drive external hard drive (toshiba 1,5 gb) have problem: develop enviroment (personal computer)
a first chance exception of type 'system.runtime.interopservices.comexception' occurred in microsoft.synchronization.dll laptop (other computer)
retriving com class mill component clsid {....} failed due next error: 80040154 class not registered (exception hresult:0x80040154 (regdb_e_classnotreg))
i read lot of entries in web( example: system.runtime.interopservices.comexception (0x80040154):) explaining problem, problem isnt platform (x32/x64) problem related registering don't know how register in computer or run "regsvr32.exe dll" how can obtain com object of hard drive? if user others external hard drives, necessary install drivers of drivers?
i attach error messages:
syncexception data: system.collections.listdictionaryinternal syncexception message: syncexception innerexception: system.runtime.interopservices.comexception (0x80041007) @ microsoft.synchronization.coreinterop.isyncsession.start(conflict_resolution_policy resolutionpolicy, _sync_session_statistics& psyncsessionstatistics) @ microsoft.synchronization.knowledgesyncorchestrator.doonewaysynchelper(syncidformatgroup sourceidformats, syncidformatgroup destinationidformats, knowledgesyncproviderconfiguration destinationconfiguration, synccallbacks destinationcallbacks, isyncprovider sourceproxy, isyncprovider destinationproxy, changedataadapter callbackchangedataadapter, syncdataconverter conflictdataconverter, int32& changesapplied, int32& changesfailed) syncexception helplink: syncexception source: microsoft.synchronization syncexception stacktrace: @ microsoft.synchronization.knowledgesyncorchestrator.doonewaysynchelper(syncidformatgroup sourceidformats, syncidformatgroup destinationidformats, knowledgesyncproviderconfiguration destinationconfiguration, synccallbacks destinationcallbacks, isyncprovider sourceproxy, isyncprovider destinationproxy, changedataadapter callbackchangedataadapter, syncdataconverter conflictdataconverter, int32& changesapplied, int32& changesfailed) @ microsoft.synchronization.knowledgesyncorchestrator.doonewayknowledgesync(syncdataconverter sourceconverter, syncdataconverter destinationconverter, syncprovider sourceprovider, syncprovider destinationprovider, int32& changesapplied, int32& changesfailed) @ microsoft.synchronization.knowledgesyncorchestrator.synchronize() @ microsoft.synchronization.syncorchestrator.synchronize() @ eric.form1.synchronize(string source, string destination) syncexception targetsite: void doonewaysynchelper(microsoft.synchronization.syncidformatgroup, microsoft.synchronization.syncidformatgroup, `enter codehere`microsoft.synchronization.knowledgesyncproviderconfiguration, microsoft.synchronization.synccallbacks, isyncprovider, isyncprovider, microsoft.synchronization.changedataadapter, microsoft.synchronization.syncdataconverter, int32 byref, int32 byref)
thanks help! frank
if have installed sync fx properly, don't have regsvr dlls. error due target platform of application not matching platform of sync fx installed. (you cant have exe target x64 , install x86 sync fx). need install sync fx on machine running sync, not on external drive
c# visual-studio-2010 microsoft-sync-framework hresult
No comments:
Post a Comment