SQLServerCentral Article

Install Visual Studio 2015 in Server without Internet Connection

,

Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs for Microsoft Windows, as well as web sites, web apps, web services and mobile apps. Visual Studio uses Microsoft software development platforms such as Windows API, Windows Forms, Windows Presentation Foundation, Windows Store and Microsoft Silverlight. It can produce both native code and managed code.

Until SQL Server 2008 R2, Visual Studio used to come with BIDS (Business Intelligence Design Studio), which makes it easy to install. But from SQL 2012 on, we need to add these capabilities SSDT (SQL Server Data Tools), which needs to be installed separately.

SQL Server Data Tools is a modern development tool that you can download for free to build SQL Server relational databases, Azure SQL databases, Integration Services packages, Analysis Services data models, and Reporting Services reports. With SSDT, you can design and deploy any SQL Server content type with the same ease as you would develop an application in Visual Studio. This release supports SQL Server 2017 through SQL Server 2005, and provides the design environment for adding features that are new in SQL Server 2016.

Note: You can download the SSDT for VS 2015 from https://go.microsoft.com/fwlink/?linkid=858660

There are two parts for VS 2015/SSDT installation as follows.

  1. Download Progress
  2. Installation Progress

The normal Visual Studio 2015 installation goes well in a scenario where you have an internet connection. The necessary installation support files will be downloaded on the fly while performing the installation, which means the first part (Download Progress) will go smoothly.

But if you do not have an internet connection while performing the installation you will face the below error.

When you go through the log file, you will be able to see the below error which shows the connectivity error to internet for downloading the setup files. 

       

To resolve this issue and to go ahead with the installation, you need to run the installation in an offline mode, which means the set up supporting installation files need to be downloaded separately in a system having internet connectivity and move the files to the server using a USB stick or remote share or any means. The process is to download the setup file in a system with Internet connectivity from this download page. Then push the files to a folder where you need to extract the files. In my case, I have chosen the d:\ssdtsetup folder.

Download the component files using the SSDT set up files in the below format.

   SSDTSetup.exe /layout 'D:\SSDT VIsual Studio 2015'

Once the this completes, you will be able to see the below files in the location called payload and ssdt which will be having the component files.

Once this is extracted, you can perform the installation of SSDT executing the same file in the folder SSDTSetup. This time it will not try to download the files from internet but will take the files from the saved location. 

Rate

4.33 (6)

You rated this post out of 5. Change rating

Share

Share

Rate

4.33 (6)

You rated this post out of 5. Change rating