In Microsoft SQL Server 2008, you add a Web service to a SQL Server Integration Services (SSIS) script task.
The Windows software development kit (SDK) is not installed on the computer.
You try to build the SSIS script task.
In this scenario, you receive the following error message:
Task failed because "sgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "sgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5. 2) Install Visual Studio 2008. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task.
This issue occurs because the default setting for the SSIS script task creates the serialization assembly. The serialization assembly requires files that may not be installed by SQL Server 2008 alone.
To resolve this issue, use one of the following methods:
Install the Windows SDK.
To download and to install the Windows SDK for Windows Server 2008 and for the Microsoft .NET Framework 3.5, visit the following Microsoft Web site: