Results 1 to 4 of 4

Thread: WinNT Service

  1. #1
    Join Date
    Jan 2003

    Post Unanswered: WinNT Service


    I have an requirement to automate some acction whereby I require to move files (auto-generated) from 1 given directory to some directory. I designed an application and used 'FileCopy' to move files from one directory to another (both local and network drive) and was working fine.

    This utility was running on server and being an application if anybody logout from the server the application gets terminated.

    To avoid this sceniro I planned to convert it as a NT service. I converted it as a service and it is working fine with local drives, moving to network drives/mapped driveshave stopped working.

    Please help if anybody of you know the answer.

    OS: WinNT
    Developed Using VB 6.0

  2. #2
    Join Date
    Jan 2003
    Dordrecht, The Netherlands

    Re: WinNT Service

    I wouldn't know how to do this in VB6. In VB.NET you can develop services in VB or C#.

    Ad Dieleman.

  3. #3
    Join Date
    Nov 2002
    San Francisco
    Isn't this because when you are not logged in, you have no mapping? Did you try UNC instead of mapped drive?

    \\myserver\myfolder instead of R:

    also check how is the service started.... LOG ON as .... if you are not logged in, you cannot access network drive... try to use admin name and password for that service (control panel - services under your service pick tab LOG ON)


  4. #4
    Join Date
    Feb 2004
    I'm doing the same thing, I have a Windows Service and using UNC working, now my next issue is an UNC that needs a different domain/Userid and password. insort-copy a file from 1 server with one user id/password to another server with different user ID/password. Admin from 2 sites don't want to use common IDs. Any ideas or key words to look up would be cool!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts