The logon user cannot access the database created during a previous installation

  • ID de l'article 116694
  • Mis à jour : 27 févr. 2012

Issue

When upgrading the database component of Enterprise Console 4.x to version 5.x the installation fails on the pre-checks page of the installer with the following error:

The logon user cannot access the database created during a previous installation.

The following error message is also shown in the 'Sophos_bootstrap [date] [time].log' file found in the installing users temp location (%temp%).

16/01/2012 10:52:59, INFO : Validating whether logged on user can access the selected sql instance...
16/01/2012 10:53:00, INFO : There is not a SOPHOS instance on the local machine
16/01/2012 10:53:00, INFO : Uninitialized COM in SQL server searcher thread
16/01/2012 10:53:16, ERROR : COM error. Connection string: Provider='sqloledb'; Data
Source='(local)\MSSQLSERVER'; Initial Catalog='master'; Integrated Security='SSPI'; - Error: Unspecified error, Description: [DBNETLIB][ConnectionOpen (ParseConnectParams()).]Invalid connection.
16/01/2012 10:53:16, ERROR : System Property Check: Logged on user must have access to the database to upgrade it - FAILED

Note: This issue is also mentioned in article 113945.

First seen in

Enterprise Console 5.0.0

Cause

This error occurs when using a default named SQL Server instance (sometime referred to by the instance name 'MSSQLSERVER') as it is unable to accept connections using the format '(local)\MSSQLSERVER'.

What to do

If you wish to confirm you have the issue described in this article see the Technical Information section below.

To enable the upgrade to complete, please do the following on your SQL Server machine:

  1. Open Regedit (Start | Run Type: Regedit.exe | Press Return)
  2. Browse to HKLM\Software\Sophos\EE\Management Tools\Database Installer
  3. Edit the registry string 'Instance'
  4. Delete the value 'MSSQLSERVER' and click OK
  5. Run the Enterprise Console installer.  

Technical Information

  1. Create a .UDL file on the desktop of the SQL server, e.g. 'testcon.udl'
  2. Open the UDL file and go to the 'Provider' tab
  3. Select 'Microsoft OLE Provider for SQL Server' and click next
  4. At section 1 type in (local)\MSSQLSERVER
  5. At section 2 select 'Windows NT Integrated Security'
  6. At section 3 attempt to select a database
  7. It should fail with error: Invalid connection.

For further information on how to create a UDL file see article 65525.

 
Si vous avez besoin de plus d'informations ou d'instructions, veuillez contacter le support technique.

Évaluez cet article

Très mauvais Excellent

Commentaires