Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with table-valued parameter

I get an error:

Method not found: 'Void System.Data.SqlClient.SqlParameter.set_TypeName(System.String)'

What it can be ?

I have a stored procedure (sql server 2008 r2) with table-valued parameter. I use ado .net for work with this procedure. But I get an error when I try to use this procedure.

I can't find an error description in internet ...

like image 714
KTT Avatar asked Apr 20 '26 19:04

KTT


1 Answers

SqlParameter.TypeName is (from MSDN):

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1

It sounds like you are trying to run it on a machine without the necessary service pack.

like image 169
Marc Gravell Avatar answered Apr 22 '26 19:04

Marc Gravell