Resolved : Sgen.exe Error while building the Script task in SSIS or in any other .Net development in Windows 8 or above

In this blog, we’ll discuss how to remove the Sgen.exe error while building any Script task in SSIS or in any other .Net development in Windows 8 or above with the below mention steps.

1. Download & install the SDK from below URL

https://developer.microsoft.com/en-us/windows/downloads/windows-8-1-sdk

Or  ( for other version if above does not work)
https://developer.microsoft.com/en-us/windows/downloads/windows-8-sdk

Close the Visual Studio & SQL in your system and open the above URL, click on the download & install link.

2. It’ll download a set up in your system. Run that setup.
3. Select Download & install.
4. After installation, restart your PC is complete open the below path

C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools

5. Locate the Sgen.exe and copy it

6. Now paste it in the below location

C:\WINDOWS\Microsoft.NET\Framework\v3.5\

7. All done.

Please share your valuable comments.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s