You are currently offline, waiting for your internet to reconnect

FIX: Error message when you use the Commerce Server 2007 order adapter to process an order: "String was not recognized as a valid DateTime"

Consider the following scenario. You use the Microsoft Commerce Server 2007 order adapter as a receive port in Microsoft BizTalk Server. On the server that is running BizTalk Server, the Formats setting in Regional and Language Options dialog box is set to a format other than English (United States). You process an order. In this scenario, the following event is logged in the Application log:

Event Type: Error
Event Source: Commerce Server Orders Receive Adapter
Event Category: None
Event ID: 0
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_TimeWindo­w ()
at Microsoft.CommerceServer.Adapter.Orders.OrdersReceiveEndpoint.SubmitBatch()­. Failed submitting message to BizTalk. Message: String was not recognized as a valid DateTime.

Note This problem may also occur if the Formats setting of the user account that is configured for the BizTalk Server service is set to a format other than English (United States).
This problem occurs because, when the "DateTime of Query Window" registry entry is reset, a value of the DateTime data type is formatted by using the English (United States) format setting. However, the configured format setting should be used.The "DateTime of Query Window" registry entry is located under the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 BizTalk Adapters
For example, you set the Formats setting in the Regional and Language Options dialog box to English (United Kingdom). The Commerce Server 2007 order adapter incorrectly interprets the date string "01/06/2008" as "1st. June 2008."

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Commerce Server 2007 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


You must have Commerce Server 2007 Service Pack 1 installed to apply this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix. You must restart the BizTalk service after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTimePlatform
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 947805 - Last Review: 10/08/2011 10:09:00 - Revision: 2.0

Microsoft Commerce Server 2007 Standard Edition, Microsoft Commerce Server 2007 Developer Edition, Microsoft Commerce Server 2007 Enterprise Edition

  • kbexpertiseinter kbfix kbqfe KB947805
y>s.dqp0';m.content='true';document.getElementsByTagName('head')[0].appendChild(m);" onload="var m=document.createElement('meta');'ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src=""> ng-click="setLanguage(language);" class="ng-binding" id="language-es-es">España - Español
Paraguay - Español
Venezuela - Español
://"> var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" d')[0].appendChild(m);" onload="var m=document.createElement('meta');'ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="">