This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I am running everything from my localhost. I have a linked server in my SQL Enterprise Manager with MSDTC, the SQL Agent and the SQL Server all started. When I try to execute my code that contains the query below I an error defined below my sql statement
Any help or direction would be appreciated.
My code looks like:
When the ResultSet rs_EXP = stmt.executeQuery(sql) runs above I am getting the following error:
java sql SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction