Article ID: 928323 - Last Review: November 20, 2007 - Revision: 1.2 FIX: A script task or a script component is executed multiple times in duplicate when you run packages that contain script tasks or script components in parallel in SSISBug #: 447320 (SQLBUDT) Bug #: 411552 (SQLBUDT) On This PageSYMPTOMS Consider the following scenario:
CAUSEThis problem occurs because of the duplicate project names of the script tasks or the script components in Microsoft Visual Studio for Applications. After you copy and paste the .dtsx file, the script tasks or the script components in these two packages have the same GUID for the ID property. When you execute the parent SSIS package, SSIS may incorrectly execute one of the script tasks or the script components multiple times in duplicate. However, you expect that SSIS executes each script task or script component independently. Note Visual Studio for Applications is used to design and compile the script tasks or the script components in SSIS. RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:913089
(http://support.microsoft.com/kb/913089/
)
How to obtain the latest service pack for SQL Server 2005
WORKAROUNDTo work around this problem, follow these steps:
If the PreCompile property for the package that contains the problematic script task or the problematic script component is set to True, the script tasks or the script components are precompiled. In this case, you must recompile the script tasks or the script components. To do this, open the script designer, and then close the script designer. You may have to redefine the precedent constraints for the pasted script task or the pasted script component. Similarly, to create a unique project name for the script tasks manually, click Design Script in the Script Transformation Editor dialog box, and then manually edit the Project Name property in Visual Studio for Applications. Note You cannot create a unique project name for script components in the data flow. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONSteps to reproduce the problem
REFERENCESFor more information, visit the following Microsoft Web sites: http://msdn2.microsoft.com/en-us/library/ms137565.aspx
(http://msdn2.microsoft.com/en-us/library/ms137565.aspx)
http://msdn2.microsoft.com/en-us/library/ms345176.aspx
(http://msdn2.microsoft.com/en-us/library/ms345176.aspx)
http://msdn2.microsoft.com/en-us/library/ms136118.aspx
(http://msdn2.microsoft.com/en-us/library/ms136118.aspx)
http://msdn2.microsoft.com/en-us/library/ms136127.aspx
(http://msdn2.microsoft.com/en-us/library/ms136127.aspx)
APPLIES TO
| Article Translations
|
Back to the top
