locked
Lightswitch 2012 Application VS IIS8.5 on windows 8.1 RRS feed

  • General discussion

  • [To Parent Directory]

     6/17/2015  9:53 AM        <dir> AddClient
     8/26/2015  9:56 AM          478 ApplicationData.svc
     6/17/2015  9:53 AM        <dir> bin
     6/17/2015  9:53 AM        <dir> Client
    10/10/2013  7:33 PM          259 Microsoft.LightSwitch.SecurityData.svc
     8/26/2015  9:56 AM          466 NEXUSData.svc
     6/17/2015  9:53 AM        <dir> Web
     8/26/2015 10:03 AM        12128 web.config

    when i run my lightswitch application (MS VS Lightswitch 2012 ultimate version) on my local host (IIS 8.5) on windows 8.1 the list above appears and i don't know why?............. can somebody help me....please



    Wednesday, August 26, 2015 8:17 PM

All replies

  • Hi christiantua,

    Please check whether the "Directory Browsing" in your IIS is "Enabled". If enabled, please disabled it.

    After disabled, please run your application again. If it still show the directory of your application. Please assign Home page as a default document in your IIS as below image.

    Best Regards,
    Weiwei

    Thursday, August 27, 2015 8:28 AM
    Moderator
  • Hi, Cai

    thanks very much for your help i've tried that but still the same thing, if i run the lightswitch application on my local machine it works fine but when i run on IIS8.5 or run it from a different machine it won't works, it shows the parent directory.

    i'm using windows 8.1 with IIS8.5 AND Lightswitch Application using Visual Studio Lightswitch Application 2012 ultimate version

    any idea please......

    Monday, August 31, 2015 8:56 PM
  • Hi christiantua,

    Please refer to following blog which introduce how to configure a Web Server to Host LightSwitch applications.
    http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deployment-guide-how-to-configure-a-web-server-to-host-lightswitch-applications.aspx

    In addition, please check the detailed steps that you set on your IIS with following article. https://www.iis.net/configreference/system.webserver/directorybrowse

    Best Regards,
    Weiwei

    Tuesday, September 1, 2015 2:29 AM
    Moderator
  • Thank you Weiwei,

    the links are very helpful, I've just found out that my visual studio lightswitch application was automatically updated with update 4 and very similar to visual studio 2013 and there is no way to be hosted on IIS Server 8 or 8.5 for deployment. The only alternative is to host it (application) with Microsoft azure, but i tried to registered and my country is not included (SAMOA)

    any idea

    thanks

    Anisi Christian Tua

    Wednesday, September 16, 2015 2:06 AM