Error when accessing Plesk Panel: Invalid Instance

Created:

2016-11-16 13:08:47 UTC

Modified:

2017-08-16 15:41:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error when accessing Plesk Panel: Invalid Instance

Applicable to:

  • Plesk 9.x for Windows

Symptoms

Connection to Plesk Control panel fails with the error:

    Detailed description or error message text : ERROR: PleskMainDBException <b>Source:</b> Microsoft OLE DB Provider for SQL Server<br/>
<b>Description:</b> [DBNETLIB][ConnectionOpen (Invalid Instance()).]Invalid connection. 0: common_func.php3:601
db_mssql_connection() 1:
common_func.php3:630
reconnect() 2:
common_func.php3:591
db_connect() 3: auth.php3:90

Cause

Such error may take a place when you use Plesk with MSSQL database and MSSQL instance (hostname,port) is not set correctly in registry.

Resolution

Check MySQL_DB_HOST value in registry:

    HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\PLESK\\PSA Config\\Config

Note: this key is used for 64bit system.

Make sure that MySQL_DB_HOST sets correctly to valid existing MSSQL instance (for example, .\SQLEXPRESS). If it is not so, please correct instance and restart Plesk Services and MSSQL server.

Have more questions? Submit a request
Please sign in to leave a comment.