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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:18:34+00:00 2026-06-11T01:18:34+00:00

I have created a sample MVC application from here: CLICK HERE I am using

  • 0

I have created a sample MVC application from here:

CLICK HERE

I am using Visual Studio 2010 IDE.
See the Setting the Connection String section.

Instead of SQL Server Compact Edition I want to directly work with SQL Server 2008 that is installed on my system so when I put following connection string in web.config i got an error message:

<add name="SchoolContext" connectionString="server=(local);database=School;user id=sa;password=1234;" providerName="System.Data.SqlClient" />

enter image description here

How to resolve 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-11T01:18:35+00:00Added an answer on June 11, 2026 at 1:18 am

    Does the School database already exist? If so, delete it and let Code First recreate it.

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

Sidebar

Related Questions

I have just created a mid-sized web-application using Java, a custom MVC framework, javascript.
I have learned from the sencha doc how to create a simple MVC application,
I created a simple ASP.NET MVC version 1.0 application. I have a ProductController which
I have opened a sample ASP.NET MVC project. In HomeController I have created a
I have created a sample java socket application. I used Socket s = new
I have created a CPTTradingRangePlot using the up-to-date sample code as an example. The
I have a sample project here on github where I created a c++ wrapper
using VS 2008 i created a clean asp.net MVC application project and changed nothing
I have created a sample MVC3 application for BookShop. I have a create action.
I have an ASP.NET MVC (using the release candidate) application that works with a

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.