Transaction failed in database '%1!s!' because the statement was run under snapshot isolation but the transaction did not ...

Transaction failed in database '%1!s!' because the statement was run under snapshot isolation but the transaction did not start in snapshot isolation. You cannot change the isolation level of the transaction to snapshot after the transaction has started unless the transaction was originally started under snapshot isolation level.