|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Distributed Transactions with SQL Express, Server 2003, and XP SP2
Server 2003 machine. I added the Windows Server 2003 machine as a linked server on the Windows XP SP2 machine. I have checked and double checked that the DTC settings are correct on both machines and that the DTC is running on both machines, but I am unable to execute a distributed transaction. I have even tried playing around with many different combinations of settings to try to get this to work. I have followed the directions in many of the documents that can be found online on this issue, but without success. I am using SQL Server security and am able to execute queries if I do not begin a transaction. But I cannot execute them if I begin a transaction. When I execute them in a transaction, I get the following error: OLE DB provider "SQLNCLI" for linked server "linkedserver" returned message "No transaction is active.". Msg 7391, Level 16, State 2, Procedure proc_procedure_name, Line 420 The operation could not be performed because OLE DB provider "SQLNCLI" for linked server "linkedserver" was unable to begin a distributed transaction. Does anyone have any ideas? -- Corey Young Can MSDTC get through the XP Firewall?
-- Show quoteHide quoteThis posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Young, Corey" <YoungCo***@discussions.microsoft.com> wrote in message news:E2E6FDA4-D185-4625-9BEB-D4995254EE70@microsoft.com... >I have SQL Express installed on a Windows XP SP2 machine and on a Windows > Server 2003 machine. I added the Windows Server 2003 machine as a linked > server on the Windows XP SP2 machine. > > I have checked and double checked that the DTC settings are correct on > both > machines and that the DTC is running on both machines, but I am unable to > execute a distributed transaction. I have even tried playing around with > many > different combinations of settings to try to get this to work. I have > followed the directions in many of the documents that can be found online > on > this issue, but without success. > > I am using SQL Server security and am able to execute queries if I do not > begin a transaction. But I cannot execute them if I begin a transaction. > > When I execute them in a transaction, I get the following error: > > OLE DB provider "SQLNCLI" for linked server "linkedserver" returned > message > "No transaction is active.". > > Msg 7391, Level 16, State 2, Procedure proc_procedure_name, Line 420 > > The operation could not be performed because OLE DB provider "SQLNCLI" for > linked server "linkedserver" was unable to begin a distributed > transaction. > > Does anyone have any ideas? > > -- > Corey Young > I turned the firewall off on both machines.
-- Show quoteHide quoteCorey Young "Roger Wolter[MSFT]" wrote: > Can MSDTC get through the XP Firewall? > > -- > This posting is provided "AS IS" with no warranties, and confers no rights. > Use of included script samples are subject to the terms specified at > http://www.microsoft.com/info/cpyright.htm > > "Young, Corey" <YoungCo***@discussions.microsoft.com> wrote in message > news:E2E6FDA4-D185-4625-9BEB-D4995254EE70@microsoft.com... > >I have SQL Express installed on a Windows XP SP2 machine and on a Windows > > Server 2003 machine. I added the Windows Server 2003 machine as a linked > > server on the Windows XP SP2 machine. > > > > I have checked and double checked that the DTC settings are correct on > > both > > machines and that the DTC is running on both machines, but I am unable to > > execute a distributed transaction. I have even tried playing around with > > many > > different combinations of settings to try to get this to work. I have > > followed the directions in many of the documents that can be found online > > on > > this issue, but without success. > > > > I am using SQL Server security and am able to execute queries if I do not > > begin a transaction. But I cannot execute them if I begin a transaction. > > > > When I execute them in a transaction, I get the following error: > > > > OLE DB provider "SQLNCLI" for linked server "linkedserver" returned > > message > > "No transaction is active.". > > > > Msg 7391, Level 16, State 2, Procedure proc_procedure_name, Line 420 > > > > The operation could not be performed because OLE DB provider "SQLNCLI" for > > linked server "linkedserver" was unable to begin a distributed > > transaction. > > > > Does anyone have any ideas? > > > > -- > > Corey Young > > > > >
Other interesting topics
SQL2K Function Print
cpu up with SQL2005 - higher FullScans/sec, lwr IndexSearches/sec Error inserting into iSeries DB2 table with long name via SQL Server 2000 linked Server BLOBS in a sql server database - yes or no? Connection between two domains query to identify all fields in a table Generate SCRIPT Server: Msg 7399, Level 16, State 1, Line 3 Trying to create a maintenance plan CLR integration & clustering....question |
|||||||||||||||||||||||