Hello,
We have made an SSIS package which is using Fuzzy Lookup. We have filled in anReference table and marked Store new index and marked Maintain stored index (Fuzzy Lookup properties).
The package works fine, but updating the reference table doesn't work. We get the following error:
Msg 6549, Level 16, State 1, Procedure sp_FuzzyLookupTableMaintenanceInvoke, Line 0
A .NET Framework error occurred during execution of user defined routine or aggregate 'sp_FuzzyLookupTableMaintenanceInvoke':
System.Data.SqlClient.SqlException: User defined routine, trigger or aggregate tried to rollback a transaction that is not started in that CLR level. An exception will be thrown to prevent execution of rest of the user
defined routine, trigger or aggregate.
System.Data.SqlClient.SqlException:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnectionSmi.ExecuteTransaction(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction, Boolean isDelegateControlRequest)
at System.Data.SqlClient.SqlInternalTransaction.Rollback()
at System.Data.SqlClient.SqlTransaction.Rollback()
at Microsoft.SqlServer.Dts.TxBestMatch.TableMaintenance.TranWrap(DataCleaningOperation c)
. User transaction, if any, will be rolled back.
The statement has been terminated.
We get this error when we fire aupdate or delete statement on the table. For testing I inserted a record en that works fine. Even deleting the records works fine, but deleting the inserted record works only before executing the package. After executing the package I get the same error.
The machine runs on Windows XP, SQL Server 2008 Standard SP1.
We have a test machine with the same specs. On this machine I installed SP2, but that didn't resolve the problem.
I thought the problem could be Standard vs Enterprise. So I did a test on a SQL Server 2008 Enterprise SP2, but this machine gave the same error.
Does anyone have a solution?
Thanks!
With kind regards,
Michaël
Michaël