Cast problem in Postgres 9.0
Posted: Wed 19 Mar 2014 12:22
Hello,
I'm using Postgres 9.0 and dotConnect 7.2.103. When executing a query with Entity Framework is returned the following error:
I'm using Postgres 9.0 and dotConnect 7.2.103. When executing a query with Entity Framework is returned the following error:
What can I do to solve the problem?failed to find conversion function from unknown to text
Description: An unhandled exception occurred During the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Devart.Data.PostgreSql.PgSqlException: failed to find conversion function from unknown to text
Stack Trace:
[PgSqlException (0x80004005): failed to find conversion function from unknown to text]
Devart.Data.PostgreSql.ae.f(ac A_0) +179
Devart.Data.PostgreSql.ac.n() +216
Devart.Data.PostgreSql.PgSqlCommand.InternalPrepare(Boolean implicitPrepare, Int32 startRecord, Int32 maxRecords) +1094
Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery) +838
Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior) +43
System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +10
Devart.Data.PostgreSql.Entity.r.a(CommandBehavior A_0) +356
Devart.Common.Entity.ab.b(CommandBehavior A_0) +51
Devart.Data.PostgreSql.Entity.r.b(CommandBehavior A_0) +47
System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +10
System.Data.Entity.Infrastructure.Interception.<>c__DisplayClassb.<Reader>b__8() +69
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(Func`1 operation, TInterceptionContext interceptionContext, Action`1 executing, Action`1 executed) +93
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) +320
System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) +240
System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +10
System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +97