Solved

SQL 2012 Replication

Posted on 2013-11-19
12
364 Views
Last Modified: 2013-11-20
i have a merge publication and a subscription  that i just created the tables and views on the local subscription db never downloaded when i right click on properties on the subscription under local subscriptions it says the agent has never been run .. when i check the replication monitor on the publication server it shows the connection as unknown what am i missing?
0
Comment
Question by:samjud
  • 6
  • 6
12 Comments
 
LVL 26

Expert Comment

by:Zberteoc
ID: 39663258
How did you create the publication ans subscription?

What is the status of the distribution agents for the subscription under the  Agents tab  in the replication monitor?
0
 

Author Comment

by:samjud
ID: 39663929
i created the publication and subscription using the wizard.

i see just 1 agent  under job is says snapshot agent and under status it says completed.
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 39663994
That is the snapshot. You need to look for the distribution agent. In the left panel you expand the publication node and under it you will see the subscription. Select the subscription and then look in the right panel for Agent tab. Under that tab you will see the distribution agent status.
0
 

Author Comment

by:samjud
ID: 39664014
Ok i see it now under distributer agent there is nothing listed under merge agent it says under status never started
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 39664089
Right click on it and then on Start agent.
0
 

Author Comment

by:samjud
ID: 39664111
thats the first thing i tried ... :) i cannot click on start agent its "greyed" out
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 26

Expert Comment

by:Zberteoc
ID: 39664137
Right click on it and then on View History.
0
 

Author Comment

by:samjud
ID: 39664145
there is no view history there is view details when i click on that is shows me the last 100 synchronizations and thats empty.
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 39664157
Go in the SQL Server agent and start the agent from there. To find the agent name right click on the agent in Repl Monitor and then on View Agent Profile. In the windows that opens ypu will see the complete name on the top frame.
0
 

Author Comment

by:samjud
ID: 39664194
i see the agent name i checked on the publication server and all SQL services are started.. i guess i am not sure what you mean by "Go in the SQL Server agent and start the agent from there. "
0
 
LVL 26

Accepted Solution

by:
Zberteoc earned 500 total points
ID: 39664226
The merge agent is nothing else but a SQL Server Job. All the jobs are under the SQL Server Agent. In Management Studio you expand the server node and at the bottom you will see the SQL Server Agent. You will have to look on the server that you chose to be the distribution server, could be the publisher(push), the subscriber(pull) or on a third server.

Expand the SQL ServerAgent node than the Jobs node and somewhere you will find the actual merge/distribution agent which will have the same name as found in the Replication Monitor through the method I described in my previous post. Once you find it you right click on it and then Start Job at Step... and then choose the first step (actually is default) and then on Start. If it fails you will right click on the agent again and then on View History. Make sure you expand the last (top) execution entry and then choose the step that failed and then look down in the details. If it doesn't fail then you're good.
0
 

Author Comment

by:samjud
ID: 39664354
ok this job was on the subscription server i started as step and it replicated thx for ur help :)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 5 117
Extract XML Data from using TSQL 5 31
separate column 24 20
Stored procedure 23 23
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now