Can a LightSwitch 2011 project be deployed to Server 2012 R2 ? RRS feed

  • General discussion

  • Our shop is upgrading it's servers from 2003 to 2012 R2 so

    I have successfully setup my IIS 8.5 server 2012 R2 to be able to publish a regular asp.net web project so I know IIS is setup and working fine.

    Now I tired to publish a LightSwitch 2011 project (that publishes and runs fine from server 2003) to the new 2012 R2 server and I get this error.

    So Next I tried creating a package in LightSwitch and Importing the Application to the server and I get this error.

    Does anyone know how to get around these errors?  Or know how to successfully deploy a Lightswitch application to server 2012 R2?

    the error "ERROR_PROVIDER_NOT_FOUND" does not even exist on that links page so I'm not sure what to try next.

    Any help would be greatly appreciated.

    • Edited by hryniewp Monday, July 21, 2014 8:23 PM pic of error message was not clear
    Monday, July 21, 2014 8:19 PM

All replies

  • Can you publish successfully later LightSwitch versions ?

    paul van bladel

    Monday, July 21, 2014 8:46 PM
  • Thanks for the response Paul,

    I finally got it working after a lot of searching and reading.

    Rick Strahl's Web Log at

    Helped me to install .Net Framework 3.5 successfully.

    Then I could use the web platform installer to install the
    Visual Studio LightSwitch 2011 Server Runtime without Local SQL (before it would just fail at the part where it was trying to install .Net Framework 3.5)

    That finally allowed me to publish the LightSwitch Project to server 2012 R2
    but then the next mystery was that the app would install and start but would only show a blank screen.

    So further research lead me to this old post at


    Where this tip from Garak0410 was the final answer!
    .NET Framework 4.5 Features >> WCF Services >> HTTP Activation



    Wednesday, July 23, 2014 9:29 PM
  • I'm glad you found the solution.

    I presume this is only applicable for LightSwitch 2011 projects.

    If I may ask, are there specific reasons why you stick to V1 ? The later versions have much more to offer.

    paul van bladel

    independent enterprise application architect.


    Thursday, July 24, 2014 6:43 PM
  • I did not try it with LightSwitch 2012 or 2013.

    I like V1 of LightSwitch because I like to use a more stable version of a product. I don't like to have to deal with "beta" versions of software if I don't have to. I bought a number of books that were written for V1 and some controls that were made for V1. I have no need for HTML client for my LightSwitch apps. I like the silverlight client much more than the HTML one.

    Most of the web examples that deal with the silverlight clients are older posts for LightSwitch2011. Where anything newer usually deals with the HTML client and it's issues.

    btw How do you mark an answere as the solution?

    Monday, July 28, 2014 6:19 PM
  • Definitely, controls and extensions can be a reason to stick to a specific version.

    Normally, there is a link "mark as answered (for question only, not for discussions).

    Good luck


    paul van bladel ==independent enterprise application architect== http://blog.pragmaswitch.com

    Monday, July 28, 2014 6:51 PM
  • I've tried these steps and its shows error "An error occurred while communicating with the database." But when i try to connect to the database using udl file in the server it is show the connection is successful. Can you help me why i'm still getting this generic error? Thank you
    Thursday, July 4, 2019 7:19 AM