Npgsql.NpgsqlException: No such host is known

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
10/16/2007 11:19:05 AM
Gravatar
Total Posts 7

Npgsql.NpgsqlException: No such host is known

Hi, I am trying install MojoPortal 2.2.3.6 for mono, i use grokthis hosting with PostgreSQL 8.1 and Mono 1.2.4. My database server is locahost. I have got this error, somebody have any idea about this error?

Probing system...
File system permissions ok.
The system cannot connect to the pgsql database. Please check your connection string.

Npgsql.NpgsqlException: No such host is known at Npgsql.NpgsqlClosedState.Open (Npgsql.NpgsqlConnector context) [0x00000] at Npgsql.NpgsqlConnector.Open () [0x00000] at Npgsql.NpgsqlConnectorPool.GetNonPooledConnector (Npgsql.NpgsqlConnection Connection) [0x00000] at Npgsql.NpgsqlConnectorPool.RequestConnector (Npgsql.NpgsqlConnection Connection) [0x00000] at Npgsql.NpgsqlConnection.Open () [0x00000] at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlConnection:Open () at mojoPortal.Data.dbPortal.DatabaseHelper_GetConnectionError (System.String overrideConnectionString) [0x00000]

10/16/2007 11:26:39 AM
Gravatar
Total Posts 18439

Re: Npgsql.NpgsqlException: No such host is known

Are you sure there is no mistake in your connection string. It should probably be "localhost" not "locahost", or you could try 127.0.0.1

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.