error
Procedure or function sp_register has too many arguments specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Data.SqlClient.SqlException: Procedure or function sp_register has too many arguments specified.
Source Error:
| Line 38: paramout.Direction = ParameterDirection.Output; Line 39: objCmd.Parameters.Add(paramout); Line 40: objCmd.ExecuteNonQuery(); Line 41: string outmsg = paramout.SqlValue.ToString(); Line 42: return outmsg; |
Ravi ShekharPosted Apr 25, 2013, 6:27 AM
How can i share ??
Please share your sp and the block of code where you use sp.
Jignesh TrivediPosted Apr 25, 2013, 5:49 AM
hi,
can please share your SP and Piece of C# code.
so that we can help you to resolve issue.
Ravi ShekharPosted Apr 25, 2013, 4:58 AM
Check no of parameters in Sp . and in Application where you passing parameters .
Vishal GilbilePosted Apr 25, 2013, 4:12 AM
1. count of both are same
2. in proper order
3. type of parameter and their directions.