- Windows Vista
- A Windows operating system that has had a Microsoft .NET Framework 2.0 hotfix later than build 2.0.50727.832 installed
For example, this issue occurs if the following conditions are true:
- You install the SSIS development tools on a Windows Vista-based computer. Alternatively, you install the SSIS development tools on a computer that is running a Windows operating system that has had a .NET Framework hotfix later than build 2.0.50727.832 installed.
- You use SQL Server Business Intelligence Development Studio to create or edit an SSIS package.
- In the SSIS package, you try to create or edit a script task or a script component.
- You try to run the package on the computer or any other computer that has a similar configuration.
When this problem occurs, you may experience the following symptoms:
- When you try to execute an existing SSIS package that contains a script task, the execution may fail, and you receive the following error message:Script files failed to load
- When you try to execute an existing SSIS package that contains a script component, the execution may fail with a "NullReferenceException" error message.
- When you create a new script or edit an existing script after you have closed the Microsoft Visual Studio for Applications (VSA) scripting environment, you may receive the following error message:The task/component is configured to precompile the script, but binary code is not found
- In a script task or in a script component, you set a breakpoint in the code. When you debug the script task or the script component, you may receive the following error message:Note To resolve this problem, install the hotfix that is described in the following Microsoft Knowledge Base article if the version of the .NET Framework 2.0 is earlier than build 2.0.50727.832.The script files failed to load
Warning: 0x8001902
An exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.VisualBasic.Vsa.dll but was not handled in user code
Additional information: Retrieving the COM class factory for component with CLSID {A138CF39-2CAE-42C2-ADB3-022658D79F2F} failed due to the following error: 80040154.928208 FIX: Custom applications that use the Visual Studio for Applications Visual Basic Runtime may be unable to compile macros or to run macros