sql-server - 无法将 SSIS 包部署到 Windows 10 Pro 上的 SQL Server 2016 Express

标签 sql-server ssis kerberos

我在将 Windows 10 家庭版计算机上开发的 SSIS 包部署到 Windows 10 专业版计算机上的 SQL Server 2016 Express 实例时遇到困难。

我的家庭网络设置中有两台计算机,一台是 Windows 10 家庭版计算机,我在其中进行 VB.NET 和 SSIS 包开发,另一台是 Windows 10 专业版计算机,我在其中运行 Microsoft SQL Server 2016 Express。

在运行包部署向导时,选择目标服务器名称后,我遇到了 Kerberos 错误“目标主体名称不正确。无法生成 SSPI 上下文”。

在运行 SQL Server 2016 Express 的 Windows 10 Pro 计算机上下载并运行 Kerberos 连接故障排除程序并收到错误

Unable to access User Principal information from the System

当尝试连接到该计算机上的本地 SQL 实例时。

在疑难解答程序的日志文件中,我获得了一些更具体的信息,但我的在线研究陷入了死胡同:

3/26/2017 6:55:50 PM Info: Connect to WMI, \root\cimv2
3/26/2017 6:55:52 PM Error: Access of User Principal information failed System.ArgumentException: The supplied context type does not match the server contacted. The server type is ApplicationDirectory.

at System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()
at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)
at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name)
at KerberosCM.WMIHelper.TryGetUser(SystemInfo mi, UserPrincipal& user)

接下来我需要检查或配置什么?

最佳答案

SQL Server Express 没有 SSIS 服务器组件。

请注意,Express 没有“SSIS 设计器和运行时”https://learn.microsoft.com/en-us/sql/integration-services/integration-services-features-supported-by-the-editions-of-sql-server

免费的开发者版本确实有此功能,但不允许您将其用于生产目的。

此外,我认为这些版本的 Windows 也不支持 Kerberos。

关于sql-server - 无法将 SSIS 包部署到 Windows 10 Pro 上的 SQL Server 2016 Express,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43036239/

相关文章:

sql-server - 防火墙之外的客户端的 Kerberos 委派

sql-server - 在没有日历表的情况下查找周结束日期的有效方法

sql-server - 低权限用户执行存储过程时的表权限

sql-server - Unicode 和非 Unicode 之间的 SSIS 数据转换错误

xsd - 使用 xsd.exe 生成嵌套类型而不是全局类型

asp.net - 如何解决Kerberos双跳问题?

sql-server - MSSQL 过程 - 更新大型表时的性能注意事项

java - 插入子表时外键显示为空,错误无法将值 NULL 插入列中

Ssis将字符串类型的变量转换为Int32

由 KERBEROS 保护的 Java 应用程序