Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
This post is in continuation to my earlier post. Please check if you missed.
Database Replication – Part I
Database Replication – Part II
Database Replication – Part III
Database Replication – Part IV
As committed in this post we will continue to cover practical approach, Next step from last post.
We will create a subscription using SQL Server Management Studio
To create the subscription
The New Subscription Wizard launches.
Setting database permissions at the Subscriber
When setting up SQL Server replication you might see an error message from the Transactional Replication Log Reader Agent which reads like the following.
Often this error message can come from the database not having a valid owner, or the SQL Server is not being able to correctly identify the owner of the database.
Often this is easiest to fix by changing the database owner by using the sp_changedbowner system stored procedure as shown below. The sa account is a reliable account to use to change the ownership of the database to.
EXEC sp_changedbowner ‘sa’
EXEC sp_changedbowner ‘sa’
Once the database ownership has been changed the log reader will probably start working right away. If it doesn’t quickly restarting the log reader should resolve the problem.
While this does require changes to the production database, there is no outage required to make these changes.
To view the synchronization status of the subscription
The current synchronization status of the subscription is displayed.
Validating the Subscription and Measuring Latency
We will use tracer tokens to verify that changes are being replicated to the Subscriber and to determine latency, the time it takes for a change made at the Publisher to appear to the Subscriber.
To insert a tracer token and view information on the token
This way we are done with Database Replication Setup.
Will come up with more topic soon.
Business Applications communities