1 Aug 2005 15:27
Re: IIS Postgres ASP ADO - Problem
Joel Fradkin <jfradkin <at> wazagua.com>
2005-08-01 13:27:09 GMT
2005-08-01 13:27:09 GMT
James,
The odbc is not working well for me (I can connect but get intermittent
issues of the IIS server locking up in regards to connectivity).
My understanding is the snapshot version is the best odbc out at this time.
Also can you connect via pgadmin (IE have the hba and config files set to
allow external connections)?
My conection is not using dsn, but I did get dsn to work in testing.
My dsnless string is
Session("StringConn") =
"DRIVER={PostgreSQL};DATABASE=wazagua;SERVER=192.168.123.121;PORT=5432;UID=p
ostgres;PWD=;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersi
oning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=
0;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=0;CommLog=0;Optimizer=1;K
sqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;BoolsAsC
har=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;LFConversion=1;Up
datableCursors=1;DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinar
y=0;UseServerSidePrepare=0"
My test using dsn used
Session("StringConn") ="DSN=postgresql;" & _
"UID=postgres;" & _
"PWD=;" & _
"Database=wazuni;"
asp code to use connection is :
dim Arec, Acmd, SQL ,AConn
(Continue reading)
I expect to release in the next day or two.
/D
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo <at> postgresql.org so that your
message can get through to the mailing list cleanly
RSS Feed