ODBC data source error message for operation : <[Microsoft][SQL Server Native Client 10.0][SQL Server]The
DBS-070401 incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 17 (""): Data type 0x2A
DBS-070401 has an invalid precision or scale.>.
If i change the driver to Sql server 2005 the DF works fine .
Datatype which is giving the error is a datetime of length 8
We’ve had all sorts of problems with datetime fields with DI 12.2 after upgrading to SQL 2008.
From what we can tell… It seems as though if DI detects the database as SQL 2008, it tries to force the datatype to always be a datetime2, which is too big for the database field of datetime. I think it’s trying to be too clever.
Even if the database server is set to 2005 compatibility mode, if it’s on a 2008 server, it seems to behave this way. (DI must be checking the server version, rather than the database version, defined in the datastore.) And even if you leave the datastore connection type as SQL 2005 (And don’t change to SQL 2008.