Writing to an event log in ASP.NET on Windows Server 2008 IIS7

前端 未结 5 1500
一整个雨季
一整个雨季 2020-12-05 02:55

I\'m trying to use log4net to write to a customer event log under IIS7 on Windows Server 2008 SP1. However, account doesn\'t seem to have access to write to the event log. D

5条回答
  •  忘掉有多难
    2020-12-05 03:05

    I'm using IIS 10, and set the pool identity to Local System

    see reference : https://stackoverflow.com/a/9067391/9975799

提交回复
热议问题