Saturday, March 10, 2012

Server prerequisites to host Lightswitch apps - Web Deployment Tool


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.

UPDATE

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'





2 comments:

Unknown said...

louis vuitton outlet, sac longchamp, ralph lauren pas cher, replica watches, louboutin outlet, louboutin shoes, christian louboutin outlet, prada outlet, ugg boots, longchamp pas cher, tiffany and co, louis vuitton, louboutin, air jordan pas cher, tory burch outlet, cheap oakley sunglasses, nike outlet, polo ralph lauren outlet, ray ban sunglasses, polo ralph lauren outlet, louis vuitton outlet, nike air max, replica watches, louis vuitton, air max, longchamp outlet, michael kors, oakley sunglasses, chanel handbags, nike free, nike roshe run, oakley sunglasses, burberry, tiffany jewelry, ray ban sunglasses, kate spade outlet, prada handbags, oakley sunglasses, nike air max, louis vuitton, louboutin pas cher, uggs on sale, ray ban sunglasses, oakley sunglasses, longchamp, jordan shoes, gucci outlet, ugg boots, nike free, longchamp outlet

Unknown said...

lancel, celine handbags, jimmy choo shoes, bottega veneta, nike roshe, asics running shoes, gucci, giuseppe zanotti, nike huarache, mcm handbags, herve leger, hollister, hollister, new balance, ray ban, p90x workout, soccer shoes, babyliss, longchamp, mac cosmetics, nike trainers, chi flat iron, mont blanc, vans, vans shoes, ghd, iphone cases, nike air max, hollister, ferragamo shoes, ralph lauren, louboutin, nike air max, beats by dre, valentino shoes, converse outlet, lululemon, north face outlet, instyler, soccer jerseys, birkin bag, insanity workout, baseball bats, north face outlet, abercrombie and fitch, timberland boots, reebok shoes, nfl jerseys, oakley, wedding dresses