Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Problem with SQL adapter
- This topic has 3 replies, 1 voice, and was last updated 9 years, 2 months ago by
community-content.
-
AuthorPosts
-
-
March 14, 2008 at 6:24 AM #19070
I’m
experiencing problems with the BizTalk SQL adapter. I’m trying to
create the corresponding XML schemes to execute a stored procedure,
which returns some data from a Microsoft SQL database by using the SQL
Transport Scheme Generation Wizard.When specifying which stored
procedure to use, and clicking Next, I get this error message: “Failed
to execute sql statement. Please ensure that the supplied syntax is
correct. New transaction cannot enlist in the specified transaction
coordinator.”.The DB connection succeeds, so that’s not the problem.
The stored procedure looks like this:
CREATE PROCEDURE [dbo].[sp_GetBizTalkMapping]
AS
SELECT [Map]
FROM [dbo].[Mapping]
FOR XML AUTO, ELEMENTS, XMLDATA;I’ve tried removing the last line and I’ve tried using all combinations of these three parameters.
The table structure looks like this:
Method char(100), Primay Key
Map char(100)
I’ve found this article describing the same error message, but it doesn’t seem to be the same issue:
http://support.microsoft.com/kb/917847
The user logged in is dbo and I’m not using any of the specified datatypes.Does anyone have a clue to what I’m doing wrong?
Btw. I’m using BizTalk 2006 R2
-
March 18, 2008 at 6:42 AM #19082
Did you also try FOR XML AUTO, XMLDATA; ?
-
March 19, 2008 at 12:31 AM #19088
Yes, but I’ve solved the problem now.
I got the answer in this thread on a Microsoft forum: http://forums.microsoft.com/forums/ShowPost.aspx?PostID=3005084&SiteID=17
It seems that I need to configure the DTC settings. DTC is not enabled on the SQL server and outgoing DTC requests was not enabled on the BizTalk server. I ended up configuring the database on the local BizTalk SQL server to avoid these problems.
-
April 23, 2008 at 6:58 AM #19441
Hello Soren,
just to give some feedback: I’ve had exactly the same problem and by posting the link you provided the solution ! Now many things concerning other computers work.
Thank you very much !
Regards, Michael
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.