Hi Team,
One one user getting below error while executing the SP from the database.
"The EXECUTE permission was denied on the object 'xp_logevent', database 'mssqlsystemresource', schema 'sys'
Login: AD Group name
Access granted to Login are:
DB_Owner On Master
Data reader, writer , all SQL Agent roles, SSIS Admin roles on MSDB database.
DB_Ower, execute role on user database where SP is exist,
Things I did from google are:
grant execute on xp_logevent to [domain\AD Group]
Added login group on Binn folder where Msssqlsystemresourse databases files exist and granted read/execute.
Executed in different ways:
Use master
Exec [FMG_EXO].[dbo].[FSG_LogEvent_FMGEXO] 'FMG_EXO_CreateSpreadsheet_Error_Check','E','FMGEXO_ERROR','7779','FMGEXO files are currently qued longer than the maximum time limit'
or
USE [FMG_EXO]
Exec [dbo].[FSG_LogEvent_FMGEXO] ...