SaveAsOrder Method
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
SaveAsOrder Method

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Dovla
Guest





Posted: Fri Oct 21, 2005 12:50 pm    Post subject: SaveAsOrder Method Reply with quote

Hi,



We have problem with a connection to database when executing a SaveAsOrder
Method.



We installed Windows Server 2003 Standard + SP1 (firewall is not enabled)
and Commerce Server 2002 and now we cannot connect to Windows 2000 Server &
SQL 2000 using that method. Update MS05-051 was not installed.



There is no problem connecting to the same sever from machines that have
Windows Server 2000 and Comm.Ser 2000.



The error we get when connecting is Could not connect to datasource at
Microsoft.CommerceServer.Interop.Orders.OrderGroupClass.(Object&
vtOutTrackingNumber)



All machines are in the same subnet – no firewall-s between them.



We assumed that the problem could be DTC, so we installed a tool DTCTester
and Pingtest.bat.



Using Pingtest.bat we found out that those machines could connect to each
other.



When testing connection by DTCTester tool we get this output:

Executed: dtctester

DSN: test

User Name: sa

Password: sa

tablename= #dtc32628

Creating Temp Table for Testing: #dtc32628

Warning: No Columns in Result Set From Executing: 'create table #dtc32628
(ival

int)'

Initializing DTC

Beginning DTC Transaction

Enlisting Connection in Transaction

Error:

SQLSTATE=25S12,Native error=-2147168242,msg='[Microsoft][ODBC SQL Server
Driver]

Distributed transaction error'

Error:

SQLSTATE=24000,Native error=0,msg=[Microsoft][ODBC SQL Server Driver]Invalid
cur

sor state

Typical Errors in DTC Output When

a. Firewall Has Ports Closed

-OR-

b. Bad WINS/DNS entries

-OR-

c. Misconfigured network

-OR-

d. Misconfigured SQL Server machine that has multiple netcards.

Aborting DTC Transaction

Releasing DTC Interface Pointers

Successfully Released pTransaction Pointer.


So far we followed steps in the article
http://support.microsoft.com/?kbid=555017 (except Optional steps), but that
did not resolve the issue.


Thanks
Vlado
Back to top
Ravi Shankar
Guest





Posted: Fri Oct 21, 2005 4:51 pm    Post subject: RE: SaveAsOrder Method Reply with quote

Dovla,

The MSDTC configuration has been altered (Cannot enlist in a distributed
transaction)... Please go through the following support article

http://support.microsoft.com/default.aspx?scid=kb;en-us;899191


--
Ravi Shankar
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB