SSIS包安装错误

时间:2012-12-18 03:12:59

标签: sql-server ssis

当我尝试在服务器上安装我的包时,我收到此错误

Loading the package "E:\SomeFolder\SomePackage.dtsx".
Error: Could not save the package "E:\SomeFolder\SomePackage.dtsx" to SQL Server "(local)". 
Exception details: Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
 ---> System.Runtime.InteropServices.COMException (0xC0011008): The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.

   at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.LoadPackage(String FileName, Boolean loadNeutral, IDTSEvents100 pEvents)
   at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral)
   at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events)
   at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.SavePackageToSqlServer(WizardInputs wizardInputs, String packagePassword, Boolean bUseSeverEncryption, String serverName, String userName, String password, String packageFilePath, List`1 configFileNames, String packagePath)
   at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.InstallPackagesToSqlServer(WizardInputs wizardInputs)

我正在做什么重建SSIS项目并在服务器上复制部署文件。一旦完成,我就运行SSISDeploymentManifest文件。

以下是分步过程的屏幕截图: enter image description here enter image description here enter image description here enter image description here enter image description here

之前有效,但我不知道它为什么突然停止安装?我做的唯一改变是:

  1. 从2008年起将项目升级到VS2010,升级后在本地计算机上运行正常
  2. 是否有一些小代码发生了变化,但我想这不会影响安装。
  3. 现在我做错了什么?

    BTW我正在安装到SQL Server 2008

2 个答案:

答案 0 :(得分:2)

通过使用VS2010,您已将软件包升级到SQL 2012级别。您将无法再在SQL 2008上加载或运行该程序包。

答案 1 :(得分:1)

  
    

升级后在本地计算机上运行正常

  

你的意思是它在visual studio中运行良好或在本地SQL Server中运行良好吗?

猜测:您无法将升级到VS2010的软件包导入SQL 2008。

为什么不比较实际的XML(将2010和2008 DTSX文件加载到XML编辑器中)并查看文件的不同之处。