How to: Configure a Server to Host LightSwitch-Based Applications
In order to host a 3-tier LightSwitch-based application, a server must have several prerequisites installed and both Internet Information Services (IIS) and SQL Server must be pre-configured. You can install the prerequisites for a LightSwitch application using Web Platform Installer.
SQL Server does not have to be installed in the same server as IIS. It is 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 will not be installed.
You will use the Web Platform Installer, which you can download from the Microsoft Download Site, to install LightSwitch server prerequisites.
To install prerequisites
In Web Platform Installer, on the top-level menu, select Products, and then choose Tools.
Select Visual Studio LightSwitch 2011 Server Runtime and Local SQL, choose the Add button, and then choose Install.
To install prerequisites when SQL Server is located on a different server, select Visual Studio LightSwitch 2011 Server Runtime without Local SQL.
If you agree to the license terms, choose I Accept.
The prerequisites will be installed and the necessary settings will be configured. Once installation is complete, you can close Web Platform Installer.
You can now publish your application to the server.