October 10, 2011 at 12:41 am
hi, i have a weekly job that rebuilds my indexes, for the past two weeks the job has been failing with the errror:
Executed as user: domain\serviceaccount. Cannot find index 'IX_ddr_BI_EmployeesDIM'. [SQLSTATE 42S21] (Error 2727). The step failed.
I have double checked the index exists.
When i invoke the job manually it succeeds.
The job rebuilds indexes via a stored procedure.
please help.
October 12, 2011 at 6:23 pm
Just check if the job is pointing to the correct database.
October 12, 2011 at 8:19 pm
Check to see if there are other jobs with that same service account that are failing or if anything else uses that account where the permissions could have changed at the domain level. If it is the same service account on the domain as the service, then not the issue. When you manually invoke the procedure, try to log in with the credentials as the service account using sql authentication instead of windows.
October 12, 2011 at 11:23 pm
matt.newman (10/12/2011)
Check to see if there are other jobs with that same service account that are failing or if anything else uses that account where the permissions could have changed at the domain level. If it is the same service account on the domain as the service, then not the issue. When you manually invoke the procedure, try to log in with the credentials as the service account using sql authentication instead of windows.
I agree with Matt. please check with permissions
Sagar Sonawane
** Every DBA has his day!!:cool:
October 12, 2011 at 11:55 pm
Thank you all.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply