Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Trans. Replication issue Expand / Collapse
Author
Message
Posted Thursday, November 1, 2012 1:02 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, December 3, 2013 10:52 AM
Points: 2, Visits: 71
Greetings all,

I'm having an issue with transactional replication between two SQL2008R2 servers. I keep getting login failed for the snapshot agent. The replication agent starts up fine, but the Snapshot agent consistently fails to even log in.

I have tried a domain service account with: Permission to the folder, admin on the box and DBO on the database containing the replicated tables on both publisher and subscriber sides.

I have also tried my own domain credentials that have admin rights on literally everything, all servers as well as every SQL instance and database, just to see if it worked and no dice...

Error messages:
Message: Login failed for user 'DOMAIN\USERID'.
Stack: at Microsoft.SqlServer.Replication.ServerConnectionEmulator.Connect()
at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.EstablishPublisherConnection()
at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.GenerateSnapshot()
at Microsoft.SqlServer.Replication.SnapshotGenerationAgent.InternalRun()
at Microsoft.SqlServer.Replication.AgentCore.Run() (Source: MSSQLServer, Error number: 18456)
Get help: http://help/18456
Server SQL*****\*****, Level 14, State 1, Procedure , Line 65536
Login failed for user 'DOMAIN\USERID'. (Source: MSSQLServer, Error number: 18456)
Get help: http://help/18456

Any and all help is greatly appreciated.

Post #1379984
Posted Sunday, November 4, 2012 2:46 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 10:52 AM
Points: 6,291, Visits: 13,552
What is the failure message in the sql server error log?
Have a read through this


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1380776
Posted Monday, November 5, 2012 4:06 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, December 3, 2013 10:52 AM
Points: 2, Visits: 71
Thanks much for the link. I was able to get it to work using the Agent... Not exactly best practice, but it's going. I just found it really odd that the rep agent was ok, but the snapshot agent wouldn't go, even when using the same creds for both.

The link you provided will get me going when I'm able to revisit this. Unfortunately I don't really have the time right now. I'm the new and only DBA in a 30 server 300 database environment that hasn't had a full time DBA for several months. Fun times.

Again, really appreciate the help. Thank you.
Post #1381302
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse