|
Question: How can I
test a Server / Database connection from a workstation?
Answer:
Occasionally, it is helpful to test the connection between a workstation
and the SQL Server and Database outside of ExpressMaintenance. If
you can connect via ODBC / DSN from Windows, you will be able to connect
through ExpressMaintenance. Likewise if you are unable to connect
via ODBC / DSN from Windows, ExpressMaintenance is not going to
successfully connect to the SQL Server either.
If you are unable to
connect via ODBC / DSN from Windows, the problem is not related to
ExpressMaintenance and is likely a network permission, firewall or SQL
authentication issue.
Take the following
steps to create a ODBC / DSN and test the connection via Windows.
You
can check for MDAC and force a TCP/IP connection to the server by
creating an ODBC Data Source. On some computers (especially Windows 98),
it is necessary to force a manual TCP/IP connection one time to activate
the SQL communications. This can be done by creating a system DSN as
outlined below. Try creating a system DSN to ExpressMaintenance by
following the steps below:
Creating ODBC DSN
-
Click on
Windows / Start / Control Panel
-
Double Click on Data
Sources (ODBC) Note: some versions of windows, click Administrative
Tools first
-
Click the System DSN
tab
-
Click the Add Button
-
Scroll to the bottom of
the driver list and click SQL Server
-
Click the Finish button
-
Type ExpressMaintenance
in the Name & Description field
-
In the Server field,
type the IP address of the computer where SQL Server (MSDE) is
running
-
Click the Next button
-
Click the "With SQL
Server authentication ..." option
-
Click the Client
Configuration button
-
Click TCP/IP option for
the network library
-
Make sure the Server
Alias and Server Name fields have the IP address of your server
-
Click the Ok button
-
Click the "Connect to
SQL server to obtain..." option
-
Enter "sa" (no quotes)
for the user name,
-
Use the password
of 'welcome' unless you assigned another password for 'sa' during
installation
-
Click the Next button
-
Click on "Change the
default database to:..." option
-
Click the Database drop
down list and select ExpressMaintenance
-
Click the Next button
-
Click the Finish button
-
Click the Test Data
Source button
-
Note the results
-
Repeat the
process except in steps 16 & 17 user the login of 'etuser' with a
password of 'etrik22'
-
Note the results
Other important links:
Creating the 'etuser' login
account
Setting up the ini file for SQL connection
|