Error:The incoming tabular data stream(TDS)

2 posts, 1 answers
  1. rajender
    rajender avatar
    1 posts
    Member since:
    Jul 2010

    Posted 30 Jul 2010 Link to this post

    Hi,

    While I am going to save new entity  through

    dbContext.Add(scheduleDetailsEntity);
                        dbContext.SaveChanges();

    It is throwing following error:

    Telerik.OpenAccess.Exceptions.DataStoreException: Insert of '1266951008-' failed: Telerik.OpenAccess.RT.sql.SQLException: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 13 ("@p9"): Data type 0xE7 has an invalid data length or metadata length.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
       at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
       at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
  2. Answer
    PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 30 Jul 2010 Link to this post

    Hello rajender,

     This was a bug that was reported and fixed several days ago. You will find it fixed in our next internal build. 
    The bug is caused by trying to insert null into a nvarchar column. As a temporary workaround I can suggest you to use String.Empty as value for those fields.
    We are sorry for any inconvenience this might be causing.

    Best wishes,
    Petar
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top