.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Fauzul Azmi
Asad Ali
Post New Web Links

Replication issue - Log Reader stuck on Initializing urgent!!

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :Sql Server
 

Log Reader stuck on Initializing, I have SQL server 2008, and the transactions are not getting replicated to subscriber. Any ideas!!


sqldev


View Complete Post


More Related Resource Links

MVC2 issue - Stuck. Trying to create a cms with nested partials

  

I am currently trying to display multiple items on a single page. I am not sure as to how to tackle this. What I have is a database table that has all the page data in. I have this run as a PagesController and this works fine. However what I would like to do is, if say the Products page is selected via the menu, I want to pull back not only the Products page html but also get all the products, and even be able to pull them through via category. I was trying to use a partial view, but I can't get it to work. The same would be for other pages, having partial views to display the other content, ie if Gallery is selected, the page html for Gallery shows and it then can push to a partial view that pulls all the gallery images from the gallery db table and so on. 

Maybe I am tackling this the wrong way. I have the pages stored in the db to allow for a CMS system I have setup. Maybe I need to use models for all the other items(Products, Gallery, Videos and such) and use the partial for the page html?

Any help would be greatly appreciated as I am confused.




merge replication system tables fragmentation issue

  
I have Merge replication going on in my environment. The problem is that system tables like MSmerge_content, MS merge _tombstone and MSmerge_genhistory are getting fragmented. We are rebuilding indexes time to time daily. But we want some good fix. Just send some good idea guys?

Data Reader Destination issue

  
Hi, I'm new to BI, I created a package to test the data reader destination the dtsx is executing well every thing is green but what after that. The question is how to use this Data reader destination? As I know as a .net programmer there  is a class named data reader that could be used to retieve data in connected mode programmatically using a  connection and a command objects, but in the case of data reader destination how to use it. Or am I confusing the data reader that I kno in the ADO .Net with this one used in BIDS  Should I add a script task after the data reader destination or should I consume this data reader within my proper separate code with a dll or an exe that I create as a .Net project ? For instance, two properties are remaquables for me those are locted within the custom proeprties  datareader and  usercomponentdatatype   The complexity resides in the simplicity

Issue with transactional replication on SQL 2005 SP3 using row filters with bit columns

  
We recently upgraded from SQL 2000 to SQL 2005 SP3 and I am noticing something that I think is a bug with replication from a publication that has an article in it with row filters.  It seems to be that if the row filter has columns that are bit datatype and that column is updated on the publisher to cause the row filter to exclude it, it is not removed from the subscriber.  If you update a column that is part of the row filter that is not a bit datatype it works as expected.  I can reproduce this in a test environment with a small base table.  In production this is resulting in an occasional 20598 error "The row was not found at the Subscriber when applying the replicated command". Is anyone aware of a hotfix that addresses this? I can think of a few work arounds but the table is rather large and I really would like to avoid having to pull replication, re-snap or changing datatypes on the base table etc. Any suggestions are greatly appreciated.  Thanks!

Issue with sharepoint site replication?

  
Hi all, I have a requirement where in i need to replicate the business intelligence report to N no of subistes i am able to create reports to the site and also able to replicate to another site. But the problem here is the webparts that are getting created in the new site refers to the same old location and it is giving me exception that the filter is no more valid one. Is there any way i need to change the location of the newly created webpart location. Waiting for your reply.  

SSRS 2008 web portal issue, urgent!!

  
I created a report using reporting services 2008, now I want to upload the report into the web portal so that users can start running the report from the web browser. When I opened the http://server1/ReportServer url from the browser, I just see the below, I installed full version of reporting services 2008, so I am trying to figure out what piece is missing from the installation. Please advice. Thanks. server1/ReportServer - / --------------------------------------------------------------------------------       Friday, January 02, 2009 4:15 PM        <dir> Data Sources    Tuesday, January 20, 2009 10:13 PM        <dir> HR      Friday, January 02, 2009 4:15 PM        <dir> Accounting --------------------------------------------------------------------------------Microsoft SQL Server Reporting Services Version 10.0.1600.22 sqldev

transcation replication failing -- log reader

  
our replication is failing and error message is as below. We used to get this one fixed by increasing the query timeout value and reducing the read batch size value. But it did not work the last two times we tired. our version is sql server standard edition sp3. any idea on this would be of great help.


