Entity Error

Entity Error

Postby halley73to » Tue 24 Nov 2009 15:09

Hi,
i've downloaded the 5.35 final version.

When i try to add a new item to my table and i do SaveChanges i receive this error:

System.Data.UpdateException è stata individuata
Message="Errore durante l'aggiornamento delle voci. Per ulteriori informazioni, vedere InnerException."
Source="System.Data.Entity"
StackTrace:
in System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
in System.Data.Objects.ObjectContext.SaveChanges(Boolean acceptChangesDuringSave)
in MagazzinoBC.XtraForm_EditCategorieProdotto.barLargeButtonItem_Salva_ItemClick(Object sender, ItemClickEventArgs e) in C:\Progetti\MagazzinoBC_EF\MagazzinoBC\XtraForm_EditCategorieProdotto.cs:riga 50
InnerException: System.Data.EntityCommandCompilationException
Message="Errore durante la preparazione della definizione del comando. Per ulteriori informazioni, vedere l'eccezione interna."
Source="System.Data.Entity"
StackTrace:
in System.Data.Mapping.Update.Internal.UpdateTranslator.CreateCommand(DbModificationCommandTree commandTree)
in System.Data.Mapping.Update.Internal.DynamicUpdateCommand.CreateCommand(UpdateTranslator translator, Dictionary`2 identifierValues)
in System.Data.Mapping.Update.Internal.DynamicUpdateCommand.Execute(UpdateTranslator translator, EntityConnection connection, Dictionary`2 identifierValues, List`1 generatedValues)
in System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter)
InnerException: System.ArgumentException
Message="Can not convert."
Source="Devart.Data.Oracle"
StackTrace:
in Devart.Data.Oracle.OracleUtils.a(Object A_0, OracleDbType A_1, Boolean A_2)
in Devart.Data.Oracle.Entity.c.Clone()
in Devart.Data.Oracle.Entity.h.a.o()
in System.Data.Common.DbCommandDefinition.CreateCommandDefinition(DbCommand prototype)
in Devart.Data.Oracle.Entity.OracleEntityProviderServices.CreateDbCommandDefinition(DbProviderManifest providerManifest, DbCommandTree commandTree)
in System.Data.Common.DbProviderServices.CreateCommand(DbCommandTree commandTree)
in System.Data.Mapping.Update.Internal.UpdateTranslator.CreateCommand(DbModificationCommandTree commandTree)
InnerException:

What can be?
halley73to
 
Posts: 29
Joined: Wed 07 Oct 2009 07:24

Postby AndreyR » Tue 24 Nov 2009 15:28

Thank you for the report, we have already reproduced the problem.
It is discussed here:
http://www.devart.com/forums/viewtopic.php?t=16465
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for Oracle