Omer Dansky’s Blog

Just another WordPress.com weblog

Orders Receive Adapter – String was not recognized as a valid DateTime

When getting an error like this:

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

Event Type: Error
Event Source: Commerce Server Orders Receive Adapter
Event Category: None
Event ID: 0
Date:  19/11/2008
Time:  11:07:00
User:  N/A
Computer: SV-BIZ2
Description:
Failed submitting message to BizTalk.  Message: String was not recognized as a valid DateTime..  Stack trace:    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s, IFormatProvider provider)
   at Microsoft.CommerceServer.Adapter.Orders.OrdersReceiveEndpoint.get_TimeWindow()
   at Microsoft.CommerceServer.Adapter.Orders.OrdersReceiveEndpoint.SubmitBatch().

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

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

 

All you need to do – is

1. disable the receive location.

2. start->run->regedit->and go to:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Commerce Server 2007 BizTalk Adapters\Orders]

3. Delete the Key which associates with with the Orders Receive port (you can find it in the adapter properties: “Registy Subkey”

4. Start the port again.

 

Omer

November 19, 2008 Posted by | Biztalk | , | Leave a comment