Are you the publisher? Claim or contact us about this channel

Embed this content in your HTML


Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog

Channel Description:

Discussions on SQL Server Replication

older | 1 | .... | 36 | 37 | (Page 38) | 39 | 40 | .... | 181 | newer

    0 0

    Hi, I tried to run this(below) the table is replicated(transactional).




    But getting this error message:

    Msg 15051, Level 11, State 1, Procedure sp_rename, Line 227

    Cannot rename the table because it is published for replication.


    Thank You

    0 0


    I have a DB of 1000 tables or more, all of the 1000 tables are added to one merge publication, most of them are bidirectional, and i have around 300 join filters.

    I noticed lately that when sync is started i am getting more of query timeout exception, when downloading changes to subscribers.

    Any idea about the replication capabilities and limits ?


    0 0

    I am a little confused with this article

    Under the More Information Section this Bullet point is made

    •Two or more publications inside the same publisher database at the same publishing server instance.

    This statement confuses me as I interperet it to mean that you cannot have more than publication inside a published database, even if the different publications reference different articles which I believe is common practice.

    Should this not read

    •Two or more publications inside the same publisher database [referencing the same article] at the same publishing server instance.

    Note: I understand the Central Subscriber model with Tran Replication and multiple publishers but this is different.

    Any help with clarification appreciated


    "Everything in the world should be made as simple as possible, but NOT simpler" A.Einstein

    0 0

    I'm used to work with SQL express edition with only one master machine on this small local network.

    On one hand, I wander about the licensing rules on SQL server 2008 standard edition (running on Windows XP workstation) in our specific case. On the other hand, I need to set specific recovery procedure in case of master machine crash.

    My configuration will be composed of 2 or 5 workstations running on WinXP machines in the same WORKGROUP (NO DOMAIN).

    Mirroring should be needed for automatic fail-over. However we would rather use manual fail-over techniques to manage our-self the recovery procedure.

    I would have only one database running at a time with automatic replication on this small workgroup network.

    In case the master database machine crashes, another machine from this workgroup would restart and take the master role; setting IP to the previous master, launching SQL server instance, thus activating the mirroring on the other existing machines, ready for the other client machines on this workgroup network enabling database access.

    The backUp machines for SQL Server replication are indeed client machines for the master database machine.

    When the original master gets back (maintenance), setting IP to the previous backup machine that had taken the master role and becoming then a backUp for the new actual master machine.

    In this configuration what should be passive or active license? This seems to be a standard replication handling. Any trouble about managing role changes in this configuration? 

    I think that 5 standard licences are required as mirroring procedure runs on each machine unless only one license is needed as only one active?

    Most of the time this configuration runs internet less. Could this configuration runs without trouble about licencing control when roles are changed from one master machine to another backup machine?

    Thanks in advance for your comments.

    Kind regards


    0 0
  • 03/29/13--14:33: Transactional log shipping
  • I have created the log shipping job, backup, copy and restore job occurs without any error. However in the secondary server, LSAlert job has errors:

    Executed as user: NT AUTHORITY\NETWORK SERVICE. The log shipping primary database server.AbraEmployeeSelfService has backup threshold of 60 minutes and has not performed a backup log operation for 276 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14420).  The step failed.

    I have deleted log shipping completely, deleted all the rows in the logshipping related tables and restarted the process. Sqlserver agent error log is not relay anything about log shipping. I have scheduled the backup job at 12 am, copy at 12:05 am and restore at 12:35 AM

    0 0

    Hi all

    I wonder if anyone can save me from a completely rubbish Easter weekend :-)

    I had a complete brain fade and issued sp_removedbreplication against a subscriber database that was involved in replication and which I had hoped to use a source for a publication, i.e. Server A publishes to Server B and Server B then published to Server C (I issued the sp_removedbreplication against Server B).

    So a couple of thoughts I've had which I've not tried because I don't want to make a bad situation even worse:

    1. Recreate the subscription - will the publisher simply carry on where it left off?

    2. Recreate the INS, UPD, DEL stored procs (but what happens to the replication stored procs that support stored procs, views and functions and so on)

    I am replicating from SQL Server 2008 to SQL Server 2008 R2 if that's any help.

    Thanks in advance for all assistance offered!

    0 0


    I was able to create distribution, publisher for snapshot replication, but not the subscription and I'm getting the following warning.

    Subscription for the following subscribers cannot be initialized immediately because the snapshot is not available: 

    Below is the error for the same from replication Monitor

    'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLSERVER2008\MSSQL\ReplData\unc\A$SQLSERVER2008_TESTREPLICATION_SNAPSHOT_PUBLICATION\20130330150033\' is denied.

    I tried giving full access to the user A but I was unable to do that(error is Process cannot access the file because  it is used by other Process)

    Can someone help me in fixing the issue.


    0 0

    The server is windows 2012 + SQL 2012 sp1 (11.0.3000 web edition) using AWS EC2 instance. 

    The sqlLogShip versin is 11.0.2100.60.

    We have just setup two sql server doing log shipping every 5 mins.

    I got following error every few minutes.

    An unhandled exception ('System.IO.FileLoadException') occurred in SqlLogShip.exe [6400]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on.
    Check the documentation index for 'Just-in-time debugging, errors' for more information.

    Not sure how to fix this, I can't find any answer from google/Bing.

    Thanks for any help!


    0 0

     I set up a server with SQL 2k8 R2 and want to sync a publication with a remote subscriber.

    Everything is basically set up and I am using RMO.  Subscriptions are being created on both server and client (uses Express version) , but when I use 


    To initialize the subscription on the clients, is gives me an error : 

    The process could not connect to Distributor 'MACHINENAME\INSTANCE'.      

    at Microsoft.SqlServer.Replication.MergeSynchronizationAgent.Run()
       at Microsoft.SqlServer.Replication.MergeSynchronizationAgent.Synchronize()

    What could be the problem ?? How can I check ??

    0 0

    I have gone through BOL and various online resources including this one and I can't find any examples on how to use custom conflict resolvers to generate a result row which is a combination of the rows to be merged.

    BOL says it can be done, but suitable examples are missing.  I have found various posts requesting examples from up to a year ago, but can see no replies with relevant information

    In particular I would like to see examples of

    1) A stored procedure based custom conflict resolver

    2) A business logic handler written in VB .Net

    Here's hoping


    0 0
  • 04/02/13--03:39: merge replication
  • How to Remove publisher and subscriber without deleting rowguid the merge replication?

    0 0
  • 04/02/13--07:23: log shiping
  • i am setting up log shipping for  about 30 dbs,   everything working fine,  i need to log ship  structure/objects of  a db not data.  is it possible in log shipping?

    any other better way of taking structure of databases?



    0 0

    How to disable Xp_CmdShell in SQL Server 2000?

    0 0

    i want to monitor SQL replicetion without any Sproc becoz i am using other tool with cannt execute any Sproc it can only run any select query. can nayone please suggest me any idea how to do it??

    0 0

    Hi All,

    I am about to embark on a mission of utmost importance.  The company I work for employs contractors to perform audits on site (with no internet or phone reception) and these auditors currently have SQL CE installed, which is replicated to SQL Server 2012 with merge replication.

    My task is to store images on the CE machines and replicate them back to home.

    Having little knowledge about replication or CE, I ask for advice on the best approach.

    So far I have looked at using an 'Image' data type, however these will soon be deprecated in SQL Server, and a VarBinary(MAX) will only store up to 8000bytes on CE.

    Does anyone have experience with this situation?

    Thanks in advance!

    0 0

    Hi All,

    Running SQL 2000, SP 4,
    My first replication project and I am trying to use the
    Create Publication Wizard.

    For Select Distributor, I have chosen to make the current
    database it's own Distributor.
    After clicking Next I get the following message:
    "SQL Server Agent on (my machine) currently use the system
    account, which causes replication
    between servers to fail. In the following dialog box,
    specify another account for the Service startup

    I have set up an account with System Admin and Process
    Admin rights. I use this account in the SQL
    Server Agent Properties, Service startup accout and then
    get the following after trying to restart the
    "The SQL Server Agent start-up account could not be
    verified. Are you sure you want to use it?"

    If I try yes I get: "Error 22042: xp_setSQLSecurity()
    returned error -2147023564,
    "No mapping between account names and security IDs was

    Any Ideas?




    0 0

    Hi all,


    I am trying to do the replication in Mssql 2000, sql to paradox, configure the replication but this linking server was not displayed in enable subscriber window.


    give me good solution how to get the linking server in enable subscriber window.







    0 0

    Hi All,


    I have one doubt that is i have two same databases, in that database have same tables nearly 60 tables 59 tables are ok but one table in that table have 101 Rows in that i want replication data only 71 other 30 rows are not involve in replication and data was not transfer Publisher to Subscriber.


    I was put the query than I got one issues, at first time in subscriber out of 101 rows 30 rows are deleted in subscriber and later i was run the software in subscriber create that 30 rows and save the data also, this data was involved in replication (this was not required to involved to replication) and update the data in Publisher also and then now in Publisher have more than 101 Rows (Other 71rows are replicated was successfully).


    How to stop the data was not involved into Replication that 30 rows (which is i put in where condition that data was not involved in replication but it should be saved in PUB and SUB also)


    (Note:-Data was not deleted in publisher and subscriber and data was not replicate one to another these 30 rows like local data other all (71 Rows) Global data, it should be replicated).


    Give me the solution how to replicate the data?


    This is very urgent this plz help me.


    Thanking you,


    0 0

    Hi All,


    I am doing Transactonal Replication in MSSQL server 2000


    at the time of running it was give error message


    Error: "Server setting 'Allow triggers to be fired which fire other triggers (nested triggers)' must exist on updatable Subscribers."


    Last Command :-{call sp_addsynctriggers (N'Void', N'null', N'MP-4', N'018L', N'018L', N'sp_MSsync_ins_Void_1', N'sp_MSsync_upd_Void_1', N'sp_MSsync_del_Void_1', N'sp_MScft_018L_Void', N'dbo', N'null', N'null', N'null', 0x01, 0,1,N'MP-4' )}
    Transaction sequence number and command ID of last execution batch are 0x0000016A00000CA602EA00000001 and 217.

    give me the solution of this issue, how can i solve this error ?


    Thanks & Regards,



    0 0
  • 04/03/13--03:55: SQL Server Job Failure
  • Hi All,

    we configured one job for executing one stored procedure as per the logic the job is running successfully but in hob history it is showing following error.

    if we run the job manually the job excuting without errors.

    we are not understanding where is the issue in SP or Job ?


    Executed as user: IMGWORLD\SVC_CLESQL. Cannot insert the value NULL into column 'INST_CODE', table 'CLCDMZ.dbo.RR_SALES'; column does not allow nulls. UPDATE fails. [SQLSTATE 23000] (Error 515) The statement has been terminated. [SQLSTATE 01000] (Error 3621). The step failed.

    Please help me to resolve the issue.



    SivaG:Please Marked as Answered, if it resolves your issue.

older | 1 | .... | 36 | 37 | (Page 38) | 39 | 40 | .... | 181 | newer