Hi,
I have written an Event Handler that creates a Document ID when a document is uploaded to a Document Library. It also writes to the Application Log Event Log when things go wrong. This works fine when debugging locally on the Test server but when a user tries to upload a document to the document library locally from their machines the code runs but it is unable to write to the Event log on the server. It gets the following error:
I have written an Event Handler that creates a Document ID when a document is uploaded to a Document Library. It also writes to the Application Log Event Log when things go wrong. This works fine when debugging locally on the Test server but when a user tries to upload a document to the document library locally from their machines the code runs but it is unable to write to the Event log on the server. It gets the following error:
: Cannot open log for source 'CreateDocID.ItemUpdated.Override'. You may not have write access.
Is it a requirement to elevate privileges to write to the event log?