Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The formal parameter "@VersionLevel" was not declared as an OUTPUT parameter,
but the actual parameter passed in requested output.
Posted

1 solution

The error message clearly tells you the issue.
In your stored procedure, you have to change the @VersionLevel type as OUTPUT.
OR
While calling the stored procedure you should not mention OUTPUT after @VersionLevel.

EDIT
---------
Forgot to tell you, it depends based on your requirement(choosing one of the above two options).
 
Share this answer
 
v2
Comments
Naresh1277 8-Oct-13 9:32am    
Thanks;;
But i need that @VersionLevel but the parameter next to it is output param , and i have added a new param,, which is causing the problem
thatraja 8-Oct-13 10:02am    
Solved? It would be better if you have added more details in your question which could give you quick answer.
Naresh1277 9-Oct-13 0:08am    
yes it's solved

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900