Applies To:
  • CitectSCADA 5.xx

Citect does not seem to be able to access network resources if it is set up to run as a Windows Service (so that it starts up before you log in and stays running after you log off). For example, the DevOpen() command fails if the device points to a file on another PC. 

This problem is caused by Windows NT security. You will need to log on as an administrator to set up the security. The following must be set up on the Citect PC:

1. Set up Citect to run as a service. See KB Article Q1865.
2. Go to the Windows Control Panel | select Services.
3. Open the the properties of the Citect service.
4. Select Log On As: This Account. Enter the username and password that you use to log on to this PC.

The following must be set up on the PC whose hard drive Citect needs to access:

1. Go to the Windows Start Menu \ Programs \ Administrative Tools \ User Manager
2. Create a user with the same username and password as entered above
3. In the Windows Explorer, right-click on the hard drive you want to share, and choose Sharing
4. Add a share or edit an existing one. Make sure the user you created will have Change access or Full Control


* The Citect project will not be able to access mapped drives until someone has logged in to the PC, so it will be necessary to use UNC names like \\pcname\sharename\filename.ext
* A service that logs on to a specific account, as instructed above, will not be visible. A service that logs on as a System Account can be visible but will not be able to access the network. You cannot do both. This is by Microsoft design, for security purposes. See MS KB Article Q158825