#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    1
    Rep Power
    0

    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,
    Kerry Sanger
    Byte Designs Technical Support
    (kerry@bytedesigns.com)
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2002
    Posts
    693
    Rep Power
    26
    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?

IMN logo majestic logo threadwatch logo seochat tools logo