Keyword not supported: 'Host'

Keyword not supported: 'Host'

Postby unreallity » Wed 15 Aug 2007 08:16

Hello,

I am evaluating postgresqldirect.net.

System:
CoreLab.PostgreSql.Web, Version=3.20.12.0
Mono 1.2.4
PostgreSql Version = 8.2.3
Operating System = OSX

Its not possible for me to use it at the moment. Other drivers, like ngpsql are working normally.

I use the following connection string in web.config:

Code: Select all


and following code in an aspx file:

Code: Select all
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="~/Controls/Test.ascx.cs" Inherits="Controls_Test" %>
<%@ Register Assembly="CoreLab.PostgreSql.Web, Version=3.20.12.0, Culture=neutral, PublicKeyToken=09af7300eec23701"
    Namespace="CoreLab.PostgreSql.Web" TagPrefix="cc1" %>
"
    ProviderName="<%$ ConnectionStrings:LocalPgSqlServer.providerName %>" SelectCommand='SELECT * FROM "Test"'>


Result is:
Keyword not supported: 'Host'


When changing 'Host' to Server, result is:
Keyword not supported: 'Schema'


When deleting 'Schema' attribute, i get:
HTTP 500. System.Net.Sockets.SocketException: Connection refused


Any help available?
unreallity
 
Posts: 3
Joined: Mon 13 Aug 2007 18:31

Postby Alexey » Thu 16 Aug 2007 09:31

Could you try to create simple application with PgSqlConnection component and open it. Will same error occur?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for PostgreSQL