I upgraded to v22, and followed the instructions to set up a new linked server. Querying it works fine, but I can’t use the stored procedures. I get something like this every time:
--- Starting SF_Replicate for account V5.1.8
11:34:36: Parameters: salesforce2022 account Version: V5.1.8
11:34:36: DBAmpAZ 5.1.8.0 Copyright c 2021 CData Software, Inc.
11:34:36: Using options specified in Options parameter: soap
11:34:40: Retrying
11:34:40: Retrying
11:34:40: Retrying
11:34:40: Error: Unable to retrieve settings from Registry.
11:34:40: System.Data.SqlClient.SqlException (0x80131904): The OLE DB provider "MSOLEDBSQL" for linked server "salesforce2022" does not contain the table "sys_sfsession". The table either does not exist or the current user does not have permissions on tha
t table.
at System.Data.SqlClient.SqlConnection.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.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
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 describeParamet
erEncryptionRequest)
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, Boolea
n inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at DBAmpAZ.DBAmpSettings.GetSysSFSession(SqlConnection currentConnection, DBAmpRegistry registry, TableOptions tableOptions)
ClientConnectionId:119f92c7-563b-4f68-b3c0-c215710791f8
Error Number:7314,State:1,Class:16
11:34:40: DBAmpAZ Operation FAILED.
11:34:42: Error: Replicate program was unsuccessful.
11:34:42: Error: Command string is C:\"Program Files"\DBAmp\DBAmpAZ.exe FullCopy "account" "DL-7KVJRL3" "salesforce_backups" "salesforce2022" "soap"
--- Ending SF_Replicate. Operation FAILED.
Msg 50000, Level 16, State 1, Procedure sf_replicate, Line 308 oBatch Start Line 0]
--- Ending SF_Replicate. Operation FAILED.