Sinds 01-07-2021 wordt er geen nieuwe data meer geladen in de database vanuit Exact Online met Data Replicator 20.1.464. De eerste foutmelding in de logfile gaat af op:
create or replace table eol_mrd_open@inmemorystorage
as
select /*+ ods(false) */ *
from MailMessagesReceived
where recipientstatus in (10,20,25,30)
select /*+ ods(true, interval '20 minutes') */ count(*) from eol_mrd_open@inmemorystorage
Dit materialiseert per Exact Online abonnement van de geselecteerde administraties van aangesloten klanten de lijst van berichten.
De foutmelding is:
Fout itgenclr039: External error in Invantive Data Hub.
Cannot insert duplicate key row in object 'dbo.dc_tables' with unique index 'dc_tbe_uk_5'. The duplicate key value is (imy_eol_mrd_open_r).
The statement has been terminated.
2021-07-13 20:01:41.369 Error itgenclr039: System.Data.SqlClient.SqlException
ValidationException
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Invantive.Data.AnsiSqlProviderBase.PassthroughSqlAction(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String loggingTableName)
...
at Invantive.Data.AnsiSqlProviderBase.InsertReturnAffectedCount(GlobalState owner, ExecutionOptions executionOptions, EntityFieldCollection entityFields, ParameterList parameterValues, Object identifiedBy, Object attachTo)
at Invantive.Data.Providers.DataCache.DataCacheProvider.MaintainTable(GlobalState owner, ExecutionOptions executionOptions, String sourceDataContainerId, IDataProvider dataSourceProvider, ObjectDefinition objectDefinition, Boolean autoCreate, YieldedResultSet yieldedResultSetSample, DcDataContainer& dcDataContainer)
at Invantive.Data.Providers.DataCache.DataCacheProvider.YMK(GlobalState , ExecutionOptions , String , IDataProvider , String , ObjectDefinition , YieldedResultSet , DcDataContainer& , DcTable& , DcPartition& )
at Invantive.Data.Providers.DataCache.DataCacheProvider.MaintainTablePartitionVersion(GlobalState owner, ExecutionOptions executionOptions, String sourceDataContainerId, IDataProvider dataSourceProvider, String partitionName, ObjectDefinition objectDefinition, Decimal version, YieldedResultSet yieldedResultSetSample, Nullable`1 numberOfRows, Nullable`1 estimatedSizeCharacters, String refreshOrigin, DcDataContainer& dcDataContainer, DcTable& dcTable, DcPartition& dcPartition, DcTablePartition& dcTablePartition)
at Invantive.Data.Providers.DataCache.DataCacheProvider.MaintainTablePartitionVersionFactsOnePartitionAllVersions(GlobalState owner, ExecutionOptions executionOptions, ObjectDefinition objectDefinition, DatabaseColumnDefinitionCollection resultFields, Boolean mayReplaceWithCachedData, String sourceDataContainerId, String partitionCode, IDataProvider dataSourceProvider, QueryObject originalQueryObject, Nullable`1 maxAgeDataMs, String refreshOrigin)
...
Daarna treedt nog een foutmelding op bij:
begin
xxdru_use_active;
end;
namelijk:
itgensql151: Unknown field or parameter ‘spn.data_container_alias’
Hoe kan ik deze beiden oplossen?