Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 8 ("@ParamName"): The supplied value is not a valid instance of data type numeric. Check the source data for invalid values.


what is the solution to remove this error ?

Dhammaratna
Posted
Comments
Sander Rossel 22-Feb-12 2:14am    
Post the code where this went wrong... We can't guess it!
Herman<T>.Instance 22-Feb-12 9:06am    
I see exactly the same error here.
So what version of .net framework and sql server do you use?
Dean Oliver 22-Feb-12 14:48pm    
Please post the code. may be a datatype mismatch. in other words for that particular value you are not passing in a numeric.

1 solution

There is a nice chart on MSDN that shows how to map SqlDbTypes to CLR types: Mapping CLR Parameter Data[^]. From what can be garnered from that page SqlDbType.Numeric is matched by the CLR type Decimal or Nullable<Decimal>.

Hope that will help you!

Regards,

Manfred
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900