Quantcast
Viewing all articles
Browse latest Browse all 2

Answer by Marcello Miorelli for Replicaton - The current transaction cannot be committed and cannot be rolled back to a savepoint

I re-connected to sql-server using the credentials of my replication agent - which is a sysadmin on my publication server, and db_owner on my subscription database at my subscription server.

1 - right click on the ssms icon

Image may be NSFW.
Clik here to view.
enter image description here

2 - on the SSMS option above, press shift + right click and choose the Run as a different user

Image may be NSFW.
Clik here to view.
enter image description here

3 - add the credentials of the different user - in my case it was my replication agent account

and it all worked fine after that, as you can see on the picture below:

Image may be NSFW.
Clik here to view.
enter image description here


Viewing all articles
Browse latest Browse all 2

Trending Articles