0 Replies Latest reply: Jul 20, 2016 5:45 PM by Raul Pardo RSS

    Nprinting Npgsql error

    Raul Pardo

      I have setup an nprinting 17.1 server on my laptop but I´m getting the following error in the logs. Any Clue?

       

      I can ping localhost with no problem.

       

      Npgsql.NpgsqlException:

      Failed to establish a connection to 'localhost'.

         at Npgsql.NpgsqlClosedState.Open(NpgsqlConnector context, Int32 timeout)

         at Npgsql.NpgsqlConnector.Open()

         at Npgsql.NpgsqlConnectorPool.GetPooledConnector(NpgsqlConnection Connection)

         at Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(NpgsqlConnection Connection)

         at Npgsql.NpgsqlConnectorPool.RequestConnector(NpgsqlConnection Connection)

         at Npgsql.NpgsqlConnection.Open()

         at Qlik.NPrinting.Repo.Utils.NHibernateUtils.ExecuteCmd[T](String sql, String connectionString, Func`2 cmd) in c:\Jws\workspace\REL-NP-MS15-BRONZE-01-build\server\NPrinting\src\Repo\Utils\NHibernateUtils.cs:line 286

         at Qlik.NPrinting.Repo.Utils.NHibernateUtils.DatabaseExists(String host, Int32 port, String username, String password, String database) in c:\Jws\workspace\REL-NP-MS15-BRONZE-01-build\server\NPrinting\src\Repo\Utils\NHibernateUtils.cs:line 131

         at Qlik.NPrinting.Repo.Utils.NHibernateUtils.CreateNHibernateSessionFactory(String host, Int32 port, String username, String password, String database, DbAction dbAction, Configuration configuration, Boolean& isNewDb) in c:\Jws\workspace\REL-NP-MS15-BRONZE-01-build\server\NPrinting\src\Repo\Utils\NHibernateUtils.cs:line 75

      2016-07-20 15:02:12,054 [6] ERROR Qlik.NPrinting.Repo.Utils.NHibernateUtils - The database nprinting could not be queried.