Article ID: 970292 - View products that this article applies to.
In Microsoft BizTalk Server 2006 R2, you view a Batch Status report in the EDI Status Reports section on the Group Hub page of the BizTalk Server Administration console. However, when you do this, you receive an error that resembles the following:
This operation failed while accessing at least one of the Message Box databases. Some results might be omitted.
Specified cast is not valid. (Microsoft.BizTalk.Administration.StatusReports)
This problem usually occurs when the following conditions are true:
In BizTalk Server, Business Activity Monitoring (BAM) activities are created to track EDI messages for EDI status reporting. These activities are included as views in the BAMPrimaryImport database.
Note For more information about BAM activities, see the More Information section.
When the fields for these EDI BAM activities are populated, only the relevant fields for the event are populated. This occurs because the Interchange Batch Creation Settings setting is not set to Schedule when BizTalk Server populates the ScheduledReleaseTime field. To populate certain empty fields, BizTalk Server uses the SqlDateTime.MinValue, which has a value of 01/01/1753 00:00. Then, BizTalk Server converts this value to UTC time.
If the computer is set to a time zone that is ahead of in GMT, when the value is converted to UTC, it becomes a time earlier than 01/01/1753 00:00. However, this value is not accepted by Microsoft SQL Server and the EDI Batching report does not work as expected.
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
PrerequisitesYou must have Microsoft BizTalk Server 2006 R2 installed to apply this hotfix.
Restart requirementYou do not have to restart your computer after you apply this hotfix. However, you have to restart BizTalk Server service after you apply the hotfix.
Hotfix replacement informationThis hotfix does not replace a previously released hotfix.
File informationThe 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.
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.Note After you apply this hotfix, BizTalk populates null values for irrelevant datetime fields.
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to monitor EDI and AS2 solutions, visit the following Microsoft Web site:
For more information about how to configure EDIFACT interchange batch creation settings, visit the following Microsoft Web site:
For more information about how to create BAM activities to track EDI/AS2 messages, visit the following Microsoft Web site:
(http://technet.microsoft.com/en-us/library/dd745126.aspx)For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 970292 - Last Review: June 18, 2009 - Revision: 1.1
Contact us for more help
Connect with Answer Desk for expert help.