Error messages:
The process could not execute 'sp_replcmds' on 'server name'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011)
Get help: http://help/MSSQL_REPL20011
A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical Support.  (Source: MSSQLServer, Error number: 3624)
Get help: http://help/3624
The process could not execute 'sp_replcmds' on 'server name'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)
Get help: http://help/MSSQL_REPL22037

Replication issue from Oracle to SQL Server

  

We have SQL Server 2008 64bit on windows 2008 and Oracle 10G. Some data is not getting replicated from Oracle to SQL Server, the distribution agent job runs fine and I do'nt see any errors. To make sure I also restarted log reader agent, reinitialized subscriptions etc. but even then some data is still missing. The distribution agent job is schduled to run every 15 minutes. It is transactional replication.

Any ideas. Thanks!


sqldev

SQL 2005 Merge Replication Issue

  

Ihave merge replication set up between two sites. Everything worked fine up until the subscriber wanted to update the publisher. I get the following error:

The merge process is retrying a failed operation made to article 'X' - Reason: 'The Merge Agent was unable to synchronize the row due to one or more unanticipated errors in the batch of changes. When troubleshooting, increase the -OutputVerboseLevel setting, restart the agent, and check for and resolve any errors generated by the database engine. '.



log reader agent stopped in transactional replication

  

hello frnds

I got this error in transactional replication in sql server

Error:The process could not execute 'sp_repldone/sp_replcounters' on 'FS001XSSQL110'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011)

Get help: http://help/MSSQL_REPL20011

The log scan number (54862:18189:10) passed to log scan in database 'Affinity' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup. (Source: MSSQLServer, Error number: 9003)

Get help: http://help/9003

The process could not set the last distributed transaction. (Source: MSSQL_REPL, Error number: MSSQL_REPL22017)

Get help: http://help/MSSQL_REPL22017

The process could not execute 'sp_repldone/sp_replcounters' on 'FS001XSSQL110'. (Source: MSSQL_REPL, Error number: MSSQL_REPL22037)

Get help: http://help/MSSQL_REPL22037

this is what i am getting when i viewed the log reader agent in replication monitor.

Thanks


dimrd_SQL

Updatable Transactional replication, Queue Reader error

  

I have just started getting the following error from the queue reader but I can't see why.

 

The Queue Reader Agent has encountered the error ''Row handle is invalid.'' when connecting to ''Database'' on ''ServerName''. Ensure that the publication and subscription are defined properly and that both servers are running.

 

Does anybody know what it means / how I can fix the problem?

 

Thanks


SQL Server 2005 Replication - Replicated Databse Performance Issue

  

Hello,

 

I am struggling to work out a very frustrating replication issue and wondered if anyone could help me.

Here is my situation.

 

I have a virtual machine with 16gb RAM and 4 quad core 3Ghz processors and 250gb disk. This has Windows Server 2008 64 bit installed.

The machine has a SQL Server 2005 64 bit instance installed with SP3.

I have setup a publication on this SQL Server called pub1 , this publication publishes all tables/sp's /views and UDF's . I have set the article properties for the published tables as below.

- Copy Check Constraints = True

- Copy Clustered Index = True

- Copy Non Clustered Index = True

- Copy Default Value Spec = True

- Copy Collation = True

- Copy Insert, Update and Delete = True

- Copy unique key contraints = True

- Copy XML Indexes = True

Every other setting is set to false.

I have created a subscription to pub1 within the same SQL Server instance. The database has replicated everything I require without an issue.

If I run a query against the databse that I have published, it returns the query in less than 10 secs. If I run the same query against the subscription DB then this query takes over 30 mins to return.

I thought this was an issue with the indexes not replicating. From what I have selecte

Replication Log Reader Agent Error - No Information

  

SQL Server 2005 SP3, I have created an Oracle Publication for transactional replication.  All seems to be working, even getting transaction updates from Oracle. In replication monitor Log Reader Agent status is "Error".  Last action is "applying retries....".  When I view details, window is empty - though once before (when I saw details), details told me to check job history.  Job history shows - "The replication agent encountered an error and is set to restart within the job step retry interval. See the previous job step history message or Replication Monitor for more information."

I understand that the Log Reader is moving data change info to distribution and it seems important to understand the errors.  The Log Reader agent is using the SQL Agent Service Account.

