How to: Configure a Server to Host LightSwitch-Based Applications

Before a server can host a three-tier LightSwitch application, you must install several prerequisites and configure both Internet Information Services (IIS) and SQL Server on that server. You can install the prerequisites for a LightSwitch application by using Web Platform Installer.

Note

SQL Server doesn’t have to be installed on the same server as IIS. It’s required, but it can be located on a different server.

A Web Platform Installer feed is used to download and install any missing prerequisites, including IIS and SQL Server, and configure the server. You can use Web Platform Installer to install on Windows Server 2008, Windows 7, and Windows Server 2003. Both IIS 7.0 and IIS 6.0 are supported; if the server already has IIS 6.0 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, open the top-level menu, choose Products, and then choose Tools.

  2. Choose LightSwitch for Visual Studio 2012 - Server Configuration with local SQL, choose the Add button, and then choose Install.

    Note

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

  3. 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 3-tier Application

Deployment: Distributing and Maintaining Your Application