Syncplicity Support

Search our knowledgebase to get the help you need, today


Desktop client does not start when some of the special folders are network mapped and inaccessible




1. The desktop client does not start.

2. The errors in the log:

2023-03-31T14:09:27 ERROR [ui] App - Application failed to start
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Syncplicity.Client.Shell.SpecialLocalFolderIconSetter..ctor(ServiceLocator serviceLocator, IRegistryManager registryManager)
at Syncplicity.Client.Shell.FolderIconSetterProvider.Initialize(ServiceLocator serviceLocator)
at Syncplicity.Client.Shell.SharedFolderIconManager.Initialize(ServiceLocator serviceLocator)
at Syncplicity.Client.ServiceLocator.Initialize()
at Syncplicity.Client.Service.StartupSequence.StartInternalService()
at Syncplicity.Client.App.App.Application_Startup(Object sender, StartupEventArgs e)
2023-03-31T14:09:27 INFO [ui] Application - Exiting application
2023-03-31T14:09:27 ERROR [ui] App - Unhandled exception in the UI:
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncplicity.Client.Application.Exit(Boolean forceExit)
at Syncplicity.Client.App.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023-03-31T14:09:42 WARN [ 7] IO Fiber - Operation Adjusting priority is delayed, currently-running operation:


The issue:


The desktop client does not start when some of the special folders are network-mapped and inaccessible.

For example, two of the special folders like Pictures, Downloads, Desktop, etc. are mapped to a network resource, as shown in the screenshot, and the network resource is inaccessible. 




In that case, the Desktop Client does not start even after a clean install.

When two or more special folders are mapped to network resources and the resources are inaccessible, a specific check from the Syncplicity system returns the same result, which is the reason for the “An item with the same key has already been added“ error.

When you try to open the special folders, an error occurs:





1. Fix the access/connection to all special folders which used the network paths.

2. Change the path of the special folders in order to point to a local destination.



It is planned to be fixed in some of the future releases.

Powered by Zendesk