我们有一个 SSIS 包,用于从 SharePoint 下载一些 Excel 文件并将其加载到本地 SQL 数据库。包将从 Sharepoint 获取状态字段中具有 Pending 值的文件,处理文件并将状态更新为 Completed 回共享点。
这曾经在 On-Prem 中完美运行,最近我们将其迁移到 Azure,并将部署方法从文件系统更改为 SSIS 目录。现在,当我们尝试在目录中部署包时,我们收到以下错误:
Error:
1. Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
2. CS0234 - The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?), ScriptMain.cs, 16, 17
3. CS0234 - The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?), ScriptMain.cs, 17, 22
4. CS0305 - Using the generic type 'System.Collections.Generic.List<T>' requires 1 type arguments, ScriptMain.cs, 215, 35
5. CS0246 - The type or namespace name 'ClientContext' could not be found (are you missing a using directive or an assembly reference?), ScriptMain.cs, 215, 48
6. The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully
任何帮助深表感谢。提前致谢