I am currently writing code to execute SQL Server 2000 Stored procedured
using the ODBC.NET SQL Server Driver.
The particular stored procedure I am using has multiple paramaters which
I have created in my code (OdbcParamater objects), these are then being
added to the Command objects paramaters, however when it comes to
running the SP the paramaters are not present and the following
exception is thrown
06/01/2005|22:49:23.156|SQLSRV32.DLL|ERROR [42000] [Microsoft][ODBC SQL
Server Driver][SQL Server]Procedure 'ts3_LoadFDDTxn' expects parameter
'@RecordType', which was not supplied.
The trace from SQL Profiler shows the SP being called with paramaters
yet the Command object does have the paramaters
Has anyone else had this or a similair problem ?
Any help is most appreciated
Stuart Ferguson
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!