views:

19

answers:

0

Hello all,

I'm using FreeTDS driver for connecting to MSSQL server. I'm getting this error when trying to insert a new row into one of the tables.

Can't insert new ABC::XYZ : DBD::FreeTDS::st execute failed: Server message number=8009 severity=16 state=1 line=1 server=SERVERNAME text=The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 4 (""): Data type 0xFF is unknown. [for Statement "INSERT INTO mytable (name, id, something, foreign_id) VALUES (?, ?, ?, ?) SELECT @@IDENTITY .. ..

Any idea what could be wrong. I'm trying to insert a bunch of rows into the table one by one through a script. Some rows get inserted and after that I get this error. Surprisingly this happens for different rows at different times.

Thanks