Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Services & accessing file info

Services & accessing file info

Scheduled Pinned Locked Moved Visual Basic
questioncsharpsysadmin
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stacy Springer
    wrote on last edited by
    #1

    I am new to VB.Net so forgive me if this is a stupid question! I am trying to write a service that periodically goes out to another server drive and checks to see what files are in a directory and the file size. If the file size of any given file is zero, it sends an email alerting IT that the backup file size is null. I have set a server timer and have the email portion working, but it will not read the directory. Can anyone give me a direction to pursue? Thanks!:confused: Stacy Springer

    M 1 Reply Last reply
    0
    • S Stacy Springer

      I am new to VB.Net so forgive me if this is a stupid question! I am trying to write a service that periodically goes out to another server drive and checks to see what files are in a directory and the file size. If the file size of any given file is zero, it sends an email alerting IT that the backup file size is null. I have set a server timer and have the email portion working, but it will not read the directory. Can anyone give me a direction to pursue? Thanks!:confused: Stacy Springer

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Do you know if the permissions to read the other drive are set correctly?

      S 1 Reply Last reply
      0
      • M Mike Ellison

        Do you know if the permissions to read the other drive are set correctly?

        S Offline
        S Offline
        Stacy Springer
        wrote on last edited by
        #3

        The server is a Novell Netware Server(We are a Novell Network with various Windows servers, i.e. No active directory). I am on a workstation that is logged into the network with admin rights and I have a mapped drive to that directory. As far as the ServiceAccount member for the service I am currently using LocalSystem. Thanks! Stacy Springer

        D G 2 Replies Last reply
        0
        • S Stacy Springer

          The server is a Novell Netware Server(We are a Novell Network with various Windows servers, i.e. No active directory). I am on a workstation that is logged into the network with admin rights and I have a mapped drive to that directory. As far as the ServiceAccount member for the service I am currently using LocalSystem. Thanks! Stacy Springer

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          OK. LocalSystem doesn't have Netware rights. You'll have to use an account that the service can log into the network with. RageInTheMachine9532

          1 Reply Last reply
          0
          • S Stacy Springer

            The server is a Novell Netware Server(We are a Novell Network with various Windows servers, i.e. No active directory). I am on a workstation that is logged into the network with admin rights and I have a mapped drive to that directory. As far as the ServiceAccount member for the service I am currently using LocalSystem. Thanks! Stacy Springer

            G Offline
            G Offline
            Garth J Lancaster
            wrote on last edited by
            #5

            Stacy - have you tried setting the service account to the same account that is logged into the (Netware) network ?? it should then be able to use the mapped drive. (as per the previous comment by Rage...) The last time I did anything like this we used the ActiveX controls from the Novell developer website to log into Novell seperately and read the directory 'G'(rinch)

            S 1 Reply Last reply
            0
            • G Garth J Lancaster

              Stacy - have you tried setting the service account to the same account that is logged into the (Netware) network ?? it should then be able to use the mapped drive. (as per the previous comment by Rage...) The last time I did anything like this we used the ActiveX controls from the Novell developer website to log into Novell seperately and read the directory 'G'(rinch)

              S Offline
              S Offline
              Stacy Springer
              wrote on last edited by
              #6

              Thanks for all the help. I figured it out.:) Stacy Springer

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups