Error with table parameter

I get an error message:

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

What could it be?

I have a stored procedure (sql server 2008 r2) with the table-value parameter. I am using ado.net to work with this procedure. But I get an error when trying to use this procedure.

I can not find the error description on the Internet ...

+3
source share
1 answer

SqlParameter.TypeName is (from MSDN):

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1

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

+1
source

All Articles