[Oledb-dev] CoCreate of DSO for PostgreSQL.1 returned 0x80040154

Merijn Evertse merijn at sara.nl
Wed Apr 26 09:53:34 UTC 2006


Hi,

I installed PgOleDb 1.0.0.20 on MSSQL 2000 (SP4) on Windows 2003 and am
trying to access a PostgreSQL database.
The provider string i used is: 
Provider="PostgreSQL";Data Source=<fqdn>";location="<dbname>;User
ID=<username>;password=<pass>;timeout=600;

And when i try i run a query like:
Select * from openquery(SERVER, 'select * from table)

I get the following error:
Could not create an instance of OLE DB provider 'PostgreSQL.1'.
OLE DB error trace [Non-interface error:  CoCreate of DSO for
PostgreSQL.1 returned 0x80040154].

The DLL is registered, and it succeeded. Also the registry entries are
there, and when i add the logging entries a logfile gets created.
The logfile contains after each try the following lines:
Starting logging
IDBPropertiesImpl::GetPropertyInfo
m_pCUtlPropInfo == NULL

What can i do to fix this problem?

Regards,

Merijn Evertse


More information about the Oledb-devel mailing list