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

  • Home
  • SEARCH
  • 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 7049249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:59:25+00:00 2026-05-28T02:59:25+00:00

I used my connection string as Data Source=.\SQLEXPRESS;Initial Catalog=dbTestSharing;Integrated Security=True On development computer it

  • 0

I used my connection string as

Data Source=.\SQLEXPRESS;Initial Catalog=dbTestSharing;Integrated Security=True

On development computer it works fine. But when I made setup (using Visual Studio) and installed on my home computer, it says

“Can not connect the database dbMyTest requested by the login, the
login failed. Login failed for user p4\admin”

My questions are:

  1. I did not include the database to setup. Do I need to do so?
  2. Does my user need to make servers and instances when SQL Server to run my application?
    I installed another application based on SQL Server Express, that did not have anything like that.

Please guide.

  • 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-28T02:59:26+00:00Added an answer on May 28, 2026 at 2:59 am

    You’re not very clear what you’re asking and what you’re trying to do…..

    The SQL Server instance name is chosen at the time of the installation and cannot be changed after the installation. So what are you trying to do here???

    Before a user can use your application that requires SQL Server, yes, he or she will have to install SQL Server. And if you require a specific instance name, you need to describe that in an installation manual or readme file or something!

    But honestly: you shouldn’t require a specific instance name – the user should be able to pick that instance name himself and just adapt your connection string as needed.

    Update:

    My questions are:

    I did not include the database to setup. Do I need to do so?

    No – you don’t have to. If you make it very clear in your installation guide / readme.txt file that a SQL Server instance is required as a prerequisites, then it’s up to the user to make sure he/she has a SQL Server instance ready before they install your application.

    However, it would be helpful and is often almost expected that you would include at least e.g. a SQL Server Express MSI file so that the user – if he doesn’t already have a server installed – can do the installation right from your app, instead of having to hunt and search for a SQL Server before installing your application.

    Does my user need to make servers and instances when SQL Server to run my application?

    Yes – your connection string shows that you’re connecting to a SQL Server instance – so there must be a SQL Server instance available for this.

    If you don’t want this, you would need to switch to e.g. SQL Server Compact Edition which contains all data in a single .sdf file and all the code for accessing the database is available in a set of DLLs that you can ship with your application – no prior installation needed.

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

Sidebar

Related Questions

I have connection strings that look like: Data Source=mydomain.com;Initial Catalog=DB;Integrated Security=True This works from
On my ASP.NET web.config I have the connection string: initial catalog=DatabaseName; data source=(local); Integrated
Here's my connection string: sConnection = @Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\ + lstNet.SelectedItem.ToString() + \SharedDocs\Documents\Debug\App_File\ggbase.mdb;Jet OLEDB:Database Password=g3n3r4l;;
Is it possible to store encrypted connection string so it can be used from
I am having trouble changing the connection string used by entity framework code first
I have used Oracle Advanced Security to encrypt data during data transfer. I have
wpdb class in wordpress is used for making connection to database. is there any
I have a short program that is used exclusively with a remote desktop connection
I have a console app containing an application configuration file containing one connection string
At the moment I'm searching for properties for a connection string, which can be

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.