My problem was entirely different. I found via dependency walker that some windows DLLs were missing from my machine
IIS 7.5 does not write NLog (maybe due to permissions)?
Вопрос
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
- Full rights to the log directory for NLog
- 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
Другие советы
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.
Не связан с StackOverflow