Property-Editors crash

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
ronaldbieber
Posts: 4
Joined: Thu 04 Nov 2004 18:29

Property-Editors crash

Post by ronaldbieber » Mon 22 Aug 2005 18:25

Every Property-Editor, e.g. for Connection-Strings, Command-Text, Parameters... crashes when trying to open it.

You get an error-message "Die angegebene Umwandlung ist ungültig." with the following details:

Code: Select all

[5303EBE7]{dotnetcoreide90.bpl} DotNetPropInsp.TDotNetProperty.Edit (Line 891, "DotNetPropInsp.pas" + 1) + $39
[40009475]{rtl90.bpl   } System.@CheckAutoResult (Line 17428, "system.pas" + 6) + $0
[007B6500]{coreide90.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 835, "PropInsp.pas" + 18) + $1C
[00A3CF2D]{vclide90.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 980, "ideinsplistbox.pas" + 2) + $A
[0053CF02]{vcl90.bpl   } Controls.TWinControl.WndProc (Line 6673, "Controls.pas" + 51) + $4
[4003EEC0]{rtl90.bpl   } Classes.StdWndProc (Line 11456, "classes.pas" + 8) + $0
[77D18731]{user32.dll  } GetDC + $6A
[77D18811]{user32.dll  } GetDC + $14A
[77D189C8]{user32.dll  } GetWindowLongW + $122
[77D18A0B]{user32.dll  } DispatchMessageW + $A
Original components like SqlConnection don't show this behaviour.
I'm using Delphi 2005 update 3 and the latest PostgreSQLDirect .NET
2.11.9.0

Please help.

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Property-Editors crash

Post by Yuri » Tue 23 Aug 2005 11:46

This problem probably happens because CoreLab.PostgreSql.dll assembly is loaded not from GAC.
Please uninstall PostgreSQLDirect .NET and make sure there's no CoreLab.PostgreSql.dll. Reinstall PostgreSQLDirect .NET again.

ronaldbieber
Posts: 4
Joined: Thu 04 Nov 2004 18:29

Post by ronaldbieber » Wed 24 Aug 2005 06:25

This did not help.

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Property-Editors crash

Post by Yuri » Thu 25 Aug 2005 11:43

Does another .NET non-standard components show normally?

ronaldbieber
Posts: 4
Joined: Thu 04 Nov 2004 18:29

Post by ronaldbieber » Thu 25 Aug 2005 14:22

Yes. I tried the Npgsql driver without problems.

Yuri
Posts: 140
Joined: Mon 08 Nov 2004 12:07

Post by Yuri » Fri 26 Aug 2005 07:19

What CoreLab assemblies loaded into the bds process?
Try to add CoreLab.PostgreSql.Design.dll assembly into the GAC.

ronaldbieber
Posts: 4
Joined: Thu 04 Nov 2004 18:29

Post by ronaldbieber » Sat 27 Aug 2005 13:27

CoreLab.PostgreSql.PgSqlConnection
CoreLab.PostgreSql.PgSqlCommand

After adding CoreLab.PostgreSql.Design.dll assembly into the GAC
things work fine until now. How about doing this during installation
of the driver?

I'll continue with my application and look what happens.

Post Reply