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\'
Always use the dbo. (or other schema) prefix both when creating and when accessing objects.
dbo.
I wrote about this very topic recently: