hMailServer: “connection to the database is not available”

Outlook just gave me warnings that it could not connect to my local mail server. RDP’ing to the server, I wanted to start hMailServer Administrator, but it only responded with an error message:

The connection to the database is not available
ADO: Cannot open database “hmailserver” requested by the login. The login failed.

Since I had rebooted the server after Windows Update insisted, I blamed Windows Update.

I looked into the log files, which showed repeated error messages

“ERROR”    748    “2012-07-17 18:18:19.235”    “Severity: 1 (Critical), Code: HM5028, Source: ADOConnection::Connect, Description: Error when connecting to database. Microsoft OLE DB Provider for SQL Server Cannot open database “hmailserver” requested by the login. The login failed. Check your database settings in hMailServer.ini.”

No event log entries could be found relating to this error.

This time, however, there seems to be a problem when hMail cannot connect to the database during startup. As this hMailServer issue indicated, restarting the hMailServer service (with SQL Server already running) was enough to solve the error.

One Response to hMailServer: “connection to the database is not available”

  1. Riyaz Kalva says:

    Thanks, restarting the hmail service resolved my issue.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: