2
votes

I am having difficulty in deploying my forst lightswitch desktop application. when i try to publish, in the summary window it says
Database: Donot Publish

and the install.htm file is cofusing to me.

Can someone help me with a step by step tutorial. I will be grateful.

I have installed Microsoft SQL server 2008.

2

2 Answers

1
votes

The process of deploying a LightSwitch-based application differs depending on the application type and deployment scenario that you select. You have said that your lightswitch application is a desktop application. So, the possible deployment scenarios are:

  1. Desktop client 2-tier

  2. Desktop client, 3-tier

These links will help you :

Deploying LightSwitch Applications

How to: Deploy a 2-tier Application

How to: Deploy a 3-tier Application

0
votes

You should try to get the exception info/stack trace from the server process (vslshost.exe) to get more information about the error when retrieving or saving data. If your app tries to load data when opening, change it so that there is no default screen. This will prevent the app from opening a screen when loading the app and trying to load data, allowing you enough time after opening the app to attach a debugger. You can follow my blog post at http://blogs.msdn.com/b/mthalman/archive/2013/08/16/how-to-get-a-stack-trace-in-lightswitch.aspx for info on how to get the exception info.