You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

部署SSIS包时出现Microsoft.SqlServer.Management.IntegrationServicesEnum错误求助

Fixing the Microsoft.SqlServer.Management.IntegrationServicesEnum Error When Deploying SSIS Packages

I’ve run into this exact error multiple times during SSIS package deployments, even after standard fixes like reinstalling Visual Studio or repairing SSDT fail to resolve it. Let’s walk through targeted troubleshooting steps that usually get things working again:

  • Verify SQL Server Management Objects (SMO) Installation
    This error often traces back to missing or corrupted SMO components, which are essential for SSIS management operations.

    • Open Programs and Features in Control Panel, and check for Microsoft SQL Server Management Objects—the version must match your SQL Server instance, Visual Studio, and SSDT versions.
    • If it’s missing, download the matching SMO package from the official Microsoft downloads page for your SQL Server version and install it. If it’s already present, try repairing the installation via Programs and Features.
  • Check .NET Framework Compatibility
    SSIS depends heavily on specific .NET Framework versions. Ensure you have the correct version installed (typically .NET Framework 4.7.2 or later for modern SSIS projects):

    • Open regedit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full, and confirm the installed version.
    • If outdated, download and install the required .NET Framework version, then restart your machine before attempting deployment again.
  • Re-register SSIS Management Assemblies
    Corrupted or unregistered COM assemblies are a common culprit here. Open an elevated Command Prompt (Run as Administrator) and execute these commands:

    regsvr32 "C:\Program Files\Microsoft SQL Server\150\SDK\Assemblies\Microsoft.SqlServer.Management.IntegrationServices.dll"
    regsvr32 "C:\Program Files\Microsoft SQL Server\150\SDK\Assemblies\Microsoft.SqlServer.IntegrationServices.Management.dll"
    

    Note: Replace 150 with your SQL Server version number (e.g., 140 for SQL Server 2017, 160 for 2022). If you’re unsure of the path, search for these DLLs in your Microsoft SQL Server directory.

  • Reset Visual Studio Settings
    Corrupted Visual Studio settings can interfere with SSIS deployment workflows. Open Visual Studio as Administrator, go to Tools > Import and Export Settings > Reset all settings, follow the wizard to reset to default settings, then restart VS.

  • Validate SQL Server Instance Permissions
    Ensure the account you’re using to deploy has the necessary permissions on the target SQL Server instance:

    • The account should be a member of the db_ssisadmin role (or sysadmin for full access—though least privilege is recommended) on the SSIS catalog database (SSISDB).
    • Confirm you can connect to the SQL Server instance via SQL Server Management Studio using the same account to rule out connectivity or permission-related issues.
  • Reinstall SSDT with Version Matching
    Mismatched versions between SSDT, Visual Studio, and SQL Server often trigger this enum error:

    • Uninstall all existing SSDT instances from Control Panel.
    • Download the SSDT version that aligns with your Visual Studio (e.g., SSDT 2022 for VS 2022) from the official Microsoft page, install it, and restart your machine before testing deployment again.

内容的提问来源于stack exchange,提问作者Ak7

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 09:12:10