Error 0x80040300 shown when opening or using the console

  • Article ID: 118420
  • Rating:
  • 2 customers rated this article 2.5 out of 6
  • Updated: 01 Jul 2015


The console (local or remote) fails to open and in the 'Advanced' section you see the following error mentioned:

----- [outer exception] -----
-- error: 0x80040300
-- facility: Custom (Defined by the interface)

First seen in
Enterprise Console


'0x80040300' is a generic error and there are a number of reasons for the error to be shown.

The precise cause can be determined by checking the associated error text in the 'Advanced' window.

What To Do

The 'Advanced' windows will contain a long message which is the 'stack trace' output. You need to read the first parts of the message and use the table below to identify the cause and resolution of the problem.


  • In the examples below:
    • The name of the Sophos Management Server is called 'Win2008srv64'.
    • The account 'sophosUpdateaccount' is used for updating and not associated with any databases functions. The correct account for database communication is called 'sophosDBaccount'. See article 113954 for more information.
Substitute any mention of this information for your particular environment information when comparing errors.
  • It is recommended that you use the 'Copy' button to export the full error message and paste it into a text editor (e.g., Notepad.exe) to allow for easier reading.
Error Sophos.Management.GeneralException: Unexpected error while trying to open a connection. ---> System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.SqlClient.SqlConnection.Open()
at Sophos.Management.Data.SqlConnectionContext.OpenConnection()

Cause The connection to the database has been lost
What To Do Restart the SQL server service, and then restart the Sophos Management Service

Error Sophos.Management.GeneralException: Location with the address \\Win2008srv64\SophosUpdate not found.
at Sophos.Management.Services.Sddma.LocationRepository.GetByAddress(String address)
at Sophos.Management.Sddma.DownstreamPolicyObjectUpdater.UpdateObjectFromData
(DownstreamPolicy domainObject, DownstreamConfiguration data)
at Sophos.Management.Services.Sddma.DownstreamPolicyAssembler.UpdateDomainObject
(IComputerBasedPolicyDto dataTransferObject, DownstreamPolicy domainObject)
at Sophos.Management.Services.Sddma.DownstreamPolicyAssembler.CreateDomainObject
(IComputerBasedPolicyDto dataTransferObject)
at Sophos.Management.Services.Sddma.DownstreamPolicyRepository.GetByName(String policyName)
at Sophos.Management.Services.Sddma.DownstreamPolicyRepository.GetByServer(IServer server)
Cause The Sophos Update Manager cannot be found during the launch of the console
What To Do Close the console and restart the following services:
Sophos Agent
Sophos Update Manager
Sophos Management Service

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent