Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: You receive a "Specified cast is not valid" error message in BizTalk Server 2004 when you use a rule set in Rules Composer or you use a rule set in an orchestration


View products that this article applies to.

Symptoms

In Microsoft BizTalk Server 2004, if you use a rule set in the Rules Composer, or if you use a rule set with an orchestration, you may receive the following error message
System.InvalidCastException: Specified cast is not valid.
You may receive this error message after you install the Microsoft .NET Framework 1.1 Service Pack 1 (SP1).

↑ Back to the top


Cause

This problem occurs because a change in the .NET Framework 1.1 SP1 causes an error in the execution of certain rules.

Note The .NET Framework 1.1 SP1 is available from Microsoft Windows Update, is included on the Microsoft Windows XP Service Pack 2 (SP2) distribution CD as a separate installation, and is installed with Windows Server 2003 Service Pack 1 (SP1).

↑ Back to the top


Resolution

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2004. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
888751 How to obtain the latest BizTalk Server 2004 service pack

Hotfix information

File information

The language-specific 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 tool in Control Panel.
Chinese (Traditional)
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  20:47  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  20:47  3.0.5324.0   36,864  Microsoft.ruleengine.resources.dll  

Chinese (Simplified)
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  20:44  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  20:44  3.0.5324.0   36,864  Microsoft.ruleengine.resources.dll  

English
   Date         Time   Version     Size     File name
   -----------------------------------------------------------------
   03-Aug-2004  17:57  3.0.5324.0  708,608  Microsoft.ruleengine.dll  

French
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  18:33  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  18:33  3.0.5324.0   40,960  Microsoft.ruleengine.resources.dll  
 
German
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  18:31  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  18:31  3.0.5324.0   40,960  Microsoft.ruleengine.resources.dll  

Italian
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  18:37  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  18:37  3.0.5324.0   40,960  Microsoft.ruleengine.resources.dll  

Japanese
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  18:29  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  18:29  3.0.5324.0   45,056  Microsoft.ruleengine.resources.dll  

Korean
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  18:35  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  18:35  3.0.5324.0   40,960  Microsoft.ruleengine.resources.dll  

Spanish
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   03-Aug-2004  20:41  3.0.5324.0  708,608  Microsoft.ruleengine.dll  
   03-Aug-2004  20:44  3.0.5324.0   40,960  Microsoft.ruleengine.resources.dll  
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

The "Resolution" section states whether this hotfix is available as a hotfix or in the latest service pack. For comparison and testing purposes, this hotfix is available in language-specific versions. The following files are available for download from the Microsoft Download Center:
Download the English package now.

Download the Spanish package now.

Download the Chinese (Traditional) package now.

Download the French package now.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was corrected in BizTalk Server 2004 Service Pack 1.

↑ Back to the top


References

For additional information, 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

↑ Back to the top


Keywords: kbbiztalk2004presp1fix, kbbug, kbfix, kbqfe, kbnetframe110presp1fix, kbinfo, kbhotfixserver, kbbiztalk2004sp1fix, KB875540

↑ Back to the top

Article Info
Article ID : 875540
Revision : 9
Created on : 5/15/2006
Published on : 5/15/2006
Exists online : False
Views : 623