Services & accessing file info
-
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
-
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
Do you know if the permissions to read the other drive are set correctly?
-
Do you know if the permissions to read the other drive are set correctly?
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
-
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
OK. LocalSystem doesn't have Netware rights. You'll have to use an account that the service can log into the network with. RageInTheMachine9532
-
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
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)
-
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)
Thanks for all the help. I figured it out.:) Stacy Springer