?
Solved

Correct connection string to remote server

Posted on 2006-07-06
3
Medium Priority
?
213 Views
Last Modified: 2010-04-16
I know this is a very simple question, but I can't seem to find the answer.

I have a program running on machine A, which contains a MS SQL Server database.  I have another machine, machine B, running the same program.  I want to have machine B access the database on machine A.  What do I replace the Server=(local) with in the connection string?

Thanks for your help in advance.
0
Comment
Question by:rmmarsh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 17051370
The machine name or IP address.

Bob
0
 
LVL 28

Expert Comment

by:2266180
ID: 17051379
I don't know about that Server thing, but in my connection strings I use "data source" with the machine name (as refered from the workgroup/domain)
0
 

Author Comment

by:rmmarsh
ID: 17051607
Thank you... that's what I thought it was, but wasn't sure.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question