2016-06-27 18 views
0

VS2015を使用して下位バージョンから作成されたSSISパッケージをインポートして自動的にアップグレードされました。ここでは、パッケージを実行するコードです:SSISパッケージ実行時にエラーが発生しました

   Process process = new Process(); 
       process.ErrorDataReceived += delegate (object sender, DataReceivedEventArgs e) 
       { 
        errorBuilder.Append(e.Data); 
       }; 
       //call this before process start 
       process.StartInfo.RedirectStandardError = true; 

       process.StartInfo.WorkingDirectory = @"C:\Program Files\Microsoft SQL Server\110\DTS\Binn"; 

       process.StartInfo.FileName = "DTExec.exe"; 

       process.StartInfo.Arguments = @"/File " + pkgLocation; 
       process.StartInfo.UseShellExecute = false; 
       process.StartInfo.RedirectStandardOutput = true; 
       process.StartInfo.RedirectStandardError = true; 
       process.StartInfo.RedirectStandardInput = true; 

       process.Start(); 

は、しかし、私はエラーを取得:

Started: 2:32:00 PM 
Error: 2016-06-27 14:32:00.81 
    Code: 0xC001700A 
    Source: 
    Description: The version number in the package is not valid. The version number cannot be greater than current version number. 
End Error 
Error: 2016-06-27 14:32:00.83 
    Code: 0xC0016020 
    Source: 
    Description: Package migration from version 8 to version 6 failed with error 0xC001700A "The version number in the package is not valid. The version number cannot be greater than current version number.". 
End Error 
Error: 2016-06-27 14:32:00.86 
    Code: 0xC0010018 
    Source: LoadClaimsFilePDNew 
    Description: Error loading value "<DTS:Property xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:Name="PackageFormatVersion">8</DTS:Property>" from node "DTS:Property". 
End Error 

私はすでにSQL Serverデータツールと解決される場合がありますが、私はそれを作ることができない他のものをインストールしています作業。私は2015年とSQL Server 2012を持っています

+0

問題がこれかもしれません。 https://blogs.msdn.microsoft.com/jason_howell/2014/09/30/ssis-error-when-deploying-from-vs-2013-to-ssisdb-in-sql-2012/。あなたは試してみる必要がありますVS2012でVS 2013はSQL Server 2014に使用され、VS 2010/12はSQL Server 2012に使用されます。 – Sam

答えて

0

使用しているソースコントロールを使用してパッケージをロールバックする必要があります。

パッケージを開いて、プロジェクトの変換を許可します。すべてがOKになります。

関連する問題