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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:13:04+00:00 2026-05-11T16:13:04+00:00

When I try to add a new Sql Server Database file to my Visual

  • 0

When I try to add a new Sql Server Database file to my Visual Studio project, it tells me that I need to have Sql Server 2005 Express installed even though I have Sql Server 2005 Developer already? Is this by design and if so, why did Microsoft do it? and if it is not by design, what is the solution to fix it?

  • 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-05-11T16:13:04+00:00Added an answer on May 11, 2026 at 4:13 pm

    If you are going to add a database to your project, it is going to try and add one of the SQL Express type. If you are using an actual SQL Server 2005 instance running, you want to CONNECT to it, you can’t just add it to your project.

    What you will want to do is add a connection string (it will contain the basic connection info including location, database name, authentication properties, etc.) in your web.config and then you will be able to reference that connection string when trying to open a connection to the database.

    Edit: You can use W3 Schools and their ASP.NET database tutorial for more information.

    Edit 2: The author of the question asked a good follow-up in the comments and I wanted to make sure this was visible to future viewers without having to scour the comments.

    The question Xaisoft posed was “Just out of curiosity. What if you don’t want to add a connection, but you want to add a database? Do we have a choice?”

    Answer: When you try to add a database, you are trying to add a full-blown database that will remain with the project regardless of where it is hosted (given that the host can run SQL Server Express instances). If you want to do that, you need to have SQL Server Express installed.

    Connecting to a database will allow you to point to the location of an existing SQL Server 2005 database anywhere (as long as you can properly authenticate). I should also mention that regardless of what method you use, you will still need to learn about connecting.

    Even if you have a SQL Server Express DB packaged with your project, you will still need to use connectionstrings to establish a connection to that database so that you can then use queries and such on it.

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

Sidebar

Ask A Question

Stats

  • Questions 124k
  • Answers 124k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Are you running on OS 3.0? I saw the same… May 12, 2026 at 1:19 am
  • Editorial Team
    Editorial Team added an answer It looks like you need to register Apache::Session::Memcached with Apache::Session::Wrapper,… May 12, 2026 at 1:19 am
  • Editorial Team
    Editorial Team added an answer Use DATENAME or DATEPART: SELECT DATENAME(dw,GETDATE()) -- Friday SELECT DATEPART(dw,GETDATE())… May 12, 2026 at 1:19 am

Related Questions

I have two issues both related to (I believe) my SQL Server setup. I
When I go to the 'Add New Item' window in Visual Studio 2005 and
I'm attaching a new database programatically using VB.net application. I wrote DB scripts and
I have been googling a lot and I couldn't find if this even exists

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.