Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Martin V
2016-08-10T15:51:48Z
I created a .Net assembly that uses nlog to write log files to the disk, but after running the task, I can't find the log files anywhere, although the job runs without errors. When the code is run from outside of VisualCron, the log file is created. I can see that the visualcron service runs under "Local system", which should have wirte permission to the folder I am logging to.

What am I doing wrong?
Sponsor
Forum information
Support
2016-08-11T06:30:14Z
Can't you hard code the log folder for Nlog - sounds like it is trying to use some relative folder.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Martin V
2016-08-11T06:57:36Z
Originally Posted by: Support 

Can't you hard code the log folder for Nlog - sounds like it is trying to use some relative folder.



I tried absolute paths and relative paths, nothing seems to work.
Support
2016-08-11T07:27:04Z
Perhaps you can create a small sample (just a few rows with dependencies) and attach it here.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top