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 8237601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:31:21+00:00 2026-06-07T19:31:21+00:00

In Visual Studio 2010 I create a new LightSwitch project. On the start with

  • 0

In Visual Studio 2010 I create a new LightSwitch project.

On the “start with data” screen I click “create new table” link.

I name and add a couple columns, I add one form and then run the project and I get this exception:

An exception occurred when building the database for the application.
The target database schema provider could not be determined.
Deployment cannot continue.

C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets

Seems simple yet it doesn’t work.

How can I specify the target database schema or get around this error?

  • 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-07T19:31:23+00:00Added an answer on June 7, 2026 at 7:31 pm

    What version of SQL Server are you using?
    I’ve seen people have this issue with SQL Server 2012 (Denali).

    Can you try with SQL Server Express 2008 or 2008 R2?

    You can have multiple instances of SQL Server Express installed, however only one should be running.

    Ensure your SQL Express instance, has user instance enabled, which is required by LightSwitch:

    1. Open the SQL Server Management Studio.
    2. Connect the SQL Express instance.
    3. In the query editor type this: exec sp_configure ‘user instances enabled’, 1
    4. Then type: Reconfigure
    5. Then restart the SQL Server database.

    How to change the database:

    1. Open Visual Studio LightSwitch
    2. Select the Tools -> Options menu item
    3. Enable Show all settings checkbox in the Options dialog
    4. Expand the Database Tools group and select the Data Connections
      options page
    5. Check the setting of the option SQL Server Instance Name (blank for
      default)

    See this article for some more discussion on this topic.

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

Sidebar

Related Questions

In Visual Studio 2010, if I create a new project that is a WPF
Whenever I create a new project in the Visual Studio 2010 Release Candidate, for
When I create a new ASP.NET project in Visual Studio 2010, it creates the
Whenever I create a new Empty MVC3 Web Application project in Visual Studio 2010
I just installed visual studio 2010 but when i create a new project Framework
When trying to create a new Windows Azure Project in Visual Studio 2010, I
I am using Visual Studio 2010 to create a new add-in for Excel. Ideally
I am using MS Visual Studio 2010. When i create a new MVC3 project
Whenever I create a new project in Visual Studio 2010 and don't set the
I'm trying to create an ASP.NET Web Application project in Visual Studio 2010 but

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.