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
Or ( for other version if above does not work)
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
7. All done.
Please share your valuable comments.