2012-12-18 138 views
2

,当我尝试将服务器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. 做了一些轻微的代码更改,但我想这不会影响安装。

现在我在做什么错了?

BTW我安装到SQL Server 2008

+0

您是否尝试打开该包并从VS2010成功运行它? – Pratik

回答

2

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

1

它运行在我的本地机器上的细升级后

你的意思是它运行里面一个Visual Studio或细内细本地SQL Server?

在猜测:您不能导入升级到VS2010包到SQL 2008

你为什么不比较实际的XML(加载2010年和2008年DTSX文件到一个XML编辑器),看看有什么不同这些文件是。

+0

它在Visual Studio中运行而不是本地SQL Server实例 – Raymund

+0

比较它们和你是对的,它们是完全不同的,并且你给了我一个很好的洞察力,为你+1 – Raymund