I\'m getting the error when accessing a Stored Procedure in SQL Server
Server Error in \'/\' Application. Procedure or function \'ColumnSeek\' expects parame
I came across same issue. And my parameter was having null value. So I resolved by handling null value. If someone is not sure runtime value and want to handle null then simply use this. (And you don't want to change the SP/function.) E.g.
sp.Value = Template ?? (object)DBNull.Value;