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've checked the database and the SP is there with the correct permissions yet I'm still getting the error.
Any suggestions?