[Oledb-dev] Postgre OLE DB
Victor Snezhko
snezhko at indorsoft.ru
Wed Oct 25 16:56:26 UTC 2006
"Csala Ferenc" <csalasoft at gmail.com> writes:
> Hi all!
>
> I should to connect POSTGRE SQL with ole db, but I get error message.
>
> Environment:
> - Windows XP SP2
> - PgOleDb 1.0.020
> - udl file the next content:
> [oledb]
> ; Everything after this line is an OLE DB initstring
> Provider=PostgreSQL OLE DB Provider;Password=read;User
> ID=readonly;Data
> Source=192.168.5.10:5432;Location=dirteszt;Extended Properties=""
>
> - when I try to TEST CONNECTION I get Microsoft Data Link Error:
> TEST connection failed because of an error in initializing provider.
> Unspecified error.
BTW, does anybody know the reason why the error reporting object fails
to be created sometimes (causing unspecified errors such as this one)?
CoCreateInstance sometimes succeeds, sometimes returns E_NOINTERFACE,
and I still can't figure out why...
--
WBR, Victor V. Snezhko
E-mail: snezhko at indorsoft.ru
More information about the Oledb-devel
mailing list