To install the prerequisites on SBS server 2008 with SQL 2008 (not R2).
On the SBS server use the Web Platform Installer 3.0.
In the Web Platform Installer menu choose 'Products', in the bar on the left choose 'Tools'.
Then select Visual Studio Lightswitch 2011 Server Runtime without local SQL.
Althought this is for a 3-Tier deployment ( IIS server - SQL server on separate machines) this should make it work. I intend to use the SQL 2008 standard edition on the SBS server.
Error 1 Web deployment task failed.(Remote agent (URL http://hera/MSDEPLOYAGENTSERVICE) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
Remote agent (URL http://hera/MSDEPLOYAGENTSERVICE) could not be contacted. Make sure the remote agent service is installed and started on the target computer.
An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.
The remote server returned an error: (503) Server Unavailable. C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets 964 10 LoonKostBeheerLS
I have discovered that sometimes it is necessary to install the Web Deployment Tool also, it is not done by the Lightswitch prerequisites. This is necessary on the Windows Server with IIS, to publish from Visual Studio to the Web server, i.e. when not publishing to a package.
To Install th eweb deployment tool on the server
- Start Web Platform Installer 3.0
- In the search box, type 'Web Deployment' hit enter.
- Select Web Deployment 2.1 (the most recent date)
- Click Install
- In the next screen, click 'I Accept'