1

我需要从 SQL Server 上下文中执行 SFTP。我可以使用 MS 库进行 FTP,但它们不支持 SFTP。

所以我下载了 Rebex,并整理了一个示例项目,并尝试将它作为 CLR 存储过程安装到 SQL Server 中。

执行此操作时,SQL Server 会给出以下消息:

消息 6218,第 16 级,状态 2,第 3 行

为程序集“RebexTest”创建程序集失败,因为程序集“Rebex.Common”验证失败。检查引用的程序集是否是最新的并且受信任(对于 external_access 或不安全)以在数据库中执行。如果有任何 CLR 验证程序错误消息将跟随此消息

[ : Rebex.Security.Certificates.CertificateStore::Exists][mdToken=0x60003b0]
[offset 0x000000C7] 方法不可见。

有没有办法解决这个问题,以便我可以将它安装到 SQL Server 中?

4

1 回答 1

1

Unfortunately, Rebex components can only be used in CLR procedures with the PERMISSION_SET = UNSAFE option. See detailed explanation on the Rebex support forum.

于 2013-10-15T09:39:08.337 回答