Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8818843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:12:25+00:00 2026-06-14T05:12:25+00:00

When Microsoft first released LightSwitch I first heard about LightSwitch about a year ago

  • 0

When Microsoft first released LightSwitch I first heard about LightSwitch about a year ago (or so), I made a Contact Manager app from it and published it and sent it to a friend and it worked “out of the box” so to speak, in the sense that I didn’t need to connect it to a “database” as it was just using its own in-built database (I’m assuming – since no data source/database was ever specified).

I’ve since returned to LightSwitch dev and have noticed that this is no longer possible. This is a huge downside for me, but oh well.

Is there still a way to use it without importing your own, or connecting to an external datasource? Or, if that is no longer possible, how can we make LightSwitch populate all relevant Tables, columns, etc in a new, blank Database file (MDF)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:12:26+00:00Added an answer on June 14, 2026 at 5:12 am

    You don’t need to “connect to an external database“, but the intrinsic database (the one that LightSwitch creates when you add tables to any application) still has to be attached to an instance of SQL Server (even SQL Server Express) when it’s published. A non published application will only run if LightSwitch has been installed on the “other” machine as well.

    The only time a LightSwitch application will run without specifying a connection string to a SQL Server instance is when it’s being developed. For debugging, LightSwitch attaches a “user instance” to the instance of SQL Server Express 2008 that it installs during the installation of LightSwitch itself. It’s never been any other way. LS 2011 has always needed SQL Server Express 2008 for development, & a connection string pointing to a valid installed instance of SQL Server 2005 (or above).

    If you’re talking about LS 2012 (VS 2012), then it still needs a SQL instance to connect to for any published application, but for debugging, it now uses a new feature of SQL Server Express 2012, called LocalDB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make my first app for Microsoft Surface. I need to use
First a little background: I have already managed to connect to a Microsoft SOAP
I'm programming in Microsoft VBA. At first I need to generate a QueryTable with
I'm trying to use Microsoft Expression Encoder 4.0 in my application. The first problem
Microsoft recently released to preview Azure web sites. I had been hoping that this
Microsoft released a beta of Windows Server AppFabric that makes it easier to build,
I am going to give a talk about Umbraco at the Belgium's Microsoft Innovation
In the most recent version (4.1, released October 2008) of The Microsoft Enterprise Library's
First off, according to http://msdn.microsoft.com/en-us/library/x0b5b5bc.aspx , the List.Find method is only listed as throwing
I've been practicing detours using the same approach as Microsoft Detours (replace the first

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.