SSIS 包不是 运行 用于生产,而是用于我的本地
SSIS package not running on production but working on my local
我正在尝试 运行 生产服务器上的 ssis 包,但它显示以下错误。请注意,当我 运行 在本地安装 ssis 包并尝试执行相同的文件时,它会起作用。
Executed as user: ABC\XYZ. Microsoft (R) SQL Server Execute Package Utility Version 12.0.5000.0 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 4:11:55 AM Error: 2017-05-30 04:11:56.17 Code: 0x00000003 Source: Script Task Script Task Description: There was an exception while loading Script Task from XML: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Microsoft.SqlServer.IntegrationServices.VSTA.VstaHelper.b__1a() at Microsoft.SqlServer.IntegrationServices.VSTA.MtaExecution.Run(Action action) at Microsoft.SqlServer.IntegrationServices.VSTA.VstaHelper.CleanUp() at Microsoft.SqlServer.VSTAHosting.VSTAScriptingEngine.DisposeVstaHelper() at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.MigrateVSTADenaliScriptProject(XmlElement elemProj, IDTSInfoEvents events) at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.LoadFromXML(XmlElement elemProj, IDTSInfoEvents events) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. End Error Error: 2017-05-30 04:11:56.25 Code: 0x00000003 Source: Script Task Description: The Script Task is corrupted. End Error Error: 2017-05-30 04:11:56.25 Code: 0xC0024107 Source: Script Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:11:55 AM Finished: 4:11:56 AM Elapsed: 0.39 seconds. The package execution failed. The step failed.
我正在尝试导入 2 个文件,一个是 .csv
文件,另一个是 .xls
扩展文件。导入文件后,我正在更改名称,然后将文件移动到不同的文件夹。
您的 dll 有问题。
在您的生产服务器上将此程序集 "Microsoft.VisualStudio.Tools.Applications.Core"、Version=10.0.0.0 添加到 GAC。
完整信息在这里:https://msdn.microsoft.com/ru-ru/library/ex0ss12c(v=vs.110).aspx
P.S。也许你需要重写 dll,然后使用 key /if
系统找不到指定的文件”是问题所在。如果它在 BIDS 中运行,这意味着您可以使用您的凭据从您的盒子导航到该文件路径。此错误意味着您无法导航到它使用代理凭据从您的 SSIS 框中。
我正在尝试 运行 生产服务器上的 ssis 包,但它显示以下错误。请注意,当我 运行 在本地安装 ssis 包并尝试执行相同的文件时,它会起作用。
Executed as user: ABC\XYZ. Microsoft (R) SQL Server Execute Package Utility Version 12.0.5000.0 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 4:11:55 AM Error: 2017-05-30 04:11:56.17 Code: 0x00000003 Source: Script Task Script Task Description: There was an exception while loading Script Task from XML: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Tools.Applications.Core, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Microsoft.SqlServer.IntegrationServices.VSTA.VstaHelper.b__1a() at Microsoft.SqlServer.IntegrationServices.VSTA.MtaExecution.Run(Action action) at Microsoft.SqlServer.IntegrationServices.VSTA.VstaHelper.CleanUp() at Microsoft.SqlServer.VSTAHosting.VSTAScriptingEngine.DisposeVstaHelper() at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.MigrateVSTADenaliScriptProject(XmlElement elemProj, IDTSInfoEvents events) at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.LoadFromXML(XmlElement elemProj, IDTSInfoEvents events) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. End Error Error: 2017-05-30 04:11:56.25 Code: 0x00000003 Source: Script Task Description: The Script Task is corrupted. End Error Error: 2017-05-30 04:11:56.25 Code: 0xC0024107 Source: Script Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 4:11:55 AM Finished: 4:11:56 AM Elapsed: 0.39 seconds. The package execution failed. The step failed.
我正在尝试导入 2 个文件,一个是 .csv
文件,另一个是 .xls
扩展文件。导入文件后,我正在更改名称,然后将文件移动到不同的文件夹。
您的 dll 有问题。 在您的生产服务器上将此程序集 "Microsoft.VisualStudio.Tools.Applications.Core"、Version=10.0.0.0 添加到 GAC。
完整信息在这里:https://msdn.microsoft.com/ru-ru/library/ex0ss12c(v=vs.110).aspx
P.S。也许你需要重写 dll,然后使用 key /if
系统找不到指定的文件”是问题所在。如果它在 BIDS 中运行,这意味着您可以使用您的凭据从您的盒子导航到该文件路径。此错误意味着您无法导航到它使用代理凭据从您的 SSIS 框中。