Solved

SQL 2012 Replication

Posted on 2013-11-19
12
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 27

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 27

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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 27

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
 
LVL 27

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 27

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 27

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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

617 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