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)?
Pregunta
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.
Solución 2
Otros consejos
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.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow