-
Thanks, good advice. There are five float fields which produce this error...
2008-08-21 13:56:40 UTC in Gentle.NET Object Persistence Framework
-
Gentle 1.2.9
I'm trying to port an existing project from .NET 1.1/VS 2003 to .NET 2.0/VS 2008. I'm able to create and save other persistence objects. Only this on fails. It has about 68 columns in the back-end table. The objects source is about 6k lines...
As I'm trying to narrow it down, I'm currently stuck as I don't can determine how and when (IDbCommand) cmd in SqlStatement is created...
2008-08-21 12:07:05 UTC in Gentle.NET Object Persistence Framework
-
I've tracked it down to Gentle.Framework.SqlStatement:
--
internal SqlResult Execute( IDbConnection conn, IDbTransaction tr )
..
case StatementType.Insert:
..
sr = new SqlResult(broker, cmd.ExecuteScalar(), this);
--
The (IDbCommand) cmd.ExecuteScalar() throws the error. It tries to execute a command like this:
insert into tableName (field1, .., fieldN)
values (@field1...
2008-08-21 10:07:20 UTC in Gentle.NET Object Persistence Framework
-
Broker.Insert(myObject) throws the following exception:
[System.Data.SqlClient.SqlException]:
{"Der eingehende Tabular Data Stream (TDS) für das RPC-Protokoll (Remote Procedure Call) ist nicht richtig. Parameter 27 (\"@MembraneWidth_All\"): Der angegebene Wert ist keine gültige Instanz des float-Datentyps. Überprüfen Sie die Quelldaten im Hinblick auf ungültige Werte. Ein...
2008-08-20 14:54:59 UTC in Gentle.NET Object Persistence Framework