Thanks for the replys,
Msdtc is fully enabled on both servers.
Netic there is a windows firewall, and I have added an exception for MSDTC and opened port 135.
Following is the steps i took...
To fully enable MSDTC:
1 - In Control Panel, open Administrative Tools, and then double-click...
Yes MS DTC is running
Here what is selected:
Network DTC Access (Checked)
Allow Remote Client (Checked)
Allow Remote Administration(Checked)
Allow Inbound and Allow outbound (Both Checked)
Manual Authentication Required(Checked)
Enable Transaction Internet Protocol(TIP) Transactions(Checked)...
when i execute without using transaction it works but why not using transaction
INSERT INTO [SERVERNAME1].[DATABASENAME].[dbo].[TABLENAME](PurchaseByUserID,price,purchasedate,affiliateID,LicenseeID,debittype)
SELECT PurchaseByUserID,price,purchasedate,affiliateID,LicenseeID,debittype
FROM...
Hi,
purchasedate is type of Datetime
I tried SET XACT_ABORT ON on Top but same error is comming
here is the Sql block:
SET XACT_ABORT ON
BEGIN TRAN
BEGIN TRY
INSERT INTO [SERVERNAME1].[DATABASENAME].[dbo].[TABLENAME](PurchaseByUserID,price,purchasedate,affiliateID,LicenseeID,debittype)...
Hi all,
I m trying to get records from one server to another using Commit and Rollback feature in the Sql Server and getting this error message--
"No transaction is active."
below is my sql block
BEGIN TRAN
BEGIN TRY
INSERT INTO...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.