Skip to content

Instantly share code, notes, and snippets.

@FH-Inway
Created March 5, 2025 15:33
Show Gist options
  • Select an option

  • Save FH-Inway/15aae9139efeb6d002b6b752fcd30cf4 to your computer and use it in GitHub Desktop.

Select an option

Save FH-Inway/15aae9139efeb6d002b6b752fcd30cf4 to your computer and use it in GitHub Desktop.
Log of failing SyncEngine.exe run
=== SyncEngine Parameters ===
MetadataBinaries: K:\AosService\PackagesLocalDirectory
BinFolder:
MetadataFolder:
DatabaseConnectionString: **Intentionally omitted for security**
TableOrViewList:
DropTableOrViewList:
SyncMode: FullAll
SecurityRoleList:
SecurityRoleExtensionList:
SecurityDutyList:
SecurityDutyExtensionList:
SecurityPrivilegeList:
SecurityPolicyList:
DropRoleList:
DropRoleExtensionList:
DropDutyList:
DropDutyExtensionList:
DropPrivilegeList:
DropPolicyList:
MIDisplayList:
MIActionList:
MIOutputList:
FormList:
ReportList:
DropTableExtensionList:
TableExtensionList:
KpisList:
DropKpisList:
ADEsList:
DropADEsList:
CompositeEntityList:
IgnoreIndexList:
ContinueOnError: True
ParallelExecution: False
PauseForDebugger: False
SkipInitialSchema: False
IndexCompressionTimeLimitMinutes: 0
LargeTableThresholdMB: 20480
TableThresholdMBForIndexManipulation: 15000
LogVerbosity: Normal
RaiseDataEntityViewSyncNotification: False
AnalysisDirectory:
SkipInitialSchemaRegionHashing: False
DisableMonitorSync: False
DisableRollbackDecisionGuide: False
RelatedActivityId 00000000-0000-0000-0000-000000000000
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: Aborting DAMS resumabe index rebuilds...
Abort DAMS resumable indexes completed.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: Aborting paused resumabe index from last post service sync run...
No index aborted in this run.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: Beginning Sync...
Flighting service init with type: Microsoft.Dynamics.ApplicationPlatform.AOSFlighting.StaticFlightingProvider, Unknown,
Added TenantID=91718eba-1b9a-44db-a511-5b90625df4d8 to flighting context
Added EnvironmentId=0af00ea2-9808-4208-8673-8fa00c0f8d99 to flighting context
Added PlatformVersion=7.0.7452.94 to flighting context
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: Starting monitoring for application DBSync
2025-03-05T14:24:43.0491324+01:00 Beginning sync step: DisableConfigKeyMitigation for SysDeletedObjectSysRowVersionNumber.
IF EXISTS (SELECT 1 from sys.tables where name = 'CONFIGKEYIDTABLE')
IF EXISTS (SELECT 1 from sys.tables where name = 'SYSCONFIG')
BEGIN
declare @configKeyId bigint = (select ID from dbo.CONFIGKEYIDTABLE where name = 'SysDeletedObjectSysRowVersionNumber')
declare @configType int = 6
if @configKeyId is not null and not exists (select 1 from dbo.SYSCONFIG where CONFIGTYPE = @configType and ID = @configKeyId)
insert into dbo.SYSCONFIG (CONFIGTYPE, ID, MODIFIEDBY, CREATEDBY) values (@configType, @configKeyId, 'Admin', 'Admin')
END
IF EXISTS (SELECT 1 from sys.tables where name = 'CONFIGKEYIDTABLE')
IF EXISTS (SELECT 1 from sys.tables where name = 'SYSCONFIG')
BEGIN
declare @configKeyId bigint = (select ID from dbo.CONFIGKEYIDTABLE where name = 'SysDeletedObjectSysRowVersionNumber')
declare @configType int = 6
select 1 from dbo.SYSCONFIG where CONFIGTYPE = @configType and ID = @configKeyId
END
Config key 'SysDeletedObjectSysRowVersionNumber' is disabled
2025-03-05T14:24:43.0648864+01:00 DisableConfigKeyMitigation for SysDeletedObjectSysRowVersionNumber finished. Time elapsed: 00:00:00.0135291.
2025-03-05T14:24:43.0648864+01:00 Beginning sync step: DisableConfigKeyMitigation for SysDeletedObjectSysRowVersionNumber2.
IF EXISTS (SELECT 1 from sys.tables where name = 'CONFIGKEYIDTABLE')
IF EXISTS (SELECT 1 from sys.tables where name = 'SYSCONFIG')
BEGIN
declare @configKeyId bigint = (select ID from dbo.CONFIGKEYIDTABLE where name = 'SysDeletedObjectSysRowVersionNumber2')
declare @configType int = 6
if @configKeyId is not null and not exists (select 1 from dbo.SYSCONFIG where CONFIGTYPE = @configType and ID = @configKeyId)
insert into dbo.SYSCONFIG (CONFIGTYPE, ID, MODIFIEDBY, CREATEDBY) values (@configType, @configKeyId, 'Admin', 'Admin')
END
IF EXISTS (SELECT 1 from sys.tables where name = 'CONFIGKEYIDTABLE')
IF EXISTS (SELECT 1 from sys.tables where name = 'SYSCONFIG')
BEGIN
declare @configKeyId bigint = (select ID from dbo.CONFIGKEYIDTABLE where name = 'SysDeletedObjectSysRowVersionNumber2')
declare @configType int = 6
select 1 from dbo.SYSCONFIG where CONFIGTYPE = @configType and ID = @configKeyId
END
Config key 'SysDeletedObjectSysRowVersionNumber2' is disabled
2025-03-05T14:24:43.0804039+01:00 DisableConfigKeyMitigation for SysDeletedObjectSysRowVersionNumber2 finished. Time elapsed: 00:00:00.0073814.
2025-03-05T14:24:43.0804039+01:00 Beginning sync step: DisableConfigKeyMitigation for InventDimension9.
IF EXISTS (SELECT 1 from sys.tables where name = 'CONFIGKEYIDTABLE')
IF EXISTS (SELECT 1 from sys.tables where name = 'SYSCONFIG')
BEGIN
declare @configKeyId bigint = (select ID from dbo.CONFIGKEYIDTABLE where name = 'InventDimension9')
declare @configType int = 6
if @configKeyId is not null and not exists (select 1 from dbo.SYSCONFIG where CONFIGTYPE = @configType and ID = @configKeyId)
insert into dbo.SYSCONFIG (CONFIGTYPE, ID, MODIFIEDBY, CREATEDBY) values (@configType, @configKeyId, 'Admin', 'Admin')
END
IF EXISTS (SELECT 1 from sys.tables where name = 'CONFIGKEYIDTABLE')
IF EXISTS (SELECT 1 from sys.tables where name = 'SYSCONFIG')
BEGIN
declare @configKeyId bigint = (select ID from dbo.CONFIGKEYIDTABLE where name = 'InventDimension9')
declare @configType int = 6
select 1 from dbo.SYSCONFIG where CONFIGTYPE = @configType and ID = @configKeyId
END
Config key 'InventDimension9' is disabled
2025-03-05T14:24:43.0804039+01:00 DisableConfigKeyMitigation for InventDimension9 finished. Time elapsed: 00:00:00.0044639.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: DroppedTableValidator: There are no tables missing from the database that are present in SQLDICTIONARY
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: AdminUserValidator: There are no disabled Admin user accounts in UserInfo table.
Log level - Warning | [DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: WideIndexesValidator: Table 'RETAILTRANSACTIONSALESTRANS' has index 'IX_RETAILTRANSACTIONSALESTRANS_TRANSACTIONID' with a high number of columns: 48
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: DefaultTextCatalogConfigurator: Getting fulltext catalog count using command: 'SELECT count(*) FROM sys.fulltext_catalogs;'
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: DefaultTextCatalogConfigurator: Fulltext catalog count is: 2. Configuring default fulltext catalog will be skipped
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: CompatibilityLevelConfigurator: Getting Compatibilty Level for Database 'AxDB'. Command: SELECT compatibility_level from sys.databases where name=@databaseName;
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: CompatibilityLevelConfigurator: Compatibilty Level for Database 'AxDB' is: 130
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: CompatibilityLevelConfigurator: Compatibility level '130' meets minimum required level '130'. Skipping compitability level configuration for Database 'AxDB'
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: SystemTableIndexConfigurator: Adding Nonclustered index to SQLDICTIONARY table with command: 'IF EXISTS ( SELECT * from sys.tables where name = 'SQLDICTIONARY')
BEGIN
IF NOT EXISTS(SELECT * FROM sys.indexes WHERE name = 'SQLDICTIONARY_FieldId_Name' AND object_id = OBJECT_ID('SQLDICTIONARY'))
BEGIN
declare @sqlStatement nvarchar(512)
set @sqlStatement = 'CREATE NONCLUSTERED INDEX [SQLDICTIONARY_FieldId_Name]
ON [dbo].[SQLDICTIONARY] ([FIELDID], [NAME])
INCLUDE (TABLEID, ARRAY, SQLNAME, FIELDTYPE, STRSIZE, SHADOW, RIGHTJUSTIFY, NULLABLE, FLAGS, RECVERSION)'
IF SERVERPROPERTY('EngineEdition') = 5 or SERVERPROPERTY('EngineEdition') = 3 --SQL Azure or Enterprise
BEGIN
set @sqlStatement = @sqlStatement + ' WITH (ONLINE = ON)'
END
exec(@sqlStatement);
END
END'.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: SystemTableIndexConfigurator: Adding Nonclustered index to DATAAREA table with command: 'IF EXISTS ( SELECT * from sys.tables where name = 'DATAAREA')
BEGIN
IF NOT EXISTS(SELECT * FROM sys.indexes WHERE name = 'DATAAREA_RecId' AND object_id = OBJECT_ID('DATAAREA'))
BEGIN
declare @sqlStatement nvarchar(512)
set @sqlStatement = 'CREATE NONCLUSTERED INDEX [DATAAREA_RecId]
ON [dbo].[DATAAREA] ([RECID])
INCLUDE ([ID], [NAME], [ISVIRTUAL], [ALWAYSNATIVE], [TIMEZONE], [RECVERSION], [PARTITION])'
IF SERVERPROPERTY('EngineEdition') = 5 or SERVERPROPERTY('EngineEdition') = 3 --SQL Azure or Enterprise
BEGIN
set @sqlStatement = @sqlStatement + ' WITH (ONLINE = ON)'
END
exec(@sqlStatement);
END
END'.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: GlobalTempTableConfigurator: Getting GLOBAL_TEMPORARY_TABLE_AUTO_DROP flag using command: 'SELECT CAST(VALUE AS INT) FROM SYS.DATABASE_SCOPED_CONFIGURATIONS WHERE NAME = 'GLOBAL_TEMPORARY_TABLE_AUTO_DROP''
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: GlobalTempTableConfigurator: GLOBAL_TEMPORARY_TABLE_AUTO_DROP flag is already OFF. No need to configure this flag for Database 'AxDB'
2025-03-05T14:24:45.2677391+01:00 Beginning sync step: InitialSchema.
2025-03-05T14:24:45.3459291+01:00 InitialSchema finished. Time elapsed: 00:00:00.0746229.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: WideEnumerationsValidator: Flight DbSyncEnable32bitEnumCreation flag is not enabled, Hence xpp enum. should have less than 256 values.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: WideEnumerationsValidator: Found an enumeration with more than 240 values in metadata: 'LedgerPostingType' - 243
2025-03-05T14:24:45.7363682+01:00 Beginning sync step: FullIds.
SyncType: LicenseCodes(LICENSECODEIDTABLE). All entries were able to have their requested or legacy id assigned. No new assignments will be made.
SyncType: Enums(ENUMIDTABLE). All entries were able to have their requested or legacy id assigned. No new assignments will be made.
SyncType: Edts(TYPEIDTABLE). All entries were able to have their requested or legacy id assigned. No new assignments will be made.
SyncType: Classes(CLASSIDTABLE). All entries were able to have their requested or legacy id assigned. No new assignments will be made.
Entity keys synced during ID sync
SyncType: TableIdSync(TABLEIDTABLE, TABLEFIELDIDTABLE, TABLEINDEXIDTABLE, TABLEFULLINDEXIDTABLE). All entries were able to have their requested or legacy id assigned. No new assignments will be made.
Resync is not required for TableIdSync. Returning without writing to the database.
SyncType: ConfigurationKeys(CONFIGKEYIDTABLE). All entries were able to have their requested or legacy id assigned. No new assignments will be made.
2025-03-05T14:24:53.7372070+01:00 FullIds finished. Time elapsed: 00:00:08.0000661.
2025-03-05T14:24:53.7559659+01:00 Beginning sync step: FullTablesAndViews.
2025-03-05T14:24:53.7878203+01:00 Beginning sync step: kernel bootstrap sync.
Schema has not changed between new table 'SqlDictionary' and old table 'SqlDictionary' with table id '65518'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: SQLDICTIONARY. Time elapsed: 0:00:00:01.0372985
Schema has not changed between new table 'UserInfo' and old table 'UserInfo' with table id '65531'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: USERINFO. Time elapsed: 0:00:00:00.3482724
Schema has not changed between new table 'SysConfig' and old table 'SysConfig' with table id '65514'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: SYSCONFIG. Time elapsed: 0:00:00:00.2184112
Schema has not changed between new table 'SecurityRole' and old table 'SecurityRole' with table id '65491'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: SECURITYROLE. Time elapsed: 0:00:00:00.2187015
Schema has not changed between new table 'AosDuplicateKeyExceptionMessage' and old table 'AosDuplicateKeyExceptionMessage' with table id '65483'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: AOSDUPLICATEKEYEXCEPTIONMESSAGE. Time elapsed: 0:00:00:00.2030721
Schema has not changed between new table 'TimeZonesList' and old table 'TimeZonesList' with table id '65496'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: TIMEZONESLIST. Time elapsed: 0:00:00:00.2031992
Schema has not changed between new table 'DatabaseLog' and old table 'DatabaseLog' with table id '65508'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: DATABASELOG. Time elapsed: 0:00:00:00.2343362
Schema has not changed between new table 'TimeZonesRulesData' and old table 'TimeZonesRulesData' with table id '65495'. Returning from ManagedSyncTableWorker.ExecuteModifyTable()
Syncing Table Finished: TIMEZONESRULESDATA. Time elapsed: 0:00:00:00.2189244
2025-03-05T14:24:56.5496539+01:00 kernel bootstrap sync finished. Time elapsed: 00:00:02.7591292.
2025-03-05T14:24:56.6433248+01:00 Beginning sync step: AosConfig.Init.
2025-03-05T14:24:58.6627205+01:00 AosConfig.Init finished. Time elapsed: 00:00:02.0238756.
2025-03-05T14:24:58.6715547+01:00 FullTablesAndViews finished. Time elapsed: 00:00:04.9133968.
[DbSync: 7.0.30697] [Platform: 7.0.7452.94] [SourcePlatform: 7.0.7452.94] [DatabaseVersion: 10.0.2015.145/7.0.7367.133]: Stopped DBSync monitoring
Log level - Error | System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.Initialize()
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.Start()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
at Microsoft.Dynamics.AX.AOS.Startup()
at Microsoft.Dynamics.AX.AosConfig.?A0xe8f5d156.GetAosConfig()
at Microsoft.Dynamics.AX.AosConfig.Config.InitInternal()
at Microsoft.Dynamics.AX.AosConfig.Config.InitOnce(Boolean isOfflineMode)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.StartAosCode(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1 errorHandler)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.RunFullTableSync(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.FullTableViewSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.FullSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.RunSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options)
Log level - Error | System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.Initialize()
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.Start()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
at Microsoft.Dynamics.AX.AOS.Startup()
at Microsoft.Dynamics.AX.AosConfig.?A0xe8f5d156.GetAosConfig()
at Microsoft.Dynamics.AX.AosConfig.Config.InitInternal()
at Microsoft.Dynamics.AX.AosConfig.Config.InitOnce(Boolean isOfflineMode)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.StartAosCode(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1 errorHandler)
at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.RunFullTableSync(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider)
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.FullTableViewSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.FullSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.RunSync()
at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options)
Log level - Error | Inner Exception: System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.Initialize()
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.Start()
---> (Inner Exception #0) System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Log level - Error | Inner Exception: System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.Initialize()
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.Start()
---> (Inner Exception #0) System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Log level - Error | Inner Exception: System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Log level - Error | Inner Exception: System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at Microsoft.Dynamics.Ax.Xpp.TypeLoading.XppTypeLoader2.LoadAssembly(String path, AssemblyName requestedAssemblyName, IEnumerable`1 probingPaths)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment