Could not find an entry for table or index with object ID %1 (partition ID %2) in database %3. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.