Groups | Blog | Home
all groups > sql server connect > february 2006 >

sql server connect : Network transactions not allowed


Jan Eliasen
2/15/2006 3:44:51 PM
Hi

I am trying to use the SQL Adapter in BizTalk 2004 against a SQL
Server 2005. When trying to fire a stored procedure, I get the error
you can see in http://www.eliasen.dk/biztalk/SQLSERVER2005ERROR.jpg

Can anyone tell me what the cause of this can be? I have been to
"Add/Remove windows components" and installed the "Enable Network DTC
Access" or whatever it is called...

Thanks in advance

--
Eliasen Jr. representing himself and not the company he works for.

Jan Eliasen
2/16/2006 12:00:00 AM
On Thu, 16 Feb 2006 02:11:10 GMT, petery@online.microsoft.com (Peter
[quoted text, click to view]

The registry keys you mentioned weren't set to 1, so now they are.
Also, I have turned off RpcSecurity, as you suggested.

This has just lead to another problem, though. Ig got me a bit
further, but now I get this error instead:
http://www.eliasen.dk/biztalk/newdtcerror.jpg

[quoted text, click to view]

I have downloaded and tried the dtctester tool, and here is the
result: http://www.eliasen.dk/biztalk/dtc_error.jpg

[quoted text, click to view]
The computer with SQL Server 2005 is running in domain A, and the
computer I am trying to connect to the SQL Server 2005 from is in
workgroup mode. Does this change anything?

--
Eliasen Jr. representing himself and not the company he works for.

petery NO[at]SPAM online.microsoft.com
2/16/2006 2:11:10 AM
Hello Jan,

This issue can occur if the following registry key values on the SQL 2005
servers are not set to 1:

HKey_Local_Machine\Software\Microsoft\MSDTC\Security\NetworkDTCAccess
NetworkDTCAccessAdmin
NetworkDTCAccessTransactions

I suggest that you check this and restart DTC service on both servers to
test. Moreover, please add the TurnOffRpcSecurity registry by referring to
the following article to isolate the issue:

839187 You receive an "A Microsoft Distributed Transaction Coordinator
problem
http://support.microsoft.com/?id=839187

Also, I have included the following articles for your reference:

293799 How To Use DTCTester Tool
http://support.microsoft.com/?id=293799

I suggest that you test on different SQL 2005/2000 servers if possible to
make sure this issue is related to this specific server.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
Jan Eliasen
2/17/2006 12:00:00 AM
On Fri, 17 Feb 2006 03:52:13 GMT, petery@online.microsoft.com (Peter
[quoted text, click to view]
This article mentions adding an TurnOffRpcSecurity key that I should
add to the registry. But isn't that the same as the one you suggested
in your first answer to me? Which I have tried without success?

--
Eliasen Jr. representing himself and not the company he works for.

petery NO[at]SPAM online.microsoft.com
2/17/2006 3:52:13 AM
Hello Jan,

Since a machine is in workgroup, you need to set authentication to "None"
in addition to TurnOffRpcSecurity settings

"No Authentication Required" means that the MSDTC communication on the
network can use non-authenticated and non-encrypted communication, if the
attempts fail to start secure communication

http://blogs.msdn.com/florinlazar/archive/2004/03/02/82916.aspx

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================

Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469

Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.

=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
Jan Eliasen
2/17/2006 3:35:47 PM
On Fri, 17 Feb 2006 12:54:36 +0100, Jan Eliasen
[quoted text, click to view]
Anyway, I have now added the developing machine from which I am trying
to establish a connection to our domain, and I get the same error.
Note, that the two mahchines are still in two different domains.

--
Eliasen Jr. representing himself and not the company he works for.

petery NO[at]SPAM online.microsoft.com
2/20/2006 12:00:00 AM
Hello Eliasen,

Usuaully TurnOffRpcSecurity key shall solve this problem. Please make sure
this registry key is configured on both machines

MSDTC fails to mutually authenticate when computers do not run in the same
domain
<http://support.microsoft.com/?id=827805>

Please use DTC ping instead mentioned in the following KB to make sure and
TurnOffRpcSecurity is set to True on both machines.
How to troubleshoot MS DTC firewall issues
<http://support.microsoft.com/?id=306843>

Also, did you conifgure "default auentication level" to "none" by running
dcomcnfg?


In addition, please make sure the following registry keys are correct
AllowOnlySecureRpcCalls = 0
FallbackToUnsecureRPCIfNecessary = 0

More related information:

New DTC Functionality in Windows Server 2003 Service Pack 1
http://msdn.microsoft.com/library/en-us/cossdk/html/2627a956-60b3-4d26-bc04-
e0676ec97786.asp?frame=true

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================



This posting is provided "AS IS" with no warranties, and confers no rights.

Jan Eliasen
2/22/2006 12:00:00 AM
On Mon, 20 Feb 2006 07:38:12 GMT, petery@online.microsoft.com (Peter
[quoted text, click to view]
This one did the trick, apparently.

Thank you very much!

--
Eliasen Jr. representing himself and not the company he works for.

Private email: jan@eliasen.dk

petery NO[at]SPAM online.microsoft.com
2/22/2006 12:00:00 AM
Great to hear the issue is resolved. :-)

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


This posting is provided "AS IS" with no warranties, and confers no rights.

AddThis Social Bookmark Button