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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:50:12+00:00 2026-06-09T20:50:12+00:00

I have developed an application that have a slider that showing some data from

  • 0

I have developed an application that have a slider that showing some data from a
SQL Database. I’m using Visual Studio 2010 and Microsoft SQL Server 2008.

In fact i don’t face any problem with my application when i deploy it an run it on my Personal Computer.
The problem occurs when i try it on another machine, and the problem is that the application couldn’t be connected the SQL database. I tried to figure out the reason of the problem, so i tried it after its deployment on two machines, one of them have a SQL server installed on it, and the other one don’t have the SQL Server.
The Application worked perfectly on the machine that have the SQL Server installed on it, and it couldn’t be connected to the database on the other machine.

This is the Connection String i have used in my application>>

connectionString=”Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\KBank.mdf;Integrated
Security=True;User Instance=True”

so if there is a way that could enable me to run the application without needing the machine to have a SQL Server installed, i would be grateful. Thanks

  • 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-09T20:50:13+00:00Added an answer on June 9, 2026 at 8:50 pm

    You need to change the connection string to specify the computer the database is installed on. Something like the following:

    connectionString=”Data Source=machine\SQLEXPRESS;AttachDbFilename=|DataDirectory|\KBank.mdf;Integrated Security=True;User Instance=True”

    Please note: The database on the other machine needs to be configured properly so it can be accessed from other machines.

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

Sidebar

Related Questions

I have developed an iPhone application that fetches data from internet. I want to
I have developed a application that using core data framework to store the data.
I have developed an application that pulls X amount of records from my database
I have developed J2ME application that read data from product.txt file located in binary
I have developed an application that reads files from the folder chosen by the
I have developed a C# 4.0 desktop application that uses a SQL Server Express
VS Studio 2005 I have developed an application that will need to access a
I have developed a Java Application that connects with a database (insert, select ...)
I have developed an application using J9 that runs in windows mobile. but now
We have developed a .NET web application that uses SQL Server as a backend.

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.