I have windows service which will execute a STORED PROCEDURE during a time period, fetches email IDs from DB and will send emails to them.
I am passing only one argument @ValidTillDays INT.
I made this service run on each day.
If its running for 3 days, then for the first day it executes perfectly.
For the second day and remaining all days it gives following error.
Procedure or function "BlaBlaBla" has too many arguments specified.
I have only one input parameter and I am passing only one too.
And if this was the case it could have given the error for the first time also.
Please help me if you find any clue .