سؤال

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