Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL 2012 Replication

Posted on 2013-11-19
12
Medium Priority
?
373 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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.

722 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