locked
can we deploy ls application on the development machine just to test it RRS feed

  • Question

  • hi,

    i develop lightswitch using windows 8 operating system.

    i use vs 2012.

    my development machine  installs iis 8.0 express and it also installs sql server 2008 express.

    i want to use web client ,i know that this mode needs iis  and i have not installed iis6 7 or 8 on my developing machine.

    i tried publishing the application and  the vs 2012 status bar shows publishing success.

    and i find that the tables in the sql server 2008 express database is the same with the localdb database.

    but when i visit the url  http;//localhost;myapplication ,it returns a http 500 error.

    can we deploy ls application in this way in the developing machine just for the testing purpose

    sorry, my shift key is bad.

    thank you. 


    • Edited by wanghu Sunday, February 2, 2014 3:17 PM missing something
    Sunday, February 2, 2014 3:12 PM

Answers

All replies

  • Instead of  http;//localhost;myapplication ,it returns a http 500 error.

    try

    http://localhost/<yourapp>/Desktopclient/ or http://localhost/<yourapp>/Htmlclient/


    Eric

    Sunday, February 2, 2014 5:49 PM
  • Hi,

    I tried

    http://localhost/<yourapp>/Desktopclient/ or http://localhost/<yourapp>/Htmlclient/

    Both of them still retrun http 500 error.

    Sunday, February 2, 2014 10:43 PM
  • I have just installed the LS in VS 2013-server configration with local SQL Express.

    I think it installed iis 8.0 on my developing maching.

    All the website I published can be seen in iis 8.0 manager.

    But when I visited the site i published.

    it just returned the famous 'Load operation failed for query 'GetAuthenticationInfo'

    i have installed .net 4.5, and the sql part works because i can see the tables in the sql server express. i also set the app pool correctly.

    i also runned the fiddler.

    and i got a http 404 error this time,  the url is

    http://localhost/abcd/Web/Microsoft-LightSwitch-Security-ServerGenerated-Implementation-AuthenticationService.svc/binary/GetAuthenticationInfo

    i then browsed the web folder of my applicaiton ,i found that there is no Microsoft-LightSwitch-Security-ServerGenerated-Implementation-AuthenticationService.svc there.

    in the web folder, thers is only a file named abcd.Client.xap and a folder named manifests.

    is this correct

    Monday, February 3, 2014 3:03 AM
  • What argument setting did you use to deploy .

    As by default it would be "Default Web Site/<yourapps>.

    did you test this on your devbox? what is the outcome?


    Eric

    Monday, February 3, 2014 9:13 AM
  • did you install IIS 8 correctly?

    See for details: http://social.msdn.microsoft.com/Forums/vstudio/en-US/597cc051-1e26-4601-bd77-8dd39b091721/web-deployment-woes?forum=lightswitch

    I think it's a good practice to have IIS on a dev box. When IIS is configured correctly you can deploy an app and db in less than 30 second. Besides, many problems you have on a production box, can often be easily reproduced on a local dev box IIS.

    Furthermore, you can use the local IIS to debug an app with full user management inside visual studio:

    http://blog.pragmaswitch.com/?p=1389

    Cheers

    paul.


    paul van bladel


    Monday, February 3, 2014 5:18 PM