December 16th, 2002, 05:05 PM
NT 2000 Server - Services
I am running Windows 2000 Server and have a server program
that listens for requests from client programs. These requests
are typically to build or open a file or read or write to/from a file.
The client programs pass the ip of the server and the path/
filename of the file when attempting to open or build a file.
On the Windows machine D: drive contains the winnt system,
and C: is a partition. If the server program is running as a
DOS/console program I am able to open/build to either
D:\path\filename or C:\path\filename. However, if the server
program is run as a service any attempts to open or build
a file C:\path\filename returns error 2 - ENOENT - or
no such file or directory. Something about running as a service
makes C: drive non-existent or invisible and the program
behaves as though no such directory path exists?
Any ideas..suggestions? Is there a known restriction or ?
Is there something I can set/unset that would make C:
visible when the server program is running as a service.
Thanks in advance,
Byte Designs Technical Support
December 16th, 2002, 07:36 PM
Have you checked permissions, by default the service would run with the privs of the local 'system' account, does that user have access to C?