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 (875540)



The information in this article applies to:

  • Microsoft BizTalk Server 2004 Enterprise Edition, when used with:
    • Microsoft .NET Framework 1.1
  • Microsoft BizTalk Server 2004 Developer Edition, when used with:
    • Microsoft .NET Framework 1.1
  • Microsoft BizTalk Server 2004 Standard Edition, when used with:
    • Microsoft .NET Framework 1.1
  • Microsoft BizTalk Server 2004 Partner Edition, when used with:
    • Microsoft .NET Framework 1.1

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).

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).

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:
DownloadDownload the English package now.

DownloadDownload the Spanish package now.

DownloadDownload the German package now.

DownloadDownload the Korean package now.

DownloadDownload the Italian package now.

DownloadDownload the Chinese (Simplified) package now.

DownloadDownload the Chinese (Traditional) package now.

DownloadDownload the French package now.

DownloadDownload the Japanese 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.

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.

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


Modification Type:MajorLast Reviewed:5/15/2006
Keywords:kbBizTalk2004sp1fix kbBizTalk2004preSP1fix kbbug kbfix kbQFE kbNetFrame110preSP1fix kbinfo kbHotfixServer KB875540 kbAudDeveloper kbAudITPRO