This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Enterprise console will not load

One of our Enterprise console stations will no longer load Management Console.  Yesterday morning I was able to get it to load but when I tried any function within, even a sort, it would crash out and give error, "Management server connnection failed"  This server is where the databases are stored, there is not another server it needs to talk to.

Further investigation showed:

Sophos Management Service was setup to LocalSystem login and was stopped.  I can start without errors, but now when I try to load console it crashes with same error and the service is stopped.  System events shows connect is available and service is stopped.

I discovered that there is a predictive failure on one of the drives on this server and we plan to resolve this issue with new drive today or tomorrow.

Server configuration:

Windows server 2003 SP2 with latest updates

Enterprise Console version 3.0

Sophos EM Library version 1.3.2 (build23)

:5300


This thread was automatically locked due to age.
Parents
  • Sophos.Management.GeneralException: Unexpected error while trying to open a connection. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The system cannot find the file specified.
    File name: 'System.EnterpriseServices.Wrapper.dll' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The system cannot find the file specified.
    File name: 'System.EnterpriseServices.Wrapper.dll' ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)


       at System.EnterpriseServices.ContextUtil.get_IsInTransaction()
       at System.Transactions.Transaction.JitSafeGetContextTransaction(ContextData contextData)
       at System.Transactions.Transaction.FastGetTransaction(TransactionScope currentScope, ContextData contextData, Transaction& contextTransaction)
       at System.Transactions.Transaction.GetCurrentTransactionAndScope(Transaction& current, TransactionScope& currentScope, ContextData& contextData, Transaction& contextTransaction)
       at System.Transactions.Transaction.get_Current()
       at System.Data.ProviderBase.DbConnectionPool.GetFromTransactedPool(Transaction& transaction)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       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()


       --- End of inner exception stack trace ---
       at Sophos.Management.Data.SqlConnectionContext.OpenConnection()
       at Sophos.Management.Data.OpenConnectionScope..ctor(IConnectionOpener opener)
       at Sophos.Management.Data.SqlConnectionContext.CreateOpenConnectionScope()
       at Sophos.Management.Data.GeneralCommand.ExecuteAndReturnDataTableImpl()
       at Sophos.Management.Data.Utils.ExecuteAndHandleTransientErrors(ISqlConnectionContext scc, MethodThatMayThrowTransientError methodToCall)
       at Sophos.Management.Data.GeneralCommand.ExecuteAndReturnDataTable()
       at Sophos.Management.Data.CrudPersister.ExecuteAndReturnDataTable(GeneralCommandMetadata commandMetadata)
       at Sophos.Management.Data.Common.PolicySql.FetchAllByType(Int32 type)
       at Sophos.Management.Data.Common.Dali.PolicyDao.FetchAllByType(Int32 type)
       at Sophos.Management.Services.Sddma.SubscriptionPolicyRepository.GetAll()
       at Sophos.Management.Services.Sddma.SubscriptionPolicyRepository.<GetAllSubscriptionPolicies>d__6.MoveNext()
       at System.Runtime.InteropServices.CustomMarshalers.EnumVariantViewOfEnumerator.Next(Int32 celt, Object[] rgvar, IntPtr pceltFetched)

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

    :12587
Reply
  • Sophos.Management.GeneralException: Unexpected error while trying to open a connection. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The system cannot find the file specified.
    File name: 'System.EnterpriseServices.Wrapper.dll' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The system cannot find the file specified.
    File name: 'System.EnterpriseServices.Wrapper.dll' ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)


       at System.EnterpriseServices.ContextUtil.get_IsInTransaction()
       at System.Transactions.Transaction.JitSafeGetContextTransaction(ContextData contextData)
       at System.Transactions.Transaction.FastGetTransaction(TransactionScope currentScope, ContextData contextData, Transaction& contextTransaction)
       at System.Transactions.Transaction.GetCurrentTransactionAndScope(Transaction& current, TransactionScope& currentScope, ContextData& contextData, Transaction& contextTransaction)
       at System.Transactions.Transaction.get_Current()
       at System.Data.ProviderBase.DbConnectionPool.GetFromTransactedPool(Transaction& transaction)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       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()


       --- End of inner exception stack trace ---
       at Sophos.Management.Data.SqlConnectionContext.OpenConnection()
       at Sophos.Management.Data.OpenConnectionScope..ctor(IConnectionOpener opener)
       at Sophos.Management.Data.SqlConnectionContext.CreateOpenConnectionScope()
       at Sophos.Management.Data.GeneralCommand.ExecuteAndReturnDataTableImpl()
       at Sophos.Management.Data.Utils.ExecuteAndHandleTransientErrors(ISqlConnectionContext scc, MethodThatMayThrowTransientError methodToCall)
       at Sophos.Management.Data.GeneralCommand.ExecuteAndReturnDataTable()
       at Sophos.Management.Data.CrudPersister.ExecuteAndReturnDataTable(GeneralCommandMetadata commandMetadata)
       at Sophos.Management.Data.Common.PolicySql.FetchAllByType(Int32 type)
       at Sophos.Management.Data.Common.Dali.PolicyDao.FetchAllByType(Int32 type)
       at Sophos.Management.Services.Sddma.SubscriptionPolicyRepository.GetAll()
       at Sophos.Management.Services.Sddma.SubscriptionPolicyRepository.<GetAllSubscriptionPolicies>d__6.MoveNext()
       at System.Runtime.InteropServices.CustomMarshalers.EnumVariantViewOfEnumerator.Next(Int32 celt, Object[] rgvar, IntPtr pceltFetched)

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

    :12587
Children
No Data