logging - How do I grant ASP.NET permissions to Write an Event Log entry -


i trying write application event log using eventlog.writeentry in system.diagnostics.

i have no problem on local machine, on virtual server, blows security error.

i tried default apppoolidentity, , under custom user created new apppool in iis_iusr group, without success.

on advice, gave permissions in regedit app pool user hkey_local_machine\system\currentcontrolset\eventlog

still no help.

any ideas?


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -