问题标签 [ezapi]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
222 浏览

ssis - 获取使用 EzAPI SSIS 传输的数据的行数

我正在使用带有 EzAPI 的 SSIS 将一些数据从一个表传输到另一个表。如何获取已传输的行数?

我的设置如下

我可以在哪里添加一些东西来获取行数?适用于所有版本的 SQL Server 2008r2 及更高版本

0 投票
2 回答
112 浏览

ssis - 使用 EzAPI 设置 DelayValidation 属性

我正在使用 EzAPI 构建一个 SSIS 包。

FlatFileSource -> DerivedColumn -> ODBC 目标。

但我找不到将延迟验证属性设置为 true 的位置。它不允许我在 EzPackage 或 EzDataFlow 对象中这样做。

0 投票
2 回答
283 浏览

c# - SSIS & EzAPI: Calling constructor of EzDerivedColumn results in HRESULT: 0xC0048021

I encountered an issue with SSIS & EzAPI. Here's the code

Error message:

Now, here's my setup: - I installed Microsoft SQL Server 2012 Client SDK and made sure all the v110 DLLs are installed in both Program Files and GAC (Yes, they all say 11.0.0.0) - I built EzAPI.dll by downloading latest source of EzAPI: https://sqlsrvintegrationsrv.codeplex.com/SourceControl/latest. I made sure all the DLL references in the project point to 11.0.0.0 and Specific Version = true - There are other versions of Microsoft.SqlServer.****.dll files in the GAC and program files, such as ones for v100 and v120. However these other-versioned DLLs are not used anywhere else in the program and they are not included in my program's bin folder. - .NET version is 4.5 when building EzAPI.dll and in my project

Anyhow, I am stumped. I found articles with this error on web but they usually talk about how the there's a mismatch of DLLs or some of the DLLs not being installed but I don't see how these scenarios apply to me. Am I misusing EzDerivedColumn somehow? Well, it's hard to know because my error message is very vague.

Any help on this would be great. Thanks!

0 投票
2 回答
237 浏览

c# - 使用 SQL 身份验证的 EzAPI OLEDB 连接

我正在尝试使用 EzAPI 2012 创建一个 SSIS 包。我找到的模板和教程工作正常,但我无法找到任何关于使用 SQL 身份验证(用户名和密码)创建与 OLEDB 的连接。这是我用来创建 OLEDB 连接的部分代码:

以“ CL ”开头的名字是变量。EzSqlOleDbCM 函数没有用户名和密码参数。

谢谢,

0 投票
1 回答
145 浏览

c# - SSIS 包 - 以编程方式配置格式版本

我开发了一个自定义应用程序,它能够根据存储在应用程序内部的一些设置自动生成 SSIS 包。

这个包曾经有 PackageFormatVersion (6),它与 ​​SQL Server (2012) 兼容。

最近,我将 EzApi 版本升级到最新版本(v0.8.9),导出的包现在已更改为 PackageFormatVersion(8),它与(来自)SQL Server(2014)兼容。

有没有办法在 C# 中以编程方式配置此 PackageFormatVersion 属性,并继续使用最新的 EzApi 为 SQL Server (2012) 导出包?

0 投票
1 回答
81 浏览

c# - 有没有办法为 IIS 提供 MVC 解决方案所依赖的 DLL 的位置?

我正在构建一个使用 EzAPI(版本 0.8.5)构建 SSIS 包的应用程序。在我将 MVC 应用程序(.NET 4.5)发布到 IIS 服务器(版本 10.0.14298)之前,代码在 Visual Studio 中运行完美,没有错误或错误。这是函数失败并且不保存包的时候。保存时抛出以下错误:

{“系统找不到指定的文件。(来自 HRESULT 的异常:0x80070002)”:null} 来源:Microsoft.SqlServer.ManagedDTS

我已确保已在 IIS 服务器上安装了 SSIS、集成服务,与我的本地实例 MSSQL2017 的版本完全相同,因此我需要的 DLL 都在同一个文件夹中。我部署到我的本地 IIS 实例并且也得到了同样的错误。

期望会生成包,然后我将能够在 C 驱动器中查看它,但是当它尝试构建/完成包时它看起来失败了

堆栈跟踪:

" 在 Microsoft.SqlServer.Dts.Runtime.Package.SaveToXML(字符串和 packageXml,IDTSEvents 事件)\r\n 在 Microsoft.SqlServer.SSIS.EzAPI.EzPackage.SaveToXML(IDTSEvents 事件)\r\n 在 Microsoft.SqlServer.SSIS .EzAPI.EzPackage.SaveToFile(String fileName)\r\n at method(ViewModel model) in Logic.cs:line 641"

0 投票
1 回答
65 浏览

c# - EzAPI - SSIS 设置 EzOleDbDestination 错误输出配置

我正在创建一个 C# 程序来生成一个 SSIS 包,有人知道如何将 EzOleDbDestination 对象的 ErrorOutput 属性设置为“重定向行”吗?

编辑 :

在此处输入图像描述

0 投票
0 回答
20 浏览

ezapi - EZapi 中的 InteropServices.COMException

我知道这个项目是“旧的”,但它可能完全适合我的需要。我有一个自动生成 SSIS 包的项目。它与 SQL 2008R2 到 SQL 2012 完美配合。现在转到 SQL 2016,EzApi 的这个分支是一个奇迹 :-)

但是,如果超过 95% 的代码都在使用这个 fork,我在 EzComponents 中的 AcquireConnections 方法上遇到错误

此错误并非总是如此,出于我不明白的原因,有时我会收到 InteropServices.COMException。

我不知道我可以提供哪些信息来帮助解决这个问题。

在随附的屏幕截图中,我提供了一些信息。这有帮助吗?

非常感谢您能帮助我或给我一些建议。

问候,

赫维玛

在此处输入图像描述 在此处输入图像描述 在此处输入图像描述