Page 1 of 1

Property-Editors crash

Posted: Mon 22 Aug 2005 18:25
by ronaldbieber
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.

Property-Editors crash

Posted: Tue 23 Aug 2005 11:46
by Yuri
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.

Posted: Wed 24 Aug 2005 06:25
by ronaldbieber
This did not help.

Property-Editors crash

Posted: Thu 25 Aug 2005 11:43
by Yuri
Does another .NET non-standard components show normally?

Posted: Thu 25 Aug 2005 14:22
by ronaldbieber
Yes. I tried the Npgsql driver without problems.

Posted: Fri 26 Aug 2005 07:19
by Yuri
What CoreLab assemblies loaded into the bds process?
Try to add CoreLab.PostgreSql.Design.dll assembly into the GAC.

Posted: Sat 27 Aug 2005 13:27
by ronaldbieber
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.