Log Reader Agent profile properties are default.

Here are details of error:

Details in job step message:

Date  10/29/2010 11:23:54 AM
Log  Job History (PULPDEV-PULPDEV-19)

Step ID  2
Server  WAFEDASDM10
Job Name  PULPDEV-PULPDEV-19
Step Name  Run agent.
Duration  01:06:07
Sql Severity  0
Sql Message ID  0
Operator Emailed  
Operator Net sent  
Opera

Transactional push replication in SS2008r2 Timeout issue

  
The problem: Set up transactional (push only) replication from SS2008r2 to remote SS2008r2

The issue: Replication manages to send the table structure before going into an unending cycle of trying to send the data and receiving Sql Native Client Semaphore timeouts - Try again later msgs. From what I've read, this indicates some sort of network issue.

Side observation - setting up and initializing a snapshot replication of a larger table to the remote server works like a charm.

Question: (1) Why does the straight snapshot work and not the initial snapshot for the transactional subscription. (2) Where, how to troubleshoot this issue ( i need some guidance here so point me in the right direction). I'm ready to enter into dialog. Thanks in advance for your help.

Koko

joekoko

Transactional push replication in SS2008r2 Timeout issue

  
The problem: Set up transactional (push only) replication from SS2008r2 to remote SS2008r2

The issue: Replication manages to send the table structure before going into an unending cycle of trying to send the data and receiving Sql Native Client Semaphore timeouts - Try again later msgs. From what I've read, this indicates some sort of network issue.

Side observation - setting up and initializing a snapshot replication of a larger table to the remote server works like a charm.

Question: (1) Why does the straight snapshot work and not the initial snapshot for the transactional subscription. (2) Where, how to troubleshoot this issue ( i need some guidance here so point me in the right direction). I'm ready to enter into dialog. Thanks in advance for your help.

Koko

joekoko

Transactional Replication issue Between SQL Server 28 R2 and Denali (SQL2011)

  

Hi All,

OS :Windows 7

SQL Server Instance : SQL Server 2008 R2 (Publisher)

Distributor : On SQL Server 2008R2

SQL Serer Instance : SQL Server 2011 Denali (Subscriber) Pull Subscriber.

Replication Topology :  Transactional Replication

I have Installed SQL Server 2008 R2 and SQL Server 2011 CTP on the same machine. Setup Replication between SQL Server 2008 R2 and SQL Server 2011 using Transactional Replication Topology.

I have added one table as artical with default settings , the table has one int and 4 varchar datatype columns having rows=26004606.

While distributor agent deploys the snapshot on the subscriber , it failed with the below error :

SQL Server encountered: '23(Data error (cyclic redundancy check).)' resulting from an attempt to read the following: sort run page (1:35472), in file 'D:\Program Files\Microsoft SQL Server\MSSQL11.DENALI_2011\MSSQL\DATA\tempdb.mdf', in database with ID 2.

Issue with SQL 2008 replication logreader errors The process could not execute 'sp_repldone/sp_repl

  

I noticed the log reader agent with the following errors on a production server.

 

The process could not execute 'sp_repldone/sp_replcounters' on 'DB_SERVER'.
The process could not execute 'sp_repldone/sp_replcounters' on 'DB_SERVER'.
The specified LSN {00037507:00003d5a:0005} for repldone log scan occurs before the current start of replication in the log {00037690:000015b5:0004}.
The process could not set the last distributed transaction.
The specified LSN {00037507:00003d5a:0005} for repldone log scan occurs before the current start of replication in the log {00037690:000015b5:0004}.
The process could not set the last distributed transaction.
The process could not execute 'sp_repldone/sp_replcounters' on 'DB_SERVER'.
The process could not execute 'sp_repldone/sp_replcounters' on 'DB_SERVER'.
The process could not execute 'sp_repldone/sp_replcounters' on 'DB_SERVER'.
The process could not execute 'sp_repldone/sp_replcounters' on 'DB_SERVER'.
The specified LSN {00037507:00003d5a:0005} for repldone log scan occurs before the current start of replication in the log {00037690:000015b5:0004}.
I then tried to check the Msrepl_transactions table for any information. This was blank, before hand I had noticed a high number of deadlocking going on with the distribution history tables on thesame publisher/distributor.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend