2016-09-26 1 views
0

で「sgen.exe」を見つけることができなかったWebサービス パッケージを呼び出すためのスクリプトタスクがSSISエラーは、私は私のパッケージでは、SQL ServerおよびSSIS</p> <p>で働いているウィンドウサーバー

私のラップトップで正しく実行されています

しかし、ときに私がサーバー上でパッケージを展開する(Visual Studioがインストールされていない) 私は

Date  9/26/2016 8:16:22 PM 
Log  Job History (TestCallws) 

Step ID  1 
Server  CRM2016 
Job Name  TestCallws 
Step Name  test 
Duration  00:00:02 
Sql Severity 0 
Sql Message ID 0 
Operator Emailed  
Operator Net sent 
Operator Paged 
Retries Attempted 0 

Message 
Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility 
Version 12.0.2000.8 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved.  
Started: 8:16:22 PM 
Error: 2016-09-26 20:16:24.45  
Code: 0x00000005  
Source: Script Task Script Task  
Description: Failed to compiled scripts contained in the package. 
Open the package in SSIS Designer and resolve the compilation errors. 
End Error 

Error: 2016-09-26 20:16:24.45  
Code: 0x00000005  
Source: Script Task Script Task  
Description: MSB3086 - Task could not find "sgen.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". 
Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed, C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets, 2769, 5 
End Error 

Error: 2016-09-26 20:16:24.47  
Code: 0x00000005  
Source: Script Task Script Task  
Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully. 
End Error 

Error: 2016-09-26 20:16:24.50  
Code: 0x00000004  
Source: Script Task  
Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully. 
End Error 

Error: 2016-09-26 20:16:24.50  
Code: 0xC0024107  
Source: Script Task  
Description: There were errors during task validation. 
End Error DTExec: The package execution returned DTSER_FAILURE (1). 

Started: 8:16:22 PM 
Finished: 8:16:24 PM Elapsed: 1.703 seconds. 
The package execution failed. The step failed. 

を実行したときにいずれかがこの問題

を解決するために私を助けることができる、このエラーが出ます

ありがとうございます。

答えて

0

このエラーは、移行先サーバーに.Net SDKがインストールされていないためです。 Webタスクでは、シリアライズアセンブリを生成する必要があります。
これはいくつかの方法で修正できます。 - 対象のサーバーに.Net 4.0 SDKをインストールします。
代替 - 無効シリアル化アセンブリオプションを生成します。これを行うにはスクリプトタスクを開き、スクリプトコードを編集してからプロジェクトを選択し、そのプロパティを(コンテキストメニューで)開きます。 On ビルドページ - を選択してシリアル化アセンブリを生成し、をオフと指定します。コードエディタを終了する前に、コードとプロジェクトを保存します。

関連する問題