I\'m getting the following error when calling a stored procedure:
Cannot find the object \"XXX\" because it does not exist or you do not have permission.
I\'
I meet this issue too. In my case, I granted execution permission just after creating stored procedure. And there is no 'GO' between the two statements. I added GO, and it works.