Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Replication not working properly, can't get user info

$
0
0

I have set up the world's simplest replication. I made a database with a single table on TESTBOX, made a backup, and restored the backup on SECOND. The two servers now both have an identical version of the database.

I set up TESTBOX to be a publisher (using transactional replication) and SECOND to be a subscriber. Both were set up to run under my domain name. I'm a sysadmin on both servers and more than the necessary permissions on the domain. SECOND's Sql Agent is running as a local account with sysadmin privileges. However, when SECOND tries to pull the data, it tells me:

The job failed. Unable to determine if the owner (domain\GerardMainardi) of job TESTBOX-RepTest-RepTest_to_Second has server access (reason: Could not obtain information about Windows NT group/user 'domain\GerardMainardi, error code 0x5. [SQLSTATE 42000] (Error 15404)).

I tried switching the account running SECOND's Sql Agent to my own, and I get the same issue. The odd part is, if I switch the account that is running SECOND's Sql Agent to domain\administrator, AND change the job owner to domain\administrator, it works without issue.

Could this possibly be some kind of weird double-hop authentication issue? I can't imagine so, as I'm not using a linked server. It makes no sense that no matter what proper, appropriately privileged accounts I use to try this, only domain\administrator works.

I've spent time googling, but I haven't found anything that helps me. Anyone here have any thoughts?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>