If you are experiencing the "Database is not currently available" error, review the following common causes:
When
installing SQL Server, was SQL Server authentication installed as opposed to
NT Authentication only? To check, in
SQL Server Enterprise Manager, click on Tools\SQL Server Configuration
Properties – then click the security tab. The radio button should indicate
SQL Server and Windows NT/2000.
Verify
that the database name, username, and password match the values in the
database.properties file.
Check
for a space in the name of the database, username, or password
in the database.properties file.
If
the database and login name is something other than Unanet, was that change
reflected in the sqlpermissions.sql before running that script?
Is
the Inet driver present in the Unanet directory?
Is
the Servlet engine classpath and/or alias pointing to the wrong Unanet
installation, or wrong drive?
Can
you ping the machine?
Check to make sure your server is listening on port 1433. To test this, in the command prompt enter netstat -a.
Have
you restarted the MS SQL Server service?
You may also find your log files helpful for additional troubleshooting guidance, for example, when getting this error “The Unanet database is not currently available. Please try again later or contact your Unanet administrator.” Check out the default-out.log file in \Program Files (that is, if you're running Jrun 3.0 in the Windows environment).
Below are the two errors you may see, and the explanations as to why this is happening.
java.sql.SQLException: Connection refused: no further information - Error received when there is no match with database name and the value supplied in the database.properties file.
java.sql.SQLException: Login failed for user 'xxxxx'. - Error received when permissions are not granted, or user name and password do not match the values supplied in the database.properties file.
Back to Installation Table of Contents
Copyright © 1998-2002 Computer
Strategies, Inc., All Rights Reserved.
Last revised: September 13, 2002.