Issues with Running LoggerNet as a Service

Available in LoggerNet Admin Only

By default, the LoggerNet service is run under the LoggerNet user account. This may cause some issues with write access and network drives. The issues, along with their solutions, are described below:

Write Access

The LoggerNet user has write access only to the CampbellSci directories. Therefore, if a task requires something to be written or done in a different directory or on the desktop, the LoggerNet user does not have sufficient access and the process will end in an error. This can be solved by giving the LoggerNet user write access to the necessary directories.

Giving the LoggerNet user write access

This is the process for giving the LoggerNet user write access to a designated directory in Windows 10. The process in other operating systems is similar.

    Right-click on the directory in Windows Explorer and choose Properties.

    Go to the Security tab of the Properties dialog box and select Edit. In the Permissions for directoryname dialog box, press Add. This will open the Select Users, Computers, Service Accounts, or Groups dialog box.

    From the Select Users, Computers, or Groups dialog box press the Locations button. This will open the Locations dialog box.

    In the Locations dialog box, select the computer name and press OK.

    From the Select Users or Groups dialog box press the Advanced button. Then press the Find Now button. Select LoggerNet in the list of names that appears at the bottom of the dialog box and press OK. Note that <COMPUTER-NAME>\LoggerNet has been added to the Object Names on the Select Users or Groups dialog box. Press the OK button to close the Select Users or Groups dialog box.

    The LoggerNet user should now be highlighted on the Permission for directoryname dialog box. Select the Full Control Allow check box to give LoggerNet full permissions for the directory. Press the Apply button to apply the changes. Press OK to close the dialog box.

    The LoggerNet user should now have full access to the designated directory.

Network Drives

Network drive mappings are associated with individual user accounts. Therefore, they cannot be used when running LoggerNet as a service. To use network drives when running LoggerNet as a service, you must use the full UNC path (e.g., \\computer_name\directory\filename). Note that the ability to write to the network drives will be governed by Windows security. It will be necessary to configure the LoggerNet service to run under an account that has network privileges. This requires changes to the properties of the LoggerNet service in Windows. Contact your network administrator for assistance.