Linked Server : SQL 2012 to 2000 error - Microsoft Distributed Transaction Coordinator (MS DTC) has stopped this transaction.
Hi all,
If any one has worked around this error and can help ?
Msg 8522, Level 16, State 3, Line 1
Microsoft Distributed Transaction Coordinator (MS DTC) has stopped this transaction.
I am trying to connect from sql 2012 to 2000 server. Established linked server using native client 10. I am able to see catalogs and database and table. Just when I am trying to query i am getting above error.
any help is really appreciated.
Thanks
Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach
Hi Logicinisde,
What the new error message do you get after using the workarounds in this
blog? Please post it for analysis.
Besides, as SQL Server 2012 has stopped connecting to SQL Server 2000 via linked servers, personally I recommend you upgrade SQL Server 2000 to a higher version to make your queries or ETLs efficient.
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support
Similar Messages
-
Hola a todos por favor necesito urgente ayuda.....
Necesito crear un link server en SQL 2012 para que se conecte SQL 2000 plissssssKevin, gracias por responder... por lo que pude investigar en algunos foros dicen que se puede pero debo instalar un Cliente 10.0 y despues crear un ODBC
y traves de este script crear el Link server
-- Re-create LinkedServer [NorthWind2000] by using the ODBC connection:
EXEC master.dbo.sp_addlinkedserver @server = N'NorthWind2000', @srvproduct=N'', @provider=N'MSDASQL', @provstr=N'DRIVER={SQL Server};SERVER=NorthWind;Trusted_Connection=yes;'
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'NorthWind2000',@useself=N'True',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL
GO
despues del script crea el link pero al realizar un test de conexion me da el error de abajo
TITLE: Microsoft SQL Server Management Studio
The linked server has been updated but failed a connection test. Do you want to edit the linked server properties?
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
The OLE DB provider "ODBCSQL10" has not been registered. (Microsoft SQL Server, Error: 7403) -
Hi Gurus,
I have this problem in my MS SQL Server 2012 that is running in SQL Server 2008 R2 Enterprise 64 bit.. Not sure why... Here is the full details of the error:
Microsoft OLE DB Provider for ODBC Drivers 80040E14
[Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.
/Libraries/DBA/DBA.asa, line 717
Line 717 is this:
rs.open destTableName,,,,adCmdTable
Full details of the code:
'Field object used to iterate through each field of the rs
dim rs, fld
'call dbInitRS(rs)
set rs = server.createobject("adodb.recordset")
'On Error Resume Next
'Open rs
set rs.activeConnection = myConnection
rs.cursorType = adOpenKeyset
rs.lockType = adLockOptimistic
'rs.open destTableName
rs.open destTableName,,,,adCmdTable
'if err.number <> 0 then
' goto HandleError
'end if
rs.addNew
Any ideas how to solve this problem?
ThanksStill does not work. I have allow MSDSTC in my firewall list.
Hi dudskie,
Have you try to use DTCTester or DTCPing to verify MSDTC functionality over the network? Please refer to the following article:
Troubleshooting Problems with MSDTC:
http://msdn.microsoft.com/en-us/library/aa561924.aspx
Use the DTCTester utility to verify transaction support between two computers if SQL Server is installed on one of the computers. The DTCTester utility uses ODBC to verify transaction support against a SQL Server database. For more information about
DTCTester see How to Use DTCTester Tool.
Use DTCPing to verify transaction support between two computers if SQL Server is not installed on either computer. The DTCPing tool must be run on both the client and server computer and is a good alternative to the DTCTester utility when SQL Server
is not installed on either computer. For more information about DTCPing, see
How to troubleshoot MS DTC firewall issues.
If you have any feedback on our support, please click
here.
Hope this helps.
Regards,
Elvis Long
TechNet Community Support -
I have a workstation with following configurations:
Display adapter NVIDIA Quadra K4000
OS: Windows Server 2012 Standard (64 bit)
Hyper-V virtual GPU: NVIDIA K4000
Hyper-V VM 1: Windows 8 Enterprise 32 bit
Hyper-V VM 2: Windows 8.1 Enterprise 64 bit
Both the 2 VMs above has the RemoteFX video adapter added and are supposed to have RemoteFX display working.
However it only works in the VM 1 (Windows 8). In the VM 2 (Windows 8.1) the display adapter (Microsoft RemoteFX Graphics Device - WDDM) is reported "Windows has stopped this device because it has reported problems (Code 43)"
Anyone ever experienced a similar issue?
Much appreciated :)
Hi leon,
I am currently standing by for an update from you and would like to know how things are going on your end. Should you have any questions or concerns with the
suggestions I provided, please don't hesitate to let me know.
Regards,
Kelvin hsu
TechNet Community Support -
Linked server "LK_SERVER_NAME" was unable to begin a distributed transactio
Hi,
I have two DBs namely MS SQL 2008 and ORACLE 11g. I need to transfer data from MS SQL to ORACLE using the linked server. I did the following,
I have a stored procedure in ORACLE as call_linked_oracle_procedure which needs to be called from the MS SQL server to transfer the data.
So the steps I did to achieve this is provided as a sample as follows,
/* Creating a sample table */
create table source_tab3
id numeric,
name varchar(MAX)
GO
/* Creating a insert trigger for the sample table which calls the oracle through the linked server*/
IF OBJECT_ID ('dbo.source_tab3Trigger','TR') IS NOT NULL
DROP TRIGGER dbo.source_tab3Trigger;
GO
CREATE TRIGGER source_tab3Trigger ON source_tab3
AFTER INSERT
AS
DECLARE @output varchar(600)
EXEC [dbo].[call_linked_oracle_procedure] @parameter1 =N'value1', @parameter2 =N'value2'
select @output
GO
/* Insert a sample data */
insert into source_tab3 (id,name) (1,'vijai');
GO
Now when I insert the data, It give the following error
OLE DB provider "OraOLEDB.Oracle" for linked server "LK_SERVER_NAME" returned message "New transaction cannot enlist in the specified transaction coordinator. ".
Msg 7391, Level 16, State 2, Procedure source_tab3Trigger, Line 11
The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "LK_ORACLE" was unable to begin a distributed transaction.
The things I did to solve this were,
1. Enabled the MSDTC services (Distributed Transaction Coordinator is started ).
2. Enabled the Network DTC access from the control panel, component services to 'Allow InBound' etc.
3. My 'OracleMTSRecoveryService' is running in my services list.
Also, I have done all these where my machine where MS SQL 2008 is installed. Dono what needs to be done in the ORACLE server.
Also to note, that I am able to query the tables/procedure via linked server individually, but not able to do that within the triggers.
Any tip is much appreciated.
regards,
VijaiHi,
I made few changes in the SQL trigger code, and it seems to work. But not sure if its the right code. Any way I will leave my findings here, so others might get a tip for their tries,
If anyone know who my code is working, please leave a comment,
IF OBJECT_ID ('dbo.source_tab3Trigger','TR') IS NOT NULL
DROP TRIGGER dbo.source_tab3Trigger;
GO
CREATE TRIGGER source_tab3Trigger ON source_tab3
AFTER INSERT, UPDATE
AS
commit transaction;
set implicit_transactions on
DECLARE @output varchar(600)
DECLARE @p_1 varchar(600) = 'EASYLINK51_EBS_MECH'
DECLARE @p_2 varchar(600) = 'standard'
DECLARE @p_3 varchar(600) = 'EBS'
EXEC [dbo].[call_linked_sys_param] @p_1 =N'EASYLINK51_EBS_MECH', @p_2 =N'standard', @p_3 =N'EBS', @output = @output OUTPUT
select @output
set implicit_transactions off
begin transaction;
GO
regards,
Vijai -
When I check the box to add Mail, Contacts, etc to iCloud, it goes through the setup about half way and crashes on the contacts. Error message is:
"Apple Outlook DAV Config has stopped working" Any suggestions? I can't get this stuff set up! Thank youHello Washit,
Sorry to hear that you are getting the error message "Apple Outlook DAV Config has stopped working."
I recommend following the steps in the section titled "Troubleshooting iCloud Contacts update or setup issues with Microsoft Windows (Microsoft Outlook)" in the following article:
iCloud: Troubleshooting iCloud Contacts
http://support.apple.com/kb/ts3998
Thank you for using Apple Support Communities.
Best,
Sheila M. -
I am experiancing this unbelieveably annoying and constant Flash error; Adobe Flash Player 11.4 r402 has stopped working.
But NOT running Trusteer Rapport, I never have, and it's not even installed on my computer. So what's causing this?There were a couple AntiVirus/AntiMalware products that keep coming up, but I haven't validated that in the lab and don't want to call anyone out publicly without reporting the issue to them first. If you could tell me what antivirus/antimalware products and versions you have installed, that would be helpful.
So, third party stuff aside, I'd like to know more about the crashes your seeing:
1.) Please provide links to the Firefox crash reports. If you have multiples, the first few would be great.
In Firefox, type about:crashes in the address bar
If the link starts with "bp...", it's already been submitted -- just right-click on it and copy the link, and paste it into the reply here.
If not, click it to submit it, and copy the subsequent link.
2.) In firefox, type about:support
Just copy and paste the output into the reply.
3.) In Firefox, type about:plugins
Please copy and paste the output into the reply
4.) Please provide the output of the DirectX Diagnostic Utility
Click Start > type "dxdiag" [enter]
Click Save All Information
Copy the output of the file into the reply, or use Adobe SendNow/DropBox/PasteBin to share the file.
5.) If you can provide an exact URL and step-by-step instructions on repeating the crash (if it's consistent), that would be really helpful. My goal is to build out a configuration that matches yours as closely as possible, reproduce the problem and then debug it.
If you're not comfortable sharing that diagnostic information publicly, send me a private message. Just click my name and use the options on the right.
Thanks! -
Got the error message ("Java(TM) Platform SE binary has stopped working")
Hello Gurus,
I installed java jdk1.6.0_24 in my laptop. After that i gave the command javac, i got the error message ("Java(TM) Platform SE binary has stopped working"). I willl highly appreciate any help on this.
The OS on my laptop is Windows Vista Home Premium 64 bit.
Thanks,
VishVish,
You may want to try one of the Java forums, as your question is specific to the JDK/JRE, and nothing to do with JDev/ADF. {forum:id=937} might be a good starting place.
John -
I've got a new iphone 5 and i dont know why im unable to complete purchase of Apps from itunes store,i keep getting error message saying contact itunes store support to complete this transaction...i would really appreciate if anyone would assist in any way
If you haven't already done so then you can contact iTunes support via this page and ask them why the message is appearing (these are user-to-user forums, we won't know) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
-
Device not detected
My iphone is not dedtedcted by the computer. I am having Windows 7.Windows has stopped this device because it has reported problems. (Code 43) Error code no 43 is shown. I tried to fix it by running fix it porg in Micro soft tech net. Still the problem has not been solvedFolling this article step by step: http://support.apple.com/kb/ht1923 is the last thing I can think of, or try to create another user account/try on another computer....
Sorry for the multiple posts -
Often when I do a search and then click on the link I am redirected to a fake or phishing website. How can I stop this? Thank you!
Usually you would get to a phishing site directly by mistyping, or from the search itself.
You can avoid a lot of phishing sites with the following:
'''Tools > Options > Security'''<br>
''Known attack sites can be blocked here, uses information reported to Firefox and to Google.''<br>
[x] Warn me when sites try to install add-ons<br>
[x] Block reported attack sites<br>
[x] Block reported web forgeries
Having a good '''hosts''' file on your system can protect your entire system cross-application and all browsers and all your Firefox profiles against a lot malware. The '''hosts''' file must coded for www.example.com, example.com, anything.example.com -- '''Adblock Plus''' is more generic and can do more with less coding. See links below.
'''More information:''' on extensions and keyword shortcuts
* [https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/ Adblock Plus :: Add-ons for Firefox]
* [http://adblockplus.org/en/filters#basic Writing Adblock Plus filters]
* [http://www.siteadvisor.com/ McAfee SiteAdvisor Software -- Website Safety Ratings and Secure Search]
* [https://addons.mozilla.org/en-US/firefox/addon/wot-safe-browsing-tool/ Web of Trust - Safe Browsing Tool :: Add-ons for Firefox]
* [http://winhelp2002.mvps.org/hosts.htm Blocking Unwanted Parasites with a Hosts File]
* [http://userstyles.org/styles/42848 Google - Highlight harmful site alert - Themes and Skins for www.google - userstyles.org]
* [http://kb.mozillazine.org/Problematic_extensions Problematic extensions - MozillaZine Knowledge Base] (McAfee Site Advisor is listed as problematic, read information)
* My notes on extensions -- http://dmcritchie.mvps.org/firefox/firefox.htm#ext_table
* [http://dmcritchie.mvps.org/firefox/kws.htm Firefox Keyword Shortcuts] (and bookmarklets)
Just so you don't miss important information about Adblock Plus, be aware that it does nothing by itself -- it needs filters. Be sure to install the "EasyList (US)" filter subscription.
In your google search settings (preferences), you can filter adult content, but that is not phishing
* http://www.google.com/preferences?complete=0&hl=en
Phishing protection comes from your browser using collected phishing data -- not from the Google search itself where you might see a warning.
* (Google Chrome) http://www.google.com/support/chrome/bin/answer.py?answer=99020
* (Firefox) already covered what you need to set in security options
more
http://googleblog.blogspot.com/2011/06/ensuring-your-information-is-safe.html
''corrected to read Tools > Options > Security'' -
Good afternoon. I want to buy the program in the app store and will generate an error please contact the itunes support to complet the this transaction
Previously everything was OKYou're going to have to contact iTunes support, as directed, to fix this issue.
-
ISSUE Sharepoint 2013 databases for reporting services on the second server SQL 2012
Hello,
I have server A: Operating system windows 2012 standard, SQL server 2012 standard
instance: Sharepoint contains data for sharepint
instance: Reporting should be contain databases for reporting
Server B:
Windows server 2012 standard contains installation Sharepoint 2013
Sharepoint works (without reporting services), it is OK - databases are located on server A:
My issue is:
When I have installed reporting services on server B, I have already installed SQL server 2012 on server B, it works.
I am able to create report in report builder adn place it in to sharepoint.
But I would like to use only one full SQL machine on server A:
When I reconfigure repoting settings on server A in central administration - manage service aplications,
On the SQL server A in instance reporting , there is automatically created databases. It is no problem.
But the first difference is, when I want to manage service aplication for reporting in
Provision Subscriptions and Alerts, there is information
SQL Server Agent state cannot be determined
When I want to create report in report builder, I have issue:
server A-7380mw016\reporting it means server A with full SQL server:
The Test of connection was successful
Then I have clicked test connection
I have recieved this screen with fail: Logon faild for user NT Authority\anonymous logon
My account belongs to SQL admin on server A (A-7380mw016\reporting) I do not know it is not possible to create report, when it is possible to test connection in the first step and in the second step, there is problem...
Please, can somebody help me?Hi,
Since you are getting an Anonymous Logon error, it appears there may be a problem passing your credentials to the SQL Server Agent Service. This would indicate a Kerberos issue. See this thread for details:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/46b7c773-6a77-435d-b471-cb9a6ec41c43/has-anyone-else-upgraded-reporting-services-to-denali-2012
Microsoft Virtual Academy: Breakthrough Insights using SQL Server 2012 : Analysis Services and Credible, Consistent data (Module 2) - Configuring and Securing Complex BI Applications in a SharePoint 2010 Environment with Microsoft SQL Server 2012
http://technet.microsoft.com/en-us/video/Video/hh858469
Tips from the video:
We are connecting to Reporting services using Kerberos when using Reporting Services in SharePoint integrated mode
For the account using reporting services, we just need a dummy SPN. We go to Attribute editor tab in AD for RS account. And then we will be enabled with Delegation tab.
In Delegation tab. I we are using claims to windows token, we need to use "Trust this user for delegation to specified services only"
There you have 2 options: "Use Kerberos only": It means I only want to delegate in the situation where the service that is doing the delegation actually has the Kerberos ticket to start with
"Use any authentication protocol" When we need protocol transition (like from NTLM to claims for intra farm communication)
We need to delegate this to SQL server.
Please check out these articles as well:
How to configure SQL Reporting Services in SharePoint Server for Kerberos authentication
http://support.microsoft.com/kb/2723587
Configure Kerberos authentication (Office SharePoint Server)
http://blogs.technet.com/b/mbiswas/archive/2009/07/10/configure-kerberos-authentication-office-sharepoint-server.aspx
Thanks.
Tracy Cai
TechNet Community Support -
Hi,
We are getting below error wile run open query to execute the procedure.
example:-
SELECT * FROM openquery ([PSNSQLN04],'SET FMTONLY OFF;exec [PSNSQLN04]. AltDataHub.dbo
.Report_Attendance_FullTimer_YUM 107,264593,1909,''2015-02-24'',''2015-02-24''')
error:-
Msg 7357, Level 16, State 1, Line 4
Cannot process the object "SET FMTONLY OFF;exec [PSNSQLN04]. AltDataHub.dbo
.Report_Attendance_FullTimer_YUM 107,264593,1909,'2015-02-24','2015-02-24'". The OLE DB provider
"SQLNCLI10" for linked server "PSNSQLN04" indicates that either the object has no columns or the current user
does not have permissions on that object.
SQL detail:-
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64)
Apr 22 2011 19:23:43
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
I had tried with re-install MSDTC services and Local DTC Properties , security changes but getting the still same error.
Please help if some can help.
Thanks
SubhashHi Subhash,
According to your description, you fail to use OpenQuery function to execute the procedure, and permission is not the cause. Based on my research, the issue could be due to that your procedure Report_Attendance_FullTimer_YUM is used to update,
delete or insert records and the OpenQuery requires a result set to be returned, but UPDATE, delete and INSERT statements that are used with OpenQuery do not return a result set.
You could work around this issue in the following ways:
1. Change the code to the following: execute ('exec AltDataHub.dbo.Report_Attendance_FullTimer_YUM 107,264593,1909,''2015-02-24'',''2015-02-24''') AT PSNSQLN04;
2. Instead of using the procedure Report_Attendance_FullTimer_YUM, you could reference the OpenQuery function as the target table of an INSERT, delete, or UPDATE and use 'update openquery', 'insert openquery', or delete openquery to achieve your goal. For
more information about the process, please refer to the article:
https://msdn.microsoft.com/en-us/library/ms188427.aspx?f=255&MSPPError=-2147217396
Regards,
Michelle Li
Lydia Zhang
TechNet Community Support -
I have done and read all possible blogs but there is no solution on below error -Please let me know if someone has faced Similar issue :
Action required:
Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Feature failure reason:
An error occurred during the setup process of the feature.
Error details:
§ Error installing SQL Server Distributed Replay Controller
The RPC server is unavailable.
Error code: 0x84BB0001
Visit
http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xFB87BFDA%400x48149828&EvtType=0xFB87BFDA%400x48149828 to get help on troubleshooting.
Product Update:
Product Update has successfully applied KB 2674319 <http://support.microsoft.com/?id=2674319> and KB 2793634 <http://support.microsoft.com/kb/2793634>.
These updates have set the patch level of the Setup operation to 11.1.3128.0.
I have tried -Unistalling Reinstalling OS
SQL -2012 SP1 downloaded from MSDN -Fresh ISO Copy no go
THE RPC error will no go - Please suggest !!!
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Anand ShankarBelow is the error i get :- I have tried all steps above still no go
(01) 2014-04-15 16:05:02 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2014-04-15 16:05:02 Slp: ----------------------------------------
(01) 2014-04-15 16:05:02 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2014-04-15 16:05:02 Slp: Inner exceptions are being indented
(01) 2014-04-15 16:05:02 Slp:
(01) 2014-04-15 16:05:02 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2014-04-15 16:05:02 Slp: Message:
(01) 2014-04-15 16:05:02 Slp: The RPC server is unavailable.
(01) 2014-04-15 16:05:02 Slp:
(01) 2014-04-15 16:05:02 Slp: HResult : 0x84bb0001
(01) 2014-04-15 16:05:02 Slp: FacilityCode : 1211 (4bb)
(01) 2014-04-15 16:05:02 Slp: ErrorCode : 1 (0001)
(01) 2014-04-15 16:05:02 Slp: Data:
(01) 2014-04-15 16:05:02 Slp: WatsonData = Domain
(01) 2014-04-15 16:05:02 Slp: DisableRetry = true
(01) 2014-04-15 16:05:02 Slp: Inner exception type: System.Runtime.InteropServices.COMException
(01) 2014-04-15 16:05:02 Slp: Message:
(01) 2014-04-15 16:05:02 Slp: The RPC server is unavailable.
(01) 2014-04-15 16:05:02 Slp:
(01) 2014-04-15 16:05:02 Slp: HResult : 0x800706ba
(01) 2014-04-15 16:05:02 Slp: Stack:
(01) 2014-04-15 16:05:02 Slp: at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
(01) 2014-04-15 16:05:02 Slp: at Microsoft.SqlServer.Configuration.Sco.User.LookupADEntry()
Let me know if any further suggestion .
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Anand Shankar
Maybe you are looking for
-
How can i put a system.out.println into txt file
i want to generate a txt file instead of system.out.println. for the output How can i do that and what code can i use for that?? Edited by: crystalarun on Oct 14, 2007 11:40 AM
-
Photo Stream keeps turning itself off in Aperture?
Anyone having trouble in Lion with Aperture 3.22 where, almost every time I start Aperture, I find Photo Stream has been turned off again?
-
I am new to Labview, I am communicating with a TQ8800 Torque meter via RS-232. The 16 digit data stream is as follows: D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Each digit indicate the following status : D0 End Word D1 & D8 Display readin
-
Hello. I have a problem whith the sales quotation form, because the form changes to update mode when i go the last register (the document number is over 992) in find mode or with the browser buttons. Do you know why is happening this ?? Thanks. my SA
-
Very slow download speeds with ATT U-Verse
Hello, Experiencing very slow download speeds with Macbook Pro 2011, on Lion, and ATT UVerse Max, which should allow for an avg. 11-12 MBPS speed. Instead, I get a fluctuating 60-370 kbps speed. I am not experiencing this problem on my Windows machi