Erro de conexão ao Publicar

Erro de conexão ao Publicar

  
Ola a todos,

eu estava conseguindo publicar o eSpace no Service studio 9.0.0.23 e de repente não publicou, ocorreu o erro:

Internal Error
 
Invalid compiler output.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. 
Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider,
 error: 40 - Could not open a connection to SQL Server)
 
Exception Details:
[1] Internal Error: Invalid compiler output.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass2.<Compile>b__1()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
[2] System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): O caminho da rede não foi encontrado
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at OutSystems.HubEdition.Extensibility.Data.TransactionService.BaseTransactionService.GetConnection()
   at OutSystems.HubEdition.Extensibility.Data.TransactionService.BaseTransactionService.CreateConnection(Int32 numRetries)
   at OutSystems.HubEdition.DatabaseProvider.SqlServer.DatabaseObjects.DatabaseObjectFactory.ParseQualifiedTableName(String qualifiedName, String& linkedServer, String& catalog, String& schema, String& table)
   at OutSystems.HubEdition.DatabaseProvider.SqlServer.DatabaseObjects.DatabaseObjectFactory.CreateTableSourceInfo(String qualifiedName)
   at OutSystems.HubEdition.Compiler.AbstractEntity.get_TableInfo()
   at OutSystems.HubEdition.Compiler.AbstractEntityAction.#u1c()
   at #V3b.#gdb.#G1c.#D1c(TextWriter writer, String sqlVarName, String outputParameterName, RetrieveIdMethod& retrieveIdMethod)
   at #V3b.#gdb.#G1c.#F1c(TextWriter writer, String transactionVarName)
   at #V3b.#gdb.#I1c.DumpBody(TextWriter writer, Boolean& outputIsRefParmHolder)
   at #V3b.#xJc.DumpDecl(TextWriter writer)
   at OutSystems.HubEdition.Compiler.ESpace.DumpExtendedActions(TextWriter writer, IEnumerable`1 extendedActions, Boolean addExtendedActionsClass)
   at OutSystems.HubEdition.Compiler.ESpace.DumpEntitiesCSharp()
   at OutSystems.HubEdition.Compiler.ESpace.DumpEntities()
   at OutSystems.HubEdition.Compiler.ESpace.Dump()
   at OutSystems.HubEdition.Compiler.Compiler.InnerCompile(CompilationContext context)
   at OutSystems.HubEdition.Compiler.Compiler.Compile(CompilationContext context)
ClientConnectionId:00000000-0000-0000-0000-000000000000
[3] System.ComponentModel.Win32Exception (0x80004005): O caminho da rede não foi encontrado.

Porém, estou conseguindo me conectar ao SQL Manegement Studio e ao servidor normalmente, ao abrir o
configuration tool e testar as conexões estão todas OK, ja tentei parar e reiniciar o Outsystem e até mesmo reiniciar o servidor, mas problema continua.
Alguem ja passou por este problema e saberia como resolver?
Obrigado.  
Hi Ango,

Pelos detalhes do erro o problema não é na base de dados da plataform, mas sim com a configuração de uma Database Connection.
Existem Database Connections para base de dados externas configuradas no Service Center?



Cumprimentos,
João Rosado
Ola João,

verifiquei o database catalogs e estava ok,
estão fiz outros testes no servidor e identifiquei que o problema estava ao tentar fazer conexões para fora do servidor, pois utilizo a base de dados em um servidor externo da Amazon.
Para resolver, deletei as rotas e adicionei novamente, pois o servidor foi desligado, feito isso voltou a publicar novamente.

mesmo assim, agradeço a atenção.
abraço