Problem

Problem

Postby Wojtek » Sun 20 Nov 2005 19:03

Hi,
I am (still) using VS 2005 Beta 2 8.0.50215.44.

I recently upgraded to PostgreSQLDirect .NET Data Provider version 2.20.12 (17.10.05).
After uninstalling previous version (that worked fine!) and installing 2.20.12 version VS failed to load PostgreSQLDirect add-on at startup with following error message:

"The Add-in PostgreSql Direct .NET add-in failed to load or caused an exception. Would you like to remove this Add-in ? If you choose yes , you will need to reinstall the Add -in to use it again.
Error message:
Error number:80131040"


Any idea how to fix this ?

Wojtek
Wojtek
 
Posts: 14
Joined: Sun 20 Nov 2005 18:51
Location: Warsaw

Postby SecureGen » Mon 21 Nov 2005 09:23

There is new version of PostgreSQLDirect .NET 2.40 Beta available. This version works with Visual Studio 2005 release and supports PostgreSQL 8.1 server. It is recommended to use this version in your projects.
If you need version that works with VS 2005 beta2 you can use PostgreSQLDirect .NET 2.20.12. You can use this version in the following way:
1. Install PostgreSQLDirect .NET 2.20.12.
2. Create the file *.reg and fill it with the following contents:
REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}]
@="CoreLab.PostgreSql.Addin.PgSqlAddin"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}\Implemented Categories]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}\InprocServer32]
"CodeBase"="file:///D:\Program Files\CoreLab\PostgreSQLDirect.NET2\CoreLab.PostgreSql.Addin.dll"
"RuntimeVersion"="v2.0.50215"
"Assembly"="CoreLab.PostgreSql.Addin, Version=2.20.12.0, Culture=neutral, PublicKeyToken=09af7300eec23701"
"Class"="CoreLab.PostgreSql.Addin.PgSqlAddin"
"ThreadingModel"="Both"
@="mscoree.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}\InprocServer32\2.20.12.0]
"CodeBase"="file:///D:\Program Files\CoreLab\PostgreSQLDirect.NET2\CoreLab.PostgreSql.Addin.dll"
"RuntimeVersion"="v2.0.50215"
"Assembly"="CoreLab.PostgreSql.Addin, Version=2.20.12.0, Culture=neutral, PublicKeyToken=09af7300eec23701"
"Class"="CoreLab.PostgreSql.Addin.PgSqlAddin"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{3C42BCE1-3F8C-4e3b-A70A-DB4E59935432}\ProgId]
@="CoreLab.PostgreSql.Addin.PostgreSqlAddin.8"

3. Lunch this file in windows explorer program.
4. Run VS2005beta2.
SecureGen
Devart Team
 
Posts: 133
Joined: Thu 08 Sep 2005 06:27


Return to dotConnect for PostgreSQL