Вопрос

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