merge-replication

replication between two tables with different names and which have different column names. Is it possible to create such replication

浪子不回头ぞ 提交于 2019-12-09 19:44:01
问题 I have a requirement where i have create replication between two tables with different names and which have different column names. Is it possible to create such replication. server A server B ---------- ---------- Table : Test Table : SUBS -------------- --------------- columns A,B,C Columns D,E,F,G,H I want to configure replication so that column A data is replicated to column D, column B data is replicated to column E, column C data is replicated to column F 回答1: Apparently, the answer is:

GUID of 00000000-0000-0000-0000-000000000000 causing merge index violation

心已入冬 提交于 2019-12-07 13:42:49
问题 Our developer has a linq-2-sql project that talks to my database. The database is involved in merge replication. It has been in use for some time and was working fine. A recent table was added to the schema and now is causing problems when new records are added. The user get's an error message stating that the index related to the guid that merge replication automatically creates is violating a unique constraint. From what I can tell the table isn't any different than others that are involved

GUID of 00000000-0000-0000-0000-000000000000 causing merge index violation

橙三吉。 提交于 2019-12-05 21:16:42
Our developer has a linq-2-sql project that talks to my database. The database is involved in merge replication. It has been in use for some time and was working fine. A recent table was added to the schema and now is causing problems when new records are added. The user get's an error message stating that the index related to the guid that merge replication automatically creates is violating a unique constraint. From what I can tell the table isn't any different than others that are involved. I have recreated the entire replication publication/subscription model from scratch and everything

replication between two tables with different names and which have different column names. Is it possible to create such replication

独自空忆成欢 提交于 2019-12-04 12:59:38
I have a requirement where i have create replication between two tables with different names and which have different column names. Is it possible to create such replication. server A server B ---------- ---------- Table : Test Table : SUBS -------------- --------------- columns A,B,C Columns D,E,F,G,H I want to configure replication so that column A data is replicated to column D, column B data is replicated to column E, column C data is replicated to column F Apparently, the answer is: "When you define the article, you'll have to set the @vertical_partition parameter to true and then add the

My subscriber database lost connection to the publisher and expired. Can my data be saved?

北慕城南 提交于 2019-12-04 05:07:12
问题 I have a publisher database A and I have two subscriber databases B and C that subscribe to A. My application resides locally at sites B and C and through replication, changes at B and/or C are replicated to each other. The problem is since 31 January 2019 C stopped subscribing to A and the IT guys at site C didn't know about it (no alerts). The bigger problem is that during this time, people using the application at B have been entering data which is replicated back to A. At the same time,

A trigger returned a resultset and/or was running with SET NOCOUNT OFF while another outstanding result set was active

懵懂的女人 提交于 2019-12-03 22:59:35
I have 2 servers connected over a low speed wan and we're running SQL Server 2008 with Merge replication. At the subscriber, sometimes when attempting to insert new rows, I get this error: A trigger returned a resultset and/or was running with SET NOCOUNT OFF while another outstanding result set was active. My database doesn't have any triggers; the only triggers are the one created by the Merge replication Also, whenever this error occurs it automatically rolls back the existing transaction I am using DataTables and TableAdapters to insert and update the database using transactions What I

Allow non-db_owner INSERT permissions in merge replication with auto identity range mgmt

£可爱£侵袭症+ 提交于 2019-12-02 17:14:50
问题 I have users with INSERT permissions on a table. They can insert records on the publisher until the table's primary range runs out. Then they start getting this error every time they try to do an INSERT: [Microsoft][ODBC SQL Server Driver]Fractional truncation [Microsoft][ODBC SQL Server Driver][SQL Server]The insert failed. It conflicted with an identity range check constraint in database 'TaxDB', replicated table 'dbo.ClientHistory', column 'ClientHistoryID'. If the identity column is

Allow non-db_owner INSERT permissions in merge replication with auto identity range mgmt

笑着哭i 提交于 2019-12-02 09:21:42
I have users with INSERT permissions on a table. They can insert records on the publisher until the table's primary range runs out. Then they start getting this error every time they try to do an INSERT: [Microsoft][ODBC SQL Server Driver]Fractional truncation [Microsoft][ODBC SQL Server Driver][SQL Server]The insert failed. It conflicted with an identity range check constraint in database 'TaxDB', replicated table 'dbo.ClientHistory', column 'ClientHistoryID'. If the identity column is automatically managed by replication, update the range as follows: for the Publisher, execute sp

My subscriber database lost connection to the publisher and expired. Can my data be saved?

邮差的信 提交于 2019-12-02 05:01:46
I have a publisher database A and I have two subscriber databases B and C that subscribe to A. My application resides locally at sites B and C and through replication, changes at B and/or C are replicated to each other. The problem is since 31 January 2019 C stopped subscribing to A and the IT guys at site C didn't know about it (no alerts). The bigger problem is that during this time, people using the application at B have been entering data which is replicated back to A. At the same time, people at site C have been adding data to database C which was not replicating back. If I reinstate a

Sync nightmare - is it possible to use Merge Replication (or RDA) between 2 SQL CE instances without IIS?

谁都会走 提交于 2019-11-29 11:11:38
We are faced with the following problem that involves keeping the following in sync: 1 Centralised Server (IIS / MSSQL 2005) Many Desktop WPF clients distributed by ClickOnce Many Mobile clients - (Windows CE) alt text http://img502.imageshack.us/img502/8246/deployment.png With these thorny constraints: all sync relationships are bi-directional the desktop & mobile nodes require offline mode the mobile nodes cannot sync with the central server but are to sync with the desktop nodes over USB. The desktop nodes act as a server for the mobile clients, not the central server. Updates from the