The TDS RPC is FUBAR? You don't say.

I just got this message in an exception...

"The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 5 ("@Amount"): The supplied value is not a valid instance of data type float. Check the source data for invalid values. An example of an invalid value is data of numeric type with scale greater than precision."

Turned out I'd divided by zero, and attempted to send the result to a stored procedure.

Such a peculiar error message: by turns cryptic, descriptive, informative. Just thought I'd share it. ;-)

 

I'm currently writing a book about how to build your first product. If you want to build your first product, please sign up to be notified when the book is available.

(By the way, I read every comment and often respond.)

Your comment, please?

Your Name
Your Url (optional)
Note: I may edit, reuse or delete your comment. Don't be mean.