SQL Server Replication ForumDiscussions on SQL Server Replication© 2009 Microsoft Corporation. All rights reserved.Mon, 30 Nov 2009 15:17:40 Ze77b6ab1-f790-4f28-b3fd-c354173746bahttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/c8123bf9-00a0-4f29-b739-de6cc57bad1chttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/c8123bf9-00a0-4f29-b739-de6cc57bad1cTheBrickhttp://social.msdn.microsoft.com/Profile/en-US/?user=TheBrickReplicating between table with different structures.<p>I have a single table with the same number of columns with all the same column names that I need to replicated. I have a column that is a INT data type that needs to be changed to a BIGINT data type.  The column is a identity column that is reaching upper limits and part of the PK.  The table has 1.5 billion records and very little downtime.  <br/><br/>I want to create a destination table with that has a BIGINT identity column with everything else the same.  I plan to use replication to get the data to the new table and then drop replication during my 2 hour maintenance window and start using the new table with the BIGINT datatype.</p>Mon, 23 Nov 2009 13:56:38 Z2009-11-30T15:17:40Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/fcf51fbb-813a-40e8-9933-e72ab4f79952http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/fcf51fbb-813a-40e8-9933-e72ab4f79952Briginevichhttp://social.msdn.microsoft.com/Profile/en-US/?user=Briginevichfalse merge conflictGood day.<br/> We use  SQL Server 2005, push merge replication.<br/> <pre class=src>I use <strong>Microsoft SQL Server DATETIME (Later Wins) Conflict Resolver</strong> <br/> in article, but<br/> sometimes there are conflicts:<br/> <br/> <strong>The same row was updated <span style="color:blue">at</span> <br/> both <span style="color:red">'xx.h1'</span> <br/> <span style="color:#777777">and</span> <br/> <span style="color:red">'xxx.h2'</span> <br/> . The resolver chose the <span style="color:blue">update</span> <br/> <span style="color:blue">from</span> <br/> <span style="color:red">'xx.h1'</span> <br/> <span style="color:blue">as</span> <br/> the winner.</strong> <br/> <br/> Field with the date, specified for conflict resolver, differs for winner and loser. Why does not work conflict resolver and there are conflicts?<br/> </pre>Fri, 13 Nov 2009 13:32:58 Z2009-11-30T15:17:25Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/251765e9-2cf4-46a6-91a4-861bdf895fa3http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/251765e9-2cf4-46a6-91a4-861bdf895fa3glnprvnhttp://social.msdn.microsoft.com/Profile/en-US/?user=glnprvntransactional replicationHi,<br/><br/> I had an issue in transactional replication in sqlserver 2005 like this &quot;Can i take a <strong>backup of distribution database</strong> in transactional replication .If so how can i take and wat is the use of taking backup of it.Can i take it while configuring replication? &quot;. <br/><br/>Thanks in Advance, <br/>Glnp.Mon, 30 Nov 2009 06:51:17 Z2009-11-30T15:14:25Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/27e4687a-7cb5-4734-9a18-62a722e16613http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/27e4687a-7cb5-4734-9a18-62a722e16613VidhyaSagarhttp://social.msdn.microsoft.com/Profile/en-US/?user=VidhyaSagarIndexed View & Replication - SQL 2005<p align=left><font face=Courier></font> </p> <p><font face=Courier>Hi Everyone,<br><br>    I need your help in configuring Indexed views as article in replication. We have 7 indexed views which need to be replicated to another server and in the subscriber we have a table to get the data's. I've configured through GUI and everything went fine and when the data started initializing from Distributor to Subscriber we have got the below error and the publication failed.<br><br><span style="font-weight:bold">Cannot use DROP VIEW with  because is a table. Use DROP TABLE. (Source: MSSQLServer, Error number: 3705)</span><br><br>Once I got this error, I've setup article using the procedure sp_addarticle and set <span style="font-weight:bold">type </span>as &quot;<strong>indexed view logbased&quot; </strong>and now the distributor is able to move data successfully to subscriber. The default type value is &quot;<strong>indexed view schema only&quot; </strong><span style="font-weight:bold">.</span> Why it started failing when the type is set to indexed view schema only. In GUI article properties also I couldn't see an option to change this type. Is there any hotfix is available for this because I didn't faced any problem like this while configuring in SQL 2000. <br><br>I've used default aritlce property while configuring through GUI, you can check the image attached.<br></font></p><font face=Courier> <p align=left><a title="http://good-times.webshots.com/photo/2113123670103349049qnuvrL" href="http://good-times.webshots.com/photo/2113123670103349049qnuvrL"><img src="http://inlinethumb17.webshots.com/38672/2113123670103349049S425x425Q85.jpg" border=0></a></p> <p align=left><br><span style="text-decoration:underline">SQL Server Details</span><br><span style="font-weight:bold">Microsoft SQL Server 2005 - 9.00.3161.00 (X64) Enterprise Edition</span><br><br>Both Publisher and subscriber has the above version. Please let us know if any other details required.<br></font><font face=Courier><br>Thanks,<br>Vidhya Sagar</font></p>Tue, 28 Oct 2008 08:22:41 Z2009-11-30T09:31:52Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/ea91c29e-5be6-43d3-ac28-85ce6946cbb0http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/ea91c29e-5be6-43d3-ac28-85ce6946cbb0Dick Campbellhttp://social.msdn.microsoft.com/Profile/en-US/?user=Dick%20CampbellSQL 2000 Replication - Need to increase VarChar() column width.In SQL 2000 I think I have two choices.<br/><br/>1. After first generating Create Replication scripts, use sp_removedbreplication to remove replication, make the changes then script replication back onto the database. I have done this before and the process never seems to go completely smoothly. I usually end up having manually run the initial snapshots (perhaps I am just too impatient) and generally find that it is a slightly disconncerting experience.<br/><br/>2. I can add and remove columns with replication active using sp_repldropcolumn and sp_repladdcolumn. I am thinking that I should be able to do the following:-<br/><br/>          a. Copy the entire table to a temporary table, it's not a large table<br/>          b. Drop the column<br/>          c. Create the column with the new (bigger) width<br/>          d. Copy the data back from the tempory table<br/>          e. Drop the temporary table<br/><br/>It all sounds quite straight forward.<br/><br/>One question I have is whether I need to allow any time between steps b and c and steps c and d to allow the changes to propagate to the replica databases.<br/><br/>The second question relates to the fact that there is merge replication between the replica database. It sounds a bit wierd I know but there are reason for it and it seems to work quite well. The merge articles are not the same as the transactional replication articles by the way and are not subject to schema changes. Everyting is controlled by a single distributor so assume that sp_repldropcolumn and sp_repladdcolumn will &quot;take care of everything&quot;. The two tiered nature of the replication again makes me wonder whether I need to allow for a delay between steps.Wed, 11 Nov 2009 01:02:27 Z2009-11-29T06:44:36Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/3b953f14-724c-4826-9cb1-7e9307ef70d3http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/3b953f14-724c-4826-9cb1-7e9307ef70d3Jupsihttp://social.msdn.microsoft.com/Profile/en-US/?user=JupsiMSMerge del/sel missing at the replication clientsHello,<br/><br/>when I insert new SP and Views at the pulication from a merge replication, I get an Error at the Clients. <br/>Could not found any stored procedure like dbo.msmerge_sel_sp_xxxxxx<br/><br/>What is the problem? Now I work since 3 weeks on this.<br/><br/>Please help<br/> Fri, 27 Nov 2009 06:18:32 Z2009-11-27T17:12:44Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/52650a48-0989-40c4-ac0a-bf694336c073http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/52650a48-0989-40c4-ac0a-bf694336c073TheMeanFiddlerhttp://social.msdn.microsoft.com/Profile/en-US/?user=TheMeanFiddlerReplicate a database using media - no network connectionAs a beginner, I would like to know how to copy a database onto a USB stick and replicate it on my laptop. I can't connect my laptop to the network, so I can't use CDW.<br/><br/>ThanksThu, 26 Nov 2009 22:23:36 Z2009-11-27T13:58:28Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/480537f3-14d5-4819-bc7f-672d408296fdhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/480537f3-14d5-4819-bc7f-672d408296fdTheBrickhttp://social.msdn.microsoft.com/Profile/en-US/?user=TheBrickMy MSmerge_History tables is not getting cleaned up.<p align=left><font face=Arial size=2></font> </p> <p>I have a distribution retention of 48 hours.  The distribution &quot;Agent hisotry clean up job&quot; runs every 10 minutes.  </p> <p align=left> </p> <p align=left> </p> <p align=left>Why does this table have data older than 48 hours old?  I am currently seeing data as old as 11 days ago.  What is the best way to clean up this table or do I need the data for some reason.  I currently have over 3 million record in it and it is still growing.</p> <p align=left> </p> <p align=left>I am on SQL Server 2005 Ent SP2 cum 3</p>Wed, 15 Oct 2008 19:41:41 Z2009-11-26T12:15:21Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/2f8640df-ffcc-4389-b50a-fe7d73789499http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/2f8640df-ffcc-4389-b50a-fe7d73789499ssatyanarayanahttp://social.msdn.microsoft.com/Profile/en-US/?user=ssatyanarayanaMerge Replication message<p>I am getting the message the &quot;Connecting to Subscriber&quot; and then i found there is no change in duration even though one day has been passed <br/>Please let me know what this means</p>Wed, 25 Nov 2009 16:40:30 Z2009-11-25T19:10:09Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/1ac0a46b-7c5d-45db-895b-d787c0a3ebe4http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/1ac0a46b-7c5d-45db-895b-d787c0a3ebe4Rafael.Lunahttp://social.msdn.microsoft.com/Profile/en-US/?user=Rafael.LunaSQL 2005 to SQL 2000 transactional replication with queue updating<font size=2><span style="font-family:Arial">Hi everybody, I'm new in these forums.<br><br>I have a problem trying to setup the following replication scenario:<br><br>Publisher:  SQL Server 2005 (Version 9.00.3073.00)<br>Subscriber:  SQL Server 2000<br>Transactional replication with queue updating<br>Not allowing pull subscriptions<br><br><br>The problem happens when the distibutor is sending the snapshot to the subscriber:<br><br></span></font> <div style="margin-left:40px"><font style="font-weight:bold" size=2><span style="font-family:Arial">Command attempted:</span></font><br style="font-weight:bold"><font style="font-weight:bold" size=2><span style="font-family:Arial">if (@@microsoftversion &lt; 0x09000000) begin exec sp_addqueued_artinfo 1, N'department', N'FENIX\SQL2005', N'TestReplicacion', N'Test_2005_2000', N'department', N'dbo', N'conflict_Test_2005_2000_department', 0x0000000000000000000000000000000000000000000007ffffffffffffffffff end </span></font><br style="font-weight:bold"><font style="font-weight:bold" size=2><span style="font-family:Arial">(Transaction sequence number: 0x0000004600002DE9002F00000000, Command ID: 53)</span></font><br style="font-weight:bold"><font style="font-weight:bold" size=2><span style="font-family:Arial"></span></font><br style="font-weight:bold"><font style="font-weight:bold" size=2><span style="font-family:Arial">Error messages:</span></font><br style="font-weight:bold"><font style="font-weight:bold" size=2><span style="font-family:Arial">The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION. (Source: MSSQLServer, Error number: 3902)</span></font><br><font size=2><span style="font-family:Arial"></span></font></div><font size=2><span style="font-family:Arial"><br><br>This error doesn't happen if I use immediate updating or not updating at all from the subscriptions, but I need to use queue updating.<br><br><br>Thanks.<br></span></font>Thu, 18 Sep 2008 15:57:45 Z2009-11-25T15:13:43Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/2e6dc78d-5c29-486e-bd98-00c2770c012bhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/2e6dc78d-5c29-486e-bd98-00c2770c012bSøren Corneliussenhttp://social.msdn.microsoft.com/Profile/en-US/?user=S%u00f8ren%20CorneliussenSQL CE Merge Replication Problem: Same Device, but new user (login credentials) -> old user's da Hi<br/><br/>I have a problem with SQL CE 3.5 Merge Replication against a SQL Server 2008<br/><br/>I am using horizontal filtering based on - UPPER(SUSER_SNAME(SUSER_SID())) - to ensure that the data replicated is related to the user credentials from the device.<br/><br/>The tabels on the device is read-only. (only sending data to device)<br/><br/>Anyway if I on the device (in the same app) does <br/><br/>1) Replication with user A<br/>    -&gt; Data related to user A is received ok<br/>2) Change user to user B (new credentials)<br/>3) Replication with user B<br/>    -&gt; No data is changes - data for A is still on the device<br/><br/>If i manually delete the database in a step 2.5 then I do get correct data for user B and there is no problems.... (but I cannot do this in the app due to other reasons - it is just for testing)<br/><br/>This puzzels me a lot. Seems like either the SQL server has an error - or this &quot;change of user&quot; is unsupported?<br/><br/>I am aware of the subscriber id is generated of.<br/><br/> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="" lang=EN-US><span style="font-size:small"><span style="font-family:Calibri">PocketPC Name,<br/>a unique ID, </span></span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="" lang=EN-US><span style="font-size:small"><span style="font-family:Calibri">on-device path to the SQL CE/SQLMobile DB</span></span></span></p> <br/>and i can follow the replication in the replication monitor in the SQL Server. And yes - there is not created another id, when changing user...<br/><br/>Can anyone help?<br/><br/>Best regards<br/>Søren<br/><br/><br/><br/>Wed, 25 Nov 2009 09:24:06 Z2009-11-25T14:10:09Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/c730e52f-7b0a-47cf-b091-e8d0645bb090http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/c730e52f-7b0a-47cf-b091-e8d0645bb090Raj_79http://social.msdn.microsoft.com/Profile/en-US/?user=Raj_79Snapshot replication queryHi All,<br/>          I have created snapshot replication between two country, database size is about 150 mb. I have also choosen option to compress the snapshot on publisher.<br/>          I wanted to know that how this compress snapshot will apply on subscriber, I mean<br/><br/>              ==&gt; Would this compress folder move to subscriber and then subscriber will extract the files for processing?  Or<br/>              ==&gt; Would subscriber connect to itselft to publisher and file extract process will perform on publisher.<br/><br/>         Exactly i wanted to know that how <strong>compress</strong>  option helps to speed up network for snapshot replication.<br/><br/>         Thanks in advance.<br/>Raj<hr class="sig">**Vote it if it is helpful. **Mark as answer if it solves your problem. Raj_79Tue, 17 Nov 2009 08:53:29 Z2009-11-25T05:21:57Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/bb73c78a-8f0f-4f3a-809e-6b47ca85efd3http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/bb73c78a-8f0f-4f3a-809e-6b47ca85efd3Raj_79http://social.msdn.microsoft.com/Profile/en-US/?user=Raj_79Snapshot replication monitoring on subscriberHi Experts,<br/>                 I have snapshot replication between two country, i wanted monitor this replication on subscriber but i don't have any rights on publisher.<br/>                 Is there any way that i can monitor this replication on subscriber by any script/replication monitor ?<br/><br/><br/>                 Pls help<br/><br/>Raj<br/>       <hr class="sig">**Vote it if it is helpful. **Mark as answer if it solves your problem. Raj_79Tue, 24 Nov 2009 06:48:11 Z2009-11-25T05:11:34Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/9ce202ff-89ee-4e93-af8a-649177596778http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/9ce202ff-89ee-4e93-af8a-649177596778Kraftsmanshiphttp://social.msdn.microsoft.com/Profile/en-US/?user=KraftsmanshipBest method to handle SQL Server 2005 Replication to Access 2003 Tablet PCs used in the field.Hi,<br/> <br/> I am converting an Access 2003 database that was divided into a front end and back end.  The back end has replicated tables that were used by the Access front end to synchronize to a similar Access application used by field persons on tablet PCs. <br/> <br/> I successfully un-replicated the backend and moved it to SQL Server 2005, so the Access front end on the desktop works smoothly with the SQL Server backend.  The  desktop pcs using Access are connecting to the SQL Server using OLE DB linking that is checked and maintained by ADOX code.<br/> <br/> The next step as I see it is to find out how best to replicate from the SQL Server 2005 backend to the tablet pcs using Access.  These pcs aren't connected the whole time so they need to use replication and can't use linked tables.<br/> <br/> What is my best option?<br/> <br/> I haven't been able to find any direct advice on this so far. <br/> <br/> It seems to me I can try:<br/> <br/> 1. Replicating the tablet pc's Access tables and somehow getting them to work with the SQL Server 2005 Backend.<br/> <br/> 2. I can maybe put SQL Server Express 2005 on the tablet PC's and handle replication between the SQL Server Backend and the tablets.<br/> <br/> But I'm just guessing and any viable suggestions for best methods would be very much appreciated.<br/> <br/> Btw, I am a long time Access developer and coder but relatively new to SQL Server.<br/> <br/> Thanks for your help<br/> <br/> Alex<br/> <br/>Mon, 23 Nov 2009 23:22:18 Z2009-11-25T00:06:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/865baa74-a153-4791-a803-e09bac35eb05http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/865baa74-a153-4791-a803-e09bac35eb05TJ_1http://social.msdn.microsoft.com/Profile/en-US/?user=TJ_1Could not find stored procedure sp_MSins_dbot_tableNameHello Room,<br/><br/>I just completed the transaction replication and the initial snapshot was completed 100 percent.<br/><br/>The distribution agent failed with the following error:<br/><br/>----------------------------------------------------------------------------------------------------<br/>Could not find stored procedure 'sp_MSins_dbot_tableName'<br/><br/><span lang=EN> <p>Command attempted:</p> <p>if @@trancount &gt; 0 rollback tran<br/>(Transaction sequence number: 0x0000CA3000003B59000100000000, Command ID: 3)</p> <strong> <p>Error messages:</p> <p>Could not find stored procedure 'sp_MSins_dbot_tableName'. (Source: MSSQLServer, Error number: 2812)<br/>Get help: http://help/2812<br/><br/>Please help me out...need to know the solutions.<br/><br/>THanks,<br/>TJ</p> </strong> <p>Could not find stored procedure 'sp_MSins_dbot_tableName'. (Source: MSSQLServer, Error number: 2812)<br/>Get help: http://help/2812</p> </span><br/><hr class="sig">NoneFri, 20 Nov 2009 22:46:26 Z2009-11-24T20:08:40Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/b91aeb9d-7f70-45dd-990e-c76a5ada5ca9http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/b91aeb9d-7f70-45dd-990e-c76a5ada5ca9TJ_1http://social.msdn.microsoft.com/Profile/en-US/?user=TJ_1Could not find stored procedure 'sp_MSins_dbo_Table A<p>Hello room,<br/><br/>I just completed the transactional when changes made in the publisher data.  <br/><br/>The Distribution agent failed with the following errors:<br/><br/>Could not find stored procedure 'sp_MSins_dbo_Table_Name'</p> <span lang=EN> <p><span style="font-size:8pt;color:#3366ff;font-family:Verdana" lang=EN>Command attempted:</span></p> <p style="margin-left:0.5in"><span style="font-size:8pt;color:#3366ff;font-family:Verdana" lang=EN>if @@trancount &gt; 0 rollback tran<br/>(Transaction sequence number: 0x0000CC7100003911000100000000, Command ID: 3)</span></p> <p><strong><span style="font-size:8pt;color:#3366ff;font-family:Verdana" lang=EN>Error messages:</span></strong></p> <p style="margin-left:0.5in"><span style="font-size:8pt;color:#3366ff;font-family:Verdana" lang=EN>Could not find stored procedure 'sp_MSins_dbot_Table_Name'. (Source: MSSQLServer, Error number: 2812)<br/>Get help: http://help/2812</span></p> <p><span style="font-size:8pt;color:#3366ff;font-family:Verdana" lang=EN>Could not find stored procedure 'sp_MSins_dbot_Table_Name'. (Source: MSSQLServer, Error number: 2812)</span></p> <p>The Distribution agent still run into the same errors.</p> <p>Can someone help and advise?</p> <p>Thanks,</p> <p>TJ</p> </span><br/><br/>I found an article that suggested a fix on the following steps:<br/><br/>1. I manually generated  the scripts with the following procedure:<br/>      -- EXEC sp_scriptinsproc  @articleid;<br/>      -- EXEC sp_scriptdelproc  @articleid;<br/>      -- EXEC sp_scriptmappedupdproc @articleid;<br/><br/><br/>2. Then applied those scripts on the subcribers.<br/><br/><hr class="sig">NoneTue, 24 Nov 2009 16:14:27 Z2009-11-24T20:08:25Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/4bb14f16-6d8d-415d-bda5-3fbc0a2bf5b5http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/4bb14f16-6d8d-415d-bda5-3fbc0a2bf5b5ssatyanarayanahttp://social.msdn.microsoft.com/Profile/en-US/?user=ssatyanarayanaMerge replication throws Conflict errorIn merge replication i am geting this error:<br/><br/>The change for the row with article nickname 161096000 (testConfig), rowguidcol {68A76B18-B9E6-DD11-84FC-00001A1909E4} could not be applied at the destination. Further information about the failure reason can be found in the conflict logging tables.<br/><br/>Kindly suggestTue, 24 Nov 2009 17:15:47 Z2009-11-25T16:16:40Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/9cc097ca-b32d-4ccd-ada2-dd69c6ee6274http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/9cc097ca-b32d-4ccd-ada2-dd69c6ee6274ssatyanarayanahttp://social.msdn.microsoft.com/Profile/en-US/?user=ssatyanarayanaMerge Replication is failing by giving error message The schema script could not be propagated to the subscriber. Column already has a DEFAULT bound to it. <span style="font-size:xx-small"><font size=1><span lang=EN> <p>The schema script 'if object_id(N'[dbo].[testFailure]') is not null exec('ALTER TABLE [dbo].[testFailure] ADD CONSTRAINT riskAssessmentId_default DEFAULT 0 FOR RiskAssessmentId<br/><br/>')' could not be propagated to the subscriber. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)<br/>Get help: http://help/MSSQL_REPL-2147201001</p> <p>Column already has a DEFAULT bound to it. (Source: MSSQLServer, Error number: 1781)<br/>Get help: http://help/1781</p> <p>Could not create constraint. See previous errors. (Source: MSSQLServer, Error number: 1750)<br/>Get help: http://help/1750<br/><br/>Please suggest</p> </span></font></span>Tue, 24 Nov 2009 16:27:51 Z2009-11-24T16:27:51Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/31ddb8a6-0f72-431c-ab95-364e4fbd9df2http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/31ddb8a6-0f72-431c-ab95-364e4fbd9df2TheBrickhttp://social.msdn.microsoft.com/Profile/en-US/?user=TheBrickI need to replicate between tables with different structure SQL 2008<p>I have a single table with the same number of columns with all the same column names that I need to replicated. I have a column that is a INT data type that needs to be changed to a BIGINT data type.  The column is a identity column that is reaching upper limits and part of the PK.  The table has 250 million records and very little downtime.  I was thinking of replicating the table to reduce the needed downtime to change the data type.<br/><br/>Help.</p>Sat, 21 Nov 2009 03:53:02 Z2009-11-24T13:29:39Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/82e34dda-56db-4f71-b52d-670f1b1c6ae0http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/82e34dda-56db-4f71-b52d-670f1b1c6ae0SQL-DBA-Hihttp://social.msdn.microsoft.com/Profile/en-US/?user=SQL-DBA-HiMerge replication:How to get missing data to subscriber from Publisher<p>Hi,</p> <p>I have a SQL 2005 publisher and SQL 2000 subscriber.  Merge replication has been running fine.  Recently, subscriber did not get all the data from publisher due to query time out.  We did not notice on the day, it failed. Next day, replication ran fine.  Due to successful run on the next day, snapshot of publisher was overwritten.  So, I can't apply changes from publisher to subscriber.  Now, how do I send missing data to subscriber from Publisher?<br/><br/>Thanks a lot!</p> <p> </p>Mon, 23 Nov 2009 15:50:03 Z2009-11-24T04:19:05Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/92852f34-9c60-4574-afee-af2f5f98dbe4http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/92852f34-9c60-4574-afee-af2f5f98dbe4Uday94404http://social.msdn.microsoft.com/Profile/en-US/?user=Uday94404Replicating from sql server 2008 to Oracle. Insert fails when the column names are different in teh subscriber.I am trying to establish replication from sql server 2008 entreprise server to Oracle.<br/>I have the Oracke client installed and i was able to establish the replication.<br/>I had soms eissue with the datetime Vs date column, which i got around it by using the column type smalldate instaed of the regular datetime.<br/>I was able to update and delete without any issues.<br/><br/>I have problem inserting into oracle. By looking at the command in repl_command, i found that the insert statement have columnnames specified. The column name in Oracel is different from sql. The order ofthe column is correct. By the the replication from sql 200 to oracle worked fine because the repl_commands didn't have the column name specified.)<br/><br/>I saw an option that said 'Insert statment without column name&quot; under the Article properties that doesn't get saved when i save the article after cchanging that property.<br/><br/>any idea how to solve this issue without having to change the column name?<br/><br/><br/>Any help is appreciated,<br/>thanks<br/>udayMon, 23 Nov 2009 21:13:28 Z2009-11-23T23:30:44Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/b669a1a2-b70b-48dc-ab4a-9918c963943ehttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/b669a1a2-b70b-48dc-ab4a-9918c963943eAlexey Shirshovhttp://social.msdn.microsoft.com/Profile/en-US/?user=Alexey%20ShirshovCannot add publication<p>Hi!</p> <p>I have a strange error, when I try to create publication</p> <p>Msg 3933, Level 16, State 1, Procedure sp_MSrepl_addpublication, Line 1222<br>Cannot promote the transaction to a distributed transaction because there is an active save point in this transaction.</p> <p>What is it?</p> <p>P. S. The error arise with all types of replication.</p>Mon, 30 Oct 2006 15:43:47 Z2009-11-23T22:06:46Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/664c001a-ace0-4b4f-8545-e80cdc56856chttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/664c001a-ace0-4b4f-8545-e80cdc56856cmjsoulehttp://social.msdn.microsoft.com/Profile/en-US/?user=mjsouleSQL Server 2005 to SQL Server 2008Is it possible to replicate from 2005 to 2008? <div><br/></div>Thu, 19 Nov 2009 23:03:58 Z2009-11-23T18:22:02Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/221a6eeb-e938-4acf-8550-f546df0f4f69http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/221a6eeb-e938-4acf-8550-f546df0f4f69aaronBillyhttp://social.msdn.microsoft.com/Profile/en-US/?user=aaronBillyOnly one table can not add to the Articles<p><strong>I am trying to perform merge replication(For SQL Server 2005 / Windows 2003 server ),Only one table can not add to the Articles(other tables is ok).<br/>when I add it in Articles  , the snapshot agent run successfully .<br/><br/>but  when start synchronization  , it  show  some error :  <br/>The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message file. When troubleshooting, restart the synchronization with verbose history log<br/><br/>is this table has something wrong???<br/><br/>anyones who can help me slove this problem , thanks!<br/><br/>billy</strong></p>Mon, 23 Nov 2009 09:19:18 Z2009-11-23T18:17:18Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/ad1a432a-223d-4187-bb8a-3bb631fc5416http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/ad1a432a-223d-4187-bb8a-3bb631fc5416Moez Tounsihttp://social.msdn.microsoft.com/Profile/en-US/?user=Moez%20TounsiCustom Replication issueHello all, I have deployed a Merge replication in a database farm. Everything works correctly until my customer told me that he doesn't need all data be available in the subscriber.<br/>I found that STRANGE, after some extra interviews : <br/><br/>Subscriber databases must be empty and, after an all day activity database wil cover some new records.<br/><br/>At the time replication will run, the subscriber will commit data changes to the publisher with out refreshing it's own version of data.<br/>The subscriber will empty tables.<br/>The publisher must resolve conflict changes.<br/><br/>The question is : Is this possible? If yes How?<br/><br/>If no, I may get fired ... :).<br/><br/>Thanks for your precious help.<br/><br/><br/>Moez T<hr class="sig">MTounsi http://codydriver.blogspot.comSat, 21 Nov 2009 18:17:23 Z2009-11-23T18:22:43Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/586c7891-7c2d-4de6-aac2-990726b441ebhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/586c7891-7c2d-4de6-aac2-990726b441ebSynciahttp://social.msdn.microsoft.com/Profile/en-US/?user=SynciaUnique constraint violation on parent table in merge replication<p>I have a parent table Agent that has a unique constraint defined on a non-key column (tag) , and the key column is agentNo that is referenced on<br/>child table(property) as foreign key. <br/>Server1 is publisher and server2 is subscriber. Merge replication is configured with compensate_for_error set to true. the following scenario happens:<br/>An agent(agentno 100) with tag (123) is added in server1<br/>An agent(agentno 200) with tag (123) is added in server2<br/>An property (child record) is added referencing agentno 200 in server2.<br/><br/>when synchronization starts, server 2 try to upload the newly added agent record(agentno200) fail due to unique key constraint violation.with the compensate_for_error set to true, publisher always win, so agent200 is deleted from server 2 and agent 100 from server1 is downloaded to server2.<br/>That also cause the child record (property that reference agent200) got deleted.<br/><br/>What I would like to accomplish is that publisher wins, the winner should also propogate to the child table. that is update the child table(property) with<br/>agent 100 from server1. <br/><br/>I am thinking to use business logic module to handle it.Probably overwrite the insertErrorHandler. However, how can I find out which row in publisher that cause the conflict? And what exactly the enumeration actionOnDateError.AcceptCustomErrorBehavior do.<br/> is it possible to do it using the business logic module at all?<br/><br/>Thanks <br/>Syncia</p>Sun, 22 Nov 2009 04:18:44 Z2009-11-23T08:40:50Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/8e84ad6b-0b52-43f1-8ea4-7533cb6e64bfhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/8e84ad6b-0b52-43f1-8ea4-7533cb6e64bfStephen Westlakehttp://social.msdn.microsoft.com/Profile/en-US/?user=Stephen%20Westlakesqlcesa30.dll connection working correctly but cannot PULL/PUSH/REPLICATEHi, <div><br /></div> <div>We have an existing working system - SQL 2000 back end DB, SQL mobile 2005. Handhelds perform merge replication and push/pulls. We upgrade the SQL SP4 to counter a problem&nbsp;which&nbsp;seemed to&nbsp;cause&nbsp;far more problems. Therefore tried to roll back by reinstalled SQL and SP3. However how we are having new problems&nbsp;which&nbsp;i haven't seen before. All pulls/pushes/replication is failing. I can successfully reach and log in using IE at&nbsp;http://1.2.3.4:2020/SQL30/sqlcesa30.dll</div> <div><br /></div> <div>Error message for PULL attempt:</div> <div><span style="font-family: arial, sans-serif; font-size: 17px; border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><strong>"A re</strong><strong>quest to send data to the computer running IIS has failed" - 28037</strong></span></div> <div><br /></div> <div><br /></div> <div>Error message(s) for PUSH attempt:</div> <div><span style="font-family: arial, sans-serif; font-size: 17px; border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><strong>"Failure to open SQL Server with given connect string"</strong></span></div> <div><span style="font-family: arial, sans-serif; font-size: 17px; border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><strong>"Login failed for user" - 18456</strong></span></div> <div><br /></div> <div><br /></div> <div>The log file in the virtual&nbsp;directory&nbsp;has the error messages:</div> <div> <ul> <li><span style="font-weight: bold;">Thread=7F0 RSCB=3 Command=SQL HR=80040E40 Login Failed for User 'machine\user' 18456</span></li> <li><span style="font-family: arial, sans-serif; font-size: small;"><em style="font-style: normal;"><strong>Hr</strong></em><strong>=</strong><em style="font-style: normal;"><strong>80070585 ERR</strong></em><strong>:</strong><em style="font-style: normal;"><strong>REQUEST NOT QUEUED</strong></em><strong>&nbsp;for ulRSCBId = -1</strong></span></li> </ul> </div> <div><br /></div> <div>The user seems to be set up correctly everywhere? Do i have to reconfigure the virtual directory? One very strange thing is that now and again a PULL command will work but will take a long time (20 seconds). Any ideas would be welcome!</div> <div><br /></div> <div>Thanks</div> <div>Steve</div>Mon, 12 Oct 2009 10:25:40 Z2009-11-21T02:22:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/e4ba086b-dd27-4a99-9ea6-73d8761d49cehttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/e4ba086b-dd27-4a99-9ea6-73d8761d49ceMartin McNally1http://social.msdn.microsoft.com/Profile/en-US/?user=Martin%20%20McNally12005 SP3 via Windows Update breaks Merge Replication<p>Has anyone else noticed this problem we are starting to see it on machines now that are attempting to get SP3 for SQL Express 2005 via Windows Update.<br/><br/>The update failes to apply and the replmerg.exe agent can no longer connect to the distributor. Enterprise Manager can still connect to the distributor from the machine.<br/><br/>Attempting to remove SQL Express causes a faital error.<br/><br/>The only fix we have found so far is to remove SQL Express manually (the installer does not work anymore). Then reinstall and reinstate all of the databases (master, msdb, custom databases etc).<br/><br/>Once the reinstall is complete the agent can connect just fine.<br/><br/>It seems SP3 via Windows Update is some how corrupting something when it fails.<br/><br/>I also tried to apply SP3 manually on these machines and that fails too.<br/><br/>Martin</p>Thu, 05 Nov 2009 18:32:16 Z2009-11-21T01:08:00Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/9f8b9aca-6ddf-4dd4-b0db-32f34e86be1bhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/9f8b9aca-6ddf-4dd4-b0db-32f34e86be1bDBA_SQL2K5http://social.msdn.microsoft.com/Profile/en-US/?user=DBA_SQL2K53 Publications from one Database to 1 subscriber_<span style="font-family:Verdana, Arial, Tahoma;font-size:13px;color:#1f5080"> <table border=0 cellspacing=0 cellpadding=0 width="100%"> <tbody> <tr> <td class=smalltxt style="font-family:Arial, sans-serif;color:#444444;font-size:13px;font-weight:normal" valign=top><span>I have 3 Transactional Replication publications configured on Server A, we have configured 3 publications for administrative reasons dividing articles into 3 publications.<br/>We have subscriber B that is the subscriber for Server A. we have combined 3 Tran. Repl. jobs into 1 so that only 1 job updates the Subscriber.<br/>Server A to Server B using 3 publications with 1 job (Log Reader)<br/><br/>Sometimes we are seeing that the from Publication B - T2 transaction is reaching before Transaction T1 from Publication A, even when we send T1 then T2.<br/><br/>How can we address this ?<br/>Please help gurus</span></td> </tr> </tbody> </table> </span>Wed, 18 Nov 2009 19:12:05 Z2009-11-30T10:07:46Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/6b0dd577-fd65-4ffd-9f1f-e3fbdf20df63http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/6b0dd577-fd65-4ffd-9f1f-e3fbdf20df63glnphttp://social.msdn.microsoft.com/Profile/en-US/?user=glnpreplication<p>Hi,<br/><br/>Can anyone tell me what are the functional requirements and nonfunctional requirements for replication<br/><br/><br/>Regards,<br/><br/>Glnp</p>Fri, 20 Nov 2009 10:24:44 Z2009-11-30T10:04:25Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/bc0b6262-1927-43fd-b220-138ac3556807http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/bc0b6262-1927-43fd-b220-138ac3556807skyhawker99http://social.msdn.microsoft.com/Profile/en-US/?user=skyhawker99Queue Reader Failure after LAN ProblemsHi All<br/><br/>We are having problems with the Queue Reader Agent not starting after a period WAN/LAN outage at a customer site. We get the site engineers to re-initialise the subscriptions to start the replication and all the agents start apart from the Queue Reader. <br/><br/>When you try to restart the queue reader you get the error &quot;Failed while applying queued message to publisher&quot; is this because the publisher and subscriber databases are now to far out of sync for it to apply any subscriber transactions? <br/><br/>No other error is reported by the agent. I have checked the event logs etc on the servers.<br/><br/>Any help would be appreciated.Fri, 20 Nov 2009 12:05:05 Z2009-11-20T12:32:02Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/7380b24c-2e4d-44d5-9242-c92aa9a94068http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/7380b24c-2e4d-44d5-9242-c92aa9a94068prad9http://social.msdn.microsoft.com/Profile/en-US/?user=prad9Error while merging: "Could not retrieve column info from table tablename" and Could not find stored procedure MSmerger_sel_sp_134145123kjh12k34<p>Hi i am getting following error message while merging. Can any one please help?</p> <p>We are using sql server 2005<br/>I have this problem in publisher.Gone throught his article <a href="http://social.msdn.microsoft.com/Forums/en/sqlreplication/thread/b0bbc330-91df-45d5-8dbf-e2df461a8005">http://social.msdn.microsoft.com/Forums/en/sqlreplication/thread/b0bbc330-91df-45d5-8dbf-e2df461a8005</a> but no luck.<br/><br/>The merge process could not retrieve column information for table 'dbo.tablename'. Verify that you have sufficient privileges on the database and retry the operation. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201016)<br/>Get help: <a href="http://help/MSSQL_REPL-2147201016">http://help/MSSQL_REPL-2147201016</a></p> <p>Could not find stored procedure 'dbo.MSmerge_sel_sp_6481B06512B54C91FCC171C542E7'. (Source: MSSQLServer, Error number: 2812)<br/>Get help: <a href="http://help/2812">http://help/2812</a></p> <p>Thanks</p>Wed, 28 Oct 2009 00:08:39 Z2009-11-20T00:49:48Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/2b90e760-e940-4900-ba7f-10a6e2f3777chttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/2b90e760-e940-4900-ba7f-10a6e2f3777cTJ_1http://social.msdn.microsoft.com/Profile/en-US/?user=TJ_1Can SQL 2000 recovery model is Simple participant in Backup and Recovery of Snapshot transaction replicationHello room,<br/><br/>Can SQL 2000 with Simple recovery model participant in Backup and Recovery of Snapshot transaction replication?<br/><br/>Thanks,<br/>TJ<hr class="sig">NoneWed, 18 Nov 2009 23:38:08 Z2009-11-26T10:28:58Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/278f3d51-b1db-4363-bc8e-ad6ba903aa87http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/278f3d51-b1db-4363-bc8e-ad6ba903aa87Andy Savhttp://social.msdn.microsoft.com/Profile/en-US/?user=Andy%20SavReplication slow to deliver changesHello,<br/><br/>We are replicating a small set of tables (22) from our finance system. Looking at the Publisher to Distributor History, we often see messages similar to the following:<br/><br/>The Log Reader Agent is scanning the transaction log for commands to be replicated. Approximately 500000 log records have been scanned in pass # 3, 466 of which were marked for replication, elapsed time 130874952 (ms).<br/>The Log Reader Agent is scanning the transaction log for commands to be replicated. Approximately 1000000 log records have been scanned in pass # 3, 131 of which were marked for replication, elapsed time 120360593 (ms).<br/>The Log Reader Agent is scanning the transaction log for commands to be replicated. Approximately 500000 log records have been scanned in pass # 3, 131 of which were marked for replication, elapsed time 19112591 (ms).<br/><br/>Is there anyway to reduce the elapsed time? If you convert the ms to minutes, in some cases it is taking over half an hour to scan the transaction log. Also, sometimes the elapsed time can appear as a large minus number. Any ideas what this means?<br/><br/>The data from the finance system is replicated to a data warehouse. During the month end process, the replicated tables in the data warehouse causes the DWH rebuild process to be blocked, for more than 7 hours. I think this is because replication has a number of changes which it needs to apply to the copy, but because it is still stuck reading the transaction logfile, it is taking a long time. Month end on the Finance system finished around 11pm. The data warehouse refresh starts at 12am, but stays blocked for 7 hours. While month end occurs, the transaction logfile would have grown (up until 11pm).<br/><br/>Any ideas what we can do to increase replication performance when large transactions occur on the fiance system?<br/><br/>Thanks,<br/><br/>Andy.Mon, 16 Nov 2009 11:05:40 Z2009-11-19T16:17:49Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/a811745a-7702-41e0-8999-18c47c129defhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/a811745a-7702-41e0-8999-18c47c129defGajendra _Avery Weigh-Tronix PVT. LTD.http://social.msdn.microsoft.com/Profile/en-US/?user=Gajendra%20_Avery%20Weigh-Tronix%20PVT.%20LTD.Filter in Merg ReplicationI am working on merge replication and i deployed succesfully on testing server. Now my client has following compony structure and they want to implement filtering on publication server.<br/><br/>Structure:-         <br/>                 Head office and Distribution and publication Server :-  BIR. (UK)<br/>                 Branch1 (sub1) :- Noida (India) <br/>                 Branch2 (sub2) :- California (USA)<br/>                 Branch3 (sub3) :- HongKong (China)<br/><br/>Now my client want if any subscriber make any changes in subscription DB then data should update only on publication server and other subscription should not be update.<br/>Example:- <br/>             Sub1:- Add a new vehicle now publisher should be update but Sub2 and Sub3 should not be update.<br/><br/>Please suggest how to implement filter for above scenario?? or is there any way to do it??<br/><br/>Wed, 18 Nov 2009 06:51:32 Z2009-11-25T10:31:30Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/313bce45-1e4d-4341-b1d0-a726b16c0ea4http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/313bce45-1e4d-4341-b1d0-a726b16c0ea4Arsalan Tamizhttp://social.msdn.microsoft.com/Profile/en-US/?user=Arsalan%20Tamiz2005 Transactional Replication Use data already in subscriberHello, <div><br/></div> <div>I am creating a simple Transactional Replication with Push Subscription. There is only one table that I want to be replicated. But the problem is that the same table exists in subscriber and have some data as well. So I just want to create the sync. and do NOT want the data to be <strong>bulk copied</strong> on first synchronization.</div> <div><br/></div> <div>Is this possible? If yes then how?</div> <div><br/></div> <div>Thanks</div>Wed, 18 Nov 2009 08:59:38 Z2009-11-19T08:50:33Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/8e2d8b04-f402-4334-b95b-6d69ed261c30http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/8e2d8b04-f402-4334-b95b-6d69ed261c30Ramaprasad.Rhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ramaprasad.Rwhen we starts replication what are the jobs are startedhi,<br/> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:small;font-family:Times New Roman"><span style="font-size:x-small">What are the log replication monitoring services?<br/>and when we starts the replication what are the jobs are started?<br/><br/>help me.<br/><br/><br/>Thanks,<br/>Ramaprasad.</span></span></p>Fri, 19 Jun 2009 05:03:20 Z2009-11-19T07:09:03Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/1950da85-4df9-4cfa-82bc-7713e505c0b1http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/1950da85-4df9-4cfa-82bc-7713e505c0b1Ramaprasad.Rhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ramaprasad.RDefault value in SQL 2000<p align=left><font face=Arial size=2></font> </p> <p>Hi All,</p> <p align=left> </p> <p align=left><strong>How to set default value of this 'msrepl_tran_version'  column.</strong></p> <p align=left><strong>this is not Null field how to satisfy this conditions?</strong></p> <p align=left><strong></strong> </p> <p align=left><strong>My question is after Replication i got new column 'msrepl_tran_version' in this column how to insert default value.</strong></p> <p> </p> <p align=left> </p> <p align=left>Thanks,</p> <p align=left>Ramaprasad.</p>Fri, 27 Jun 2008 18:21:08 Z2009-11-19T07:05:25Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/dd2eb00c-6d7e-45bc-b1d8-28d289bc3b9fhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/dd2eb00c-6d7e-45bc-b1d8-28d289bc3b9fMrFlinstonehttp://social.msdn.microsoft.com/Profile/en-US/?user=MrFlinstoneReplication agent failure with error Unable to determine if the owner I have a problem with replication, I have just set it up using windows authentication, and for some reason the replication agent jobs are created with my domain account as the owner of the jobs, this causes replication agent jobs to fail for some reason, what I then do is update the msdb..sysjobs table with the owner of the jobs as &quot;sa&quot;. I have observed that this resolves the problem, but before replication can start working again, the SQL agent service has to be restarted, this is particularly tricky when you have 7 subscribers.<br/> <br/> The error I get is as follows.<br/> <br/> <br/> The job failed.  Unable to determine if the owner (domain\username) of job xxxx has server access (reason: Could not obtain information about Windows NT group/user 'domain\username', error code 0x5. [SQLSTATE 42000] (Error 15404)).<br/> <br/> Is there a workaround to this problem ?<br/> <br/> Thanks in advanceMon, 16 Nov 2009 22:41:04 Z2009-11-18T22:13:52Zhttp://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/bd1ebd0e-1434-4b75-afad-830156462659http://social.msdn.microsoft.com/Forums/en-US/sqlreplication/thread/bd1ebd0e-1434-4b75-afad-830156462659Dribar2http://social.msdn.microsoft.com/Profile/en-US/?user=Dribar2Best way to setup transactional replication on 40gb database<p align=left><font face=Arial size=2>Greetings,</font></p> <p align=left> </p> <p align=left>I have a 40gb database that needs to be replicated offsite.  We have replication setup and operational for other databases and have used the snapshots to get the initial setup completed,  but am looking for a way to move the snapshot without pushing it over the wire.</p> <p align=left> </p> <p align=left>I want to:  create the snapshow locally; copy it to a portable hard drive; overnight the drive to the subscribing server; copy it on to the subscribing server and then consume it.</p> <p align=left> </p> <p align=left>Is this possible?  I'm sure this is an easy thing to do but I can't find documentation on how to do the disconnected-snapshot deal.  </p> <p align=left> </p> <p align=left>Any words of encouragement?</p> <p align=left> </p> <p align=left>Thanks.</p> <p align=left>Dan Ribar</p>Tue, 10 Jun 2008 12:38:47 Z2009-11-18T19:31:52Z