VS2012/Lightswitch 2012 - Cannot Web Publish - by Steve D - NJ

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 764643 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 9/25/2012 7:00:15 PM
Access Restriction Public


I attempt to publish a *simple* app and it fails with an unknown error - see Actual Results

My desktop is a Win7 SP1, 8gb RAM, quad-core CPU
My server is WinServer 2008, 16gb RAM, hex-core CPU, with Sql Server 2008 R2

My app's database is in Sql Server 2008 (not Express) and works properly when debugging.

A folder in IIS is created but the site does not run.
Sign in to post a comment.
Posted by Deon [MSFT] on 4/29/2014 at 12:32 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by Microsoft on 11/1/2012 at 10:52 PM
This error can occur if the IIS machine has versions 1.1 and 2.x of WebDeploy installed. There are a couple of options:

1) Publish your application without checking the "IIS Server has the LightSwitch Deployment Prerequisites installed" check box - this means you might have some manual configuration to do after deployment, specifically:

     - set the framework version of the deployed app's application pool to 4.0

     - set the authentication mode for the web application (if you're using auth)

     - create the application administrator if you don't already have one


2) On the IIS machine, uninstall all versions of WebDeploy, uninstall the LightSwitch prereqs, and then reinstall the LightSwitch prereqs from the WPI feed "LightSwitch for Visual Studio 2012 - Server Configuration without local SQL Express". After doing this, you should not receive the error when you attempt to remote publish.

Posted by Microsoft on 10/15/2012 at 3:14 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been reproduced and has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by Microsoft on 10/12/2012 at 1:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)