Hi there..
I was working on writing the code for syncjob(AD to SP 2013) on remote server 2008 r2.
I've written a custom timer job and all of sudden I lost access to my SP Central Administration and I am seeing this below message.
Server Error in '/' Application.
Access is denied.
And in the event logs I found this below message.
The Execute method of job definition Microsoft.SharePoint.Administration.SPUsageImportJobDefinition (ID 55784fcc-ebbf-4fd6-9ec4-fbd68f2e2ff0) threw an exception. More information is included below.
Access to the path 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS' is denied.
I tried looking when this event started and it was in the midnight, I don't see a connection how it started giving denial message in the night. I was working on it for days now, but why did it happen now??
My code for custom timer job has SPJobDefinition which my class inherits and also the 3 constructors and an exceute method.
What is the connection between all these pieces? Can someone please let me know your thoughts to resolve this?
Thanks