FIX: An exception occurs when you run a BizTalk Server 2009 application that uses VBScript inline script functions: Microsoft.XLANGs.Core.XTransformationFailureException

Applies to: BizTalk Server 2009 BranchBizTalk Server 2009 DeveloperBizTalk Server 2009 Enterprise


Consider the following scenario:
  • You run a Microsoft BizTalk Server 2009 application that uses the Microsoft .NET Framework 3.5 Service Pack 1 (SP1).
  • In the application, a BizTalk map transforms files that are processed by another process. For example, the BizTalk map transforms files that are processed by a SQL Server Integration Services (SSIS) job.
  • The BizTalk map contains many inline script functions that are created by using the Microsoft Visual Basic Scripting Edition (VBScript) language.
In this scenario, a Microsoft.XLANGs.Core.XTransformationFailureException exception may occur. And, you receive the following error message:
The process cannot access the file because it is being used by another process.


This problem occurs because the Visual Basic compiler (vbc.exe) tries to write to a temporary file while another process is holding a read lock on the file.


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 software update 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 website:
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.


 To apply this hotfix, you must meet one of the following requirements:
  • ou must have the .NET Framework 3.5 SP1 installed.
  • You run on Windows Vista Service Pack 2 (SP2) or Windows Server 2008 SP2. 

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any other 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.

For the x86 version of Windows Vista SP2 and of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Vbc.exe8.0.50727.56551,170,76025-Feb- 201111:50x86
Vbc.rspNot Applicable1,07003-Apr-200921:25Not Applicable
For the x64 version of Windows Vista SP2 and of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Vbc.exe8.0.50727.56551,802,05625-Feb- 201111:46x64
Vbc.rspNot Applicable1,07003-Apr-200920:58Not Applicable
For the IA-64 version of Windows Server 2008 SP2
File nameFile versionFile sizeDateTimePlatform
Vbc.exe8.0.50727.56552,997,57625-Feb- 201111:45IA-64
Vbc.rspNot Applicable1,07003-Apr-200921:17Not Applicable


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