Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a mssql connection resource file as belows:

Set Conn01 = Server.CreateObject ("ADODB.Connection")
Conn01.Open "PROVIDER=SQLOLEDB; Data Source=forum;UID=forumuser;PWD=forumpass;APP=;Initial Catalog=forumdb"

The webserver can interact with the database server when an user logs into the forum BUT I can't ping "forum" machine from the webserver machine. It says "host doesn't resolve." So how am I supposed to know the IP of the database server? There is only a name called "forum" but it doesn't resolve to anything when I attempted pinging the machine.

I need to know the IP address of this data source.

share|improve this question
I'm not an expert on ADODB, but is it possible that 'forum' is an ODBC connection? Might be worth checking under the ODBC administration settings. – Andy Smith Dec 1 '11 at 18:50
up vote 0 down vote accepted

As Andy stated, open the Data Sources Administrative Tool and find the "forum" connection either under User DSN or System DSN tab. CLick Configure and look at the name of the server at the bottom. Ping the server from the webserver to resolve its IP.

share|improve this answer

There could be an ODBC alias configured as well. On the server's console run cliconfg and look at the Alias tab (I'm that the web server is Windows) for an entry called forum. That will tell you what server the database is actually on.

That or run "sqlcmd -S forum" (give it username and password as well) and run "SELECT @@SERVERNAME" (or just have your web app connect and disabled the results from "SELECT @@SERVERNAME").

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.