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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:25:34+00:00 2026-06-06T07:25:34+00:00

I just installed VS2012 pro RC and SQL server Express 2012. I go to

  • 0

I just installed VS2012 pro RC and SQL server Express 2012. I go to run my app and I get this error:

The Data Source value in the connection sting specifies an instance of SQL Server
that is not installed. To resolve this issue, you can either choose to install
the matching instance of SQL Server or modify the Data Source value in the
connection string.

I used VS2012 Developer preview for a long time and it used to work just fine. This is the connection string that’s in the web.config file:

<add name="MySiteDBConnectionString"
     connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\MySiteDB.mdf;Integrated Security=True;User Instance=True"
     providerName="System.Data.SqlClient"/>

When I go to Management Studio, I get the error message below. When I go to browse for servers, the list is empty.

enter image description here

Where’s the problem and how do I solve it?

Thanks.
enter image description here

  • 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-06T07:25:36+00:00Added an answer on June 6, 2026 at 7:25 am

    You need to make sure the SQL Server service is running. Visual Studio might be spinning it up for you when you establish a connection using web.config and that silly AttachDbFileName feature. Check your Services Control Panel applet and make sure that SQL Server (SQLEXPRESS) is running. If it isn’t running, start it.

    While you’re there, it can’t hurt to make sure the SQL Browser service is running.

    It also can’t hurt to use the proper case. If the instance is called SQLEXPRESS then don’t call it SqlExpress or SQLExpress. I’ve never heard of this breaking connectivity, but be consistent. You might also try other variations just in case:

    (local)\SQLEXPRESS
    localhost\SQLEXPRESS
    127.0.0.1\SQLEXPRESS
    Your_Computer_Name\SQLEXPRESS

    You should also verify what connection protocols are enabled for this instance. Go to Start > Programs > SQL Server > Configuration Tools > Configuration Manager, expand SQL Server Network Configuration, and highlight Protocols for SQLEXPRESS – on the right you should see Shared Memory, Named Pipes, TCP/IP. Which of these are enabled?

    EDIT

    You should download SQL Server 2012 Express from here. Install it. Then create a database. Point Visual Studio at that database. Stop, and I really mean STOP, using the User Instance and AttachDbFileName features. These things are supposed to make development easier but at the end of the day they do little but make development a royal pain in the rear.

    Another option is to use SqlLocalDb for local development. Last month I wrote a thorough "Getting Started" tutorial that may help.

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

Sidebar

Related Questions

I just installed Glassfish on my Ubuntu server (No GUI) using THIS tutorial. Everything
Ihat should i do, i just installed crystal reports for vs2010 now this error
Just installed the SDK and ADK. while updating, it gives the following error: unexpected
I just installed Visual SVN Server and I just found that I can access
I just installed Web Developer Express 2008 and the MVC framework (followed all the
I just installed VS2010 and the great new IronPython Tools extension. Currently this extension
I just installed .NET 4.0 on my Win 2003 Server running IIS. I didn't
i've just installed the VS2010 premium beta 2 and I can't get javascript intellisense
I just installed VS2010 and I want to connect to TFS, But I don't
Just installed and migrated a 2008 solution on Vista ultimate 64 and .net 4.0.

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.