Basket.SaveAsOrder fails
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
Basket.SaveAsOrder fails

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





Posted: Thu Nov 04, 2004 4:15 pm    Post subject: Basket.SaveAsOrder fails Reply with quote

I'm moving a Commerce 2002 site from one machine to 2 new servers (Win2000
with SQL server and Win2003 as front-end).

SaveAsOrder fails with:
Microsoft OLE DB Provider for SQL Server error '80004005'
Could not connect to datasource

All other components calls is working correct. All calls is from ASP.

As I understand is SaveAsOrder the only component that uses MSDTC. It's is
running.

Any ideeas what to look for ? How to debug ?

Thanks
-Jørn
Back to top
Robert Bogue
Guest





Posted: Fri Nov 05, 2004 7:18 am    Post subject: Re: Basket.SaveAsOrder fails Reply with quote

There's a utlity DTCPING (available via searching the Ms site) which can
help verify DTC is working.

--
Robert Bogue
Microsoft MVP Server-Networking
MCSE(NT4), MCSE (W2K), MCSA:Security (W2K), CNA, A+, Network+, IT Project+,
Server+, Security+, CDIA+, E-Biz+
Crowe Chizek and Co LLC
"Heideman" <Heideman@discussions.microsoft.com> wrote in message
news:54270B6F-8E55-4143-BE64-0EA68728155C@microsoft.com...
Quote:
I'm moving a Commerce 2002 site from one machine to 2 new servers (Win2000
with SQL server and Win2003 as front-end).

SaveAsOrder fails with:
Microsoft OLE DB Provider for SQL Server error '80004005'
Could not connect to datasource

All other components calls is working correct. All calls is from ASP.

As I understand is SaveAsOrder the only component that uses MSDTC. It's is
running.

Any ideeas what to look for ? How to debug ?

Thanks
-Jørn
Back to top
Jørn Heideman
Guest





Posted: Fri Nov 05, 2004 3:00 pm    Post subject: Re: Basket.SaveAsOrder fails Reply with quote

Thanks - The DTCPING returned ok from the SQLserver but from the front-end
server it responded with:

++++++++++++Validating Remote Computer Name++++++++++++
Please refer to following log file for details:
c:\dtcping\SERV232464.log
Error(0x2AFC) at nameping.cpp @62
-->gethostbyaddr
-->183(Cannot create a file when that file already exists.)
Invoking RPC method on SERV24
Problem:fail to invoke remote RPC method
Error(0x6D9) at dtcping.cpp @289
-->RPC pinging exception
-->1753(There are no more endpoints available from the endpoint mapper.)
RPC test failed

I guess that it's a network security problem - what to do ?

-Jørn
Back to top
Robert Bogue
Guest





Posted: Fri Nov 05, 2004 5:26 pm    Post subject: Re: Basket.SaveAsOrder fails Reply with quote

The article that you got DTC ping from should talk about RPC port shifting,
and the other details that need to be worked out to make DTC work.
Basically, most firewalls need to know what ports to use, RPC uses a random
set of ports. The KB article will tell you how to lock those down so you
can tell the firewall that they're OK.

Rob

--
Robert Bogue
Microsoft MVP Server-Networking
MCSE(NT4), MCSE (W2K), MCSA:Security (W2K), CNA, A+, Network+, IT Project+,
Server+, Security+, CDIA+, E-Biz+
Crowe Chizek and Co LLC
"Jørn Heideman" <JrnHeideman@discussions.microsoft.com> wrote in message
news:A7A07184-D7A9-4DBC-8C23-DDA6F767B8A2@microsoft.com...
Quote:
Thanks - The DTCPING returned ok from the SQLserver but from the front-end
server it responded with:

++++++++++++Validating Remote Computer Name++++++++++++
Please refer to following log file for details:
c:\dtcping\SERV232464.log
Error(0x2AFC) at nameping.cpp @62
-->gethostbyaddr
-->183(Cannot create a file when that file already exists.)
Invoking RPC method on SERV24
Problem:fail to invoke remote RPC method
Error(0x6D9) at dtcping.cpp @289
-->RPC pinging exception
-->1753(There are no more endpoints available from the endpoint mapper.)
RPC test failed

I guess that it's a network security problem - what to do ?

-Jørn
Back to top
Jørn Heideman
Guest





Posted: Fri Nov 05, 2004 7:40 pm    Post subject: Re: Basket.SaveAsOrder fails Reply with quote

I tryed the DTCPING util - after solwing som DNS issues, the test succeced.
So I guess that the WINDTC is working correct.

I don't understand the error - SaveAsOrder is called after both
Basket.Initialize
and Basket.LoadBasket(). If I change to SaveAsBasket it's world fine.

Any more ideas?
-Jørn
Back to top
Robert Bogue
Guest





Posted: Sat Nov 06, 2004 8:14 am    Post subject: Re: Basket.SaveAsOrder fails Reply with quote

Sorry, I don't undestand. I'd say 90% of the problems with SaveAsOrder are
resolved with fixing DTC. If you're on Windows 2003 you have to make sure
Network DTC is enabled in Add/Remove programs but that's the only other
thing I can think of.

--
Robert Bogue
Microsoft MVP Server-Networking
MCSE(NT4), MCSE (W2K), MCSA:Security (W2K), CNA, A+, Network+, IT Project+,
Server+, Security+, CDIA+, E-Biz+
Crowe Chizek and Co LLC
"Jørn Heideman" <JrnHeideman@discussions.microsoft.com> wrote in message
news:CBA4C3D1-A473-4C28-991A-47CF1E2AAA61@microsoft.com...
Quote:
I tryed the DTCPING util - after solwing som DNS issues, the test
succeced.
So I guess that the WINDTC is working correct.

I don't understand the error - SaveAsOrder is called after both
Basket.Initialize
and Basket.LoadBasket(). If I change to SaveAsBasket it's world fine.

Any more ideas?
-Jørn
Back to top
Jørn Heideman
Guest





Posted: Sat Nov 06, 2004 4:23 pm    Post subject: Re: Basket.SaveAsOrder fails Reply with quote

Hi Robert

You are the best !! It was enabling the Network DTC.

Come to Denmark and I will buy you a beer :-)

Best Regards
-Jørn
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