Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Stairway to SQL Server Replication - Level 10: Troubleshooting


Stairway to SQL Server Replication - Level 10: Troubleshooting

Author
Message
Sebastian Meine
Sebastian Meine
SSC Rookie
SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)SSC Rookie (25 reputation)

Group: General Forum Members
Points: 25 Visits: 36
Comments posted to this topic are about the item Stairway to SQL Server Replication - Level 10: Troubleshooting
indinfo2011
indinfo2011
SSC Rookie
SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)

Group: General Forum Members
Points: 29 Visits: 104
Hi,

We have transactional replication setup which replicates data from server A (SQL 2008 SP2) to Server B (SQL 2005 SP2) to Server C ( SQL 2008 RTM).

These days specially after we migrated server A and Server C to SQL 2008 from 2005, I am getting error 'Initial snapshot for the publication/artice is not yet available' Even thought the snapshot agent ran 100% and the replication was stable for 2-3 days. I get error at later point may be after 4-5 days.

I don't know what could cause this issue. Can you please help?

Thanks,
indinfo2011
indinfo2011
SSC Rookie
SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)SSC Rookie (29 reputation)

Group: General Forum Members
Points: 29 Visits: 104
What was that? Be serious and reply approriately if you know the answer
quackhandle1975
quackhandle1975
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2849 Visits: 1234
Have you checked the read/write permissions for the post migration snapshot folder?

qh

Who looks outside, dreams; who looks inside, awakes. – Carl Jung.
Fraggle-805517
Fraggle-805517
Right there with Babe
Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)

Group: General Forum Members
Points: 797 Visits: 1512
In setting up replication, I ran across this issue:

Here is the situation. We are trying to use Transactional Replication from a 2005 Standard system to a 2012 BI system. The 2012 BI Ed does have SP1 installed.

We did get it setup on our dev machines without issue. However, when going to deploy it to production, it bombed during the initial snapshot phase. I am using the same credentials as we did in dev. I have tried elevated all permissions to Sysadmin to ensure that wasn't an issue suddenly. As near as I can tell, everything between the dev environment and the prod environment is the same.

However, as stated, we run into errors during the intial snapshot replication initializatin. Below is the error message from the SQL Agent Job that is trying to run the snapshot.

/*******************************************************

2012-12-27 12:13:31.65 Source: Replication
2012-12-27 12:13:31.65 Exception Type: Microsoft.SqlServer.Replication.ConnectionFailureException
2012-12-27 12:13:31.65 Exception Message: The client was unable to establish a connection because of an error during connection initialization process before login. Possible causes include the following: the client tried to connect to an unsupported version of SQL Server; the server was too busy to accept new connections; or there was a resource limitation (insufficient memory or maximum allowed connections) on the server. (provider: Named Pipes Provider, error: 0 - No process is on the other end of the pipe.)
2012-12-27 12:13:31.65 Message Code: 233
2012-12-27 12:13:31.65


*********************************************************/

Thoughts? I didn't see it in the list of troubleshoot items.

Thanks,

Fraggle
quackhandle1975
quackhandle1975
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2849 Visits: 1234
1. It may not be possible to replicate from 2005 to 2012 (off hand I don't know this) you may need to have the 2005 server at SP4?
2. The size of the publication articles or possibly only one of them could be larger than 2GB - this can cause issues.

If so, you may have to perform a backup of publication database(s) then restore on subscriber server, then "reinitialize without snapshot".

Looking at the error text it may be no 1.

Good luck

qh

Who looks outside, dreams; who looks inside, awakes. – Carl Jung.
Fraggle-805517
Fraggle-805517
Right there with Babe
Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)

Group: General Forum Members
Points: 797 Visits: 1512
quackhandle1975 (12/27/2012)
1. It may not be possible to replicate from 2005 to 2012 (off hand I don't know this) you may need to have the 2005 server at SP4?
2. The size of the publication articles or possibly only one of them could be larger than 2GB - this can cause issues.

If so, you may have to perform a backup of publication database(s) then restore on subscriber server, then "reinitialize without snapshot".

Looking at the error text it may be no 1.

Good luck

qh


1) tested already between a 2005 SP4 install and the 2012 BI edition. It can be done.
2) Even doing a single table with 2 records in it isn't working. So size isn't the issue.

Interesting to note that it appears that the log reader is working (at least the logs say it is as I haven't setup the subscription since there isn't a snapshot to base it off of
)
quackhandle1975
quackhandle1975
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2849 Visits: 1234
Sounds obvious, but did you check Named Pipes settings? Or is that a typical SQL Server "red herring" error and nothing to do with NP at all? Ermm

qh

Who looks outside, dreams; who looks inside, awakes. – Carl Jung.
Fraggle-805517
Fraggle-805517
Right there with Babe
Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)Right there with Babe (797 reputation)

Group: General Forum Members
Points: 797 Visits: 1512
quackhandle1975 (12/27/2012)
Sounds obvious, but did you check Named Pipes settings? Or is that a typical SQL Server "red herring" error and nothing to do with NP at all? Ermm

qh

I think it is a red herring. As near as I can tell, the "test" and "prod" 2005 boxes are setup exactly the same regarding tcp/ip, named pipes, etc. I haven't changed anything on the 2012 box.

Fraggle
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search