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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -