This is a migrated thread and some comments may be shown as answers.

Error:The incoming tabular data stream(TDS)

1 Answer 197 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
rajender
Top achievements
Rank 1
rajender asked on 30 Jul 2010, 10:55 AM
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)

1 Answer, 1 is accepted

Sort by
0
Accepted
PetarP
Telerik team
answered on 30 Jul 2010, 04:10 PM
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
Tags
Getting Started
Asked by
rajender
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or