How to: Configure a Server to Host LightSwitch Applications

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Before a server can host a three-tier LightSwitch application, you must install the LightSwitch server runtime and configure both Internet Information Services (IIS) and SQL Server.

Note

SQL Server doesn’t have to be installed on the same server as IIS. They both must be installed, but they can be located on different servers.

You can use a Web Platform Installer feed to download and install any missing prerequisites, including IIS and SQL Server, and configure the server. Both IIS 7.0 and IIS 6.0 are supported; if IIS 6.0 is already installed, IIS 7.0 won’t be installed.

Install prerequisites

You’ll use the Web Platform Installer, which you can download from the Microsoft website, to install server prerequisites for LightSwitch.

To install prerequisites

  1. In Web Platform Installer, on the menu bar, choose Products, Tools.

  2. In the search text box, enter Hosting Servers, and then choose the Enter key.

  3. Choose the Web Deploy 3.6 for Hosting Servers list item (or a later version of Web Deploy, if available), choose the Add button, and then choose the Install button.

  4. If you agree to the license terms, choose the I Accept button.

    The prerequisites will be installed, and the necessary settings will be configured. When the installation is complete, you can close Web Platform Installer and publish your application to the server.

See Also

How to: Deploy a Three-Tier Application
Deploying LightSwitch Applications
Deployment: Distributing and Maintaining Your Application