Solution
This error occurs when for example, there is a mismatch e.g. in a model or database column name. Ensure that the names of the parameters given in C# (where the call to procedure is given) match with those in the procedure(in database)
Say Bye to Bugs
This error occurs when for example, there is a mismatch e.g. in a model or database column name. Ensure that the names of the parameters given in C# (where the call to procedure is given) match with those in the procedure(in database)
Another reason could be that you are trying to insert data into a log table in DB and you have set its identity specifications on.
So, DO NOT SET ANY CONSTRAINTS for any column of a log table. (e.g. no identity,primary or foreign key constraint)
LikeLike