Is read-only access still allowed for a last replica that become the primary...
I am planning to setup the SQL Server 2014 with AlwaysOn with a AG containing 1 db as primary replica and 1 db as secondary replica. The primary one will have read-only routing to read-only secondary...
View ArticleViolation of Primary Key in Merge Replication
I have one Publisher and one Subscriber. They havea UK (Col1, Col2), PK is col1 + col2, and the MERGE REPLICATION adds a ROWGUID. Sometimes they insert the same row when they are offline ( they...
View ArticleStored procedure on replicated database
Hi All,It is possible possible to created stored procedures on replicated database which are not in main database?Thanks,Ram.Please don't forget to Marked as Answer if my post solved your problem and...
View ArticleBroken replication - fixing gone wrong
Hi everyoneI'm not exactly an expert on SQL so bear with me if I'm having some trouble explaining or if it is unclear.My situation is that I have a productive SQL Server 2012 (11.0.3) with several...
View ArticleNeed to replicate multiple databases (publications) to one central subscriber
Hi Everyone,We need to replicate multiple databases (publications) to one central subscriber. The schema of those articles are identical in all publications and also the primary keys in publications do...
View Articlecould not execute 'sp_replcmds' on server
Same problem but my server is not in a domain. It is in a workgroup.
View ArticleDoes initial snapshot process lock tables when setting up transactional...
When you configure SQL 2012 Transaction Replication, does SQL Server place any locks on the tables (the ones you have selected to publish) when it generates the initial snapshot files? I have some...
View ArticleTransactional replication removal sequence
I have been researching on the proper steps or sequence to follow to completely remove SQL Server 2012 Transactional Replication. I have read articles about using SSMS as well as using replication...
View ArticleSeeking for transactional replication setup and troubleshooting
Dear All,I am new to mssql and I am about to setup a replication. I had setup one transactional replication successful. However, the developer said a table data missing from primary after I setup the...
View ArticleSQL Server 2012 Std - Merge Replication - Deadlocks
Hi,I have a merge replication between 2 SQL serve r2012 std sp2. The merge agent keeps getting deadlocked and killed. It seems that procedures fired by triggers and sp_msmakegeneration are locking each...
View ArticleWebSyncDiagAccess
Am trying to get replication going over https.Have set up iis and everything seems to be ok but when I navigate to https://server/folder/replisapi.dll?diag I get the following text in the...
View ArticleWeb replication replisapi.dll overflow bug
Good day, guys.I've set up web replication of my database, some articles exceeds 4GB in size.So, web replication never ends, I ran ProcMonitor on my IIS machine, and found that w3wp cannot read my...
View ArticleExplanation for important reserved space
I am analysing a database I didn't understand why reserved space is more important then used space ? Any explication ? can I get 400 GO ?What is the best maintenance plan ?
View ArticleLogin failed for user 'DOMAIN\user' (error 4060) despite...
Hello all,I'm a bit at a loss here. We're having a SQL Server on which one small db is replicated to a large number of other servers. Server Agent is running under LocalSystem (I know ...) and the...
View ArticleFast update script
How can I acelerate the following scriptupdate tset[OC]=r.[OC]from[dbo].[Vente] tinnerjoin[dbo].[OC] ron t.[Date Time]between r.[DATE DEBUT]and r.[DATE FIN]
View ArticleMerge Replication Error, looking for advice
Hello All, I have a weird issue that has sprung up on a not so common configuration cliffs started a new job recently a lot of the stuff set up was done a fair amount of time ago still exploring...
View ArticleTransactional Replication - Invalid object sysprocesses
I have transactional replication. publisher - sql server 2008 r2 enterprisedistributor - sql server 2014 standardsubscriber - sql server 2008 R2 enterpriseDistribution Agent has below error message...
View ArticleQuestion regarding CDC
Good morning,I've been asked a question about CDC which I cant find any information about online. (Or perhaps I'm missing something).We use CDC to capture change data throughout the day and then use...
View ArticleXML parsing: line 1, character 38, unable to switch the encoding
I am using SSMA tool for migrating Oracle DB to SQL server 2012. I have problem in migrating XMLTYPE data which is stored in oracle with UTF-8 encoding. I want to migrate this data to SQL Server (to...
View ArticleThe Process is running and is waiting for a response from the server
Hi All,We transactional replication, push subscription configured.Today we are receiving errors in log reader agent and they are as follows:Agent is retrying after an error. 7 retries attempted. See...
View Article