Solved

Correct connection string to remote server

Posted on 2006-07-06
3
212 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 500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

695 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