문제

I have my webserver (IIS 7.5) on windows server 2008 R2. The Nlog on my server does not write any log files. To resolve the issue I have tried

  1. Full rights to the log directory for NLog
  2. Switched off IE enhanced Security

I can see that my AppPool is started in task manager - processes with the DefaultAppPool user. I have tried everything I know and can't understand what could be wrong. Please help.

도움이 되었습니까?

해결책 2

My problem was entirely different. I found via dependency walker that some windows DLLs were missing from my machine

다른 팁

Have you tried the troubleshooting steps listed here:

https://github.com/nlog/nlog/wiki/Logging-troubleshooting

I have found that <nlog throwExceptions="true"> in particular usually provides quite a lot to work with.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top