2020-04-06 08:22:03,400 [P22664/D2/T1] WARN Jumoo.uSync.BackOffice.uSyncBackOfficeConfig - Unable to load the settings: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Diagnostics.Debugger.NotifyOfCrossThreadDependencySlow()
at System.Diagnostics.Debugger.NotifyOfCrossThreadDependency()
at System.Lazy1.get_Value()
at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at Jumoo.uSync.BackOffice.uSyncBackOfficeConfig.Init()
2020-04-06 08:22:11,962 [P22664/D2/T1] INFO Jumoo.uSync.BackOffice.uSyncApplicationEventHandler - Running uSync Import: Group = default Folder = ~/uSync/data/ Force = True
2020-04-06 08:22:27,236 [P22664/D2/T1] ERROR Lcp.Pas.Web.MemberAccess.Umbraco.Helpers.PropertyDataAndMemberMigration - Error:Value cannot be null.
Parameter name: source
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func`2 selector)
at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
at Lcp.Pas.Web.MemberAccess.Umbraco.Helpers.PropertyDataAndMemberMigration.Up() in C:\vs_proj\pas\Solutions\WebMemberAccess\Lcp.Pas.Web.MemberAccess.Umbraco\Helpers\PropertyDataAndMemberMigration.cs:line 47
From the error it looks like the uSync config files are missing/corrupt ?
uSync will try to read them, to get handler settings/etc.
you might be doing this but Its probably best to run code after uSync has started up itself, you can hook into the uSyncEvents.Initilized event, which is fired after uSync has started up.
usync Import() Error:Value cannot be null. Parameter name: source
Has anyone come across this error when trying to programmatically import on application startup?
2020-04-06 08:22:03,400 [P22664/D2/T1] WARN Jumoo.uSync.BackOffice.uSyncBackOfficeConfig - Unable to load the settings: System.Threading.ThreadAbortException: Thread was being aborted. at System.Diagnostics.Debugger.NotifyOfCrossThreadDependencySlow() at System.Diagnostics.Debugger.NotifyOfCrossThreadDependency() at System.Lazy
1.get_Value() at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract) at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) at Jumoo.uSync.BackOffice.uSyncBackOfficeConfig.Init() 2020-04-06 08:22:11,962 [P22664/D2/T1] INFO Jumoo.uSync.BackOffice.uSyncApplicationEventHandler - Running uSync Import: Group = default Folder = ~/uSync/data/ Force = True 2020-04-06 08:22:27,236 [P22664/D2/T1] ERROR Lcp.Pas.Web.MemberAccess.Umbraco.Helpers.PropertyDataAndMemberMigration - Error:Value cannot be null. Parameter name: source System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable
1 source, Func`2 selector) at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force) at Lcp.Pas.Web.MemberAccess.Umbraco.Helpers.PropertyDataAndMemberMigration.Up() in C:\vs_proj\pas\Solutions\WebMemberAccess\Lcp.Pas.Web.MemberAccess.Umbraco\Helpers\PropertyDataAndMemberMigration.cs:line 47Hi,
From the error it looks like the uSync config files are missing/corrupt ?
uSync will try to read them, to get handler settings/etc.
you might be doing this but Its probably best to run code after uSync has started up itself, you can hook into the
uSyncEvents.Initilized
event, which is fired after uSync has started up.is working on a reply...