How to: Configure a Server to Host LightSwitch Applications

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 4.5, which you can download from the Microsoft website, to install server prerequisites for LightSwitch.

To install prerequisites

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

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

  3. Choose the LightSwitch in Visual Studio 2013 - Server Configuration with local SQL list item, choose the Add button, and then choose the Install button.

    Note

    To install prerequisites when SQL Server is located on a different server, choose LightSwitch in Visual Studio 2013 - Server Configuration without local SQL.

  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

Concepts

Deploying LightSwitch Applications

Other Resources

How to: Deploy a Three-Tier LightSwitch Application

Deployment: Distributing and Maintaining Your Application