B
Blasting Cap
I have an application that was converted from a VB application to a
windows service.
I pass in parameters in a file that tells the application where to pull
a file from & read it and put it into a web page.
The application works fine when the input & output locations are local
on the server the app is on. However, the location for one of the files
is going to change to be on another server, that'll have to be set up
like \\Server2\folder
I can copy that out & put it in windows explorer, and it goes to the
folder it's supposed to.
However, when I put it in the application, it won't read it in.
The application is started as a Windows service, is enabled, and starts
& ends fine. I set the Log On account to be one that has local
administrator rights on the application server (Server1), and also has
local administrator rights on the data source (Server2).
How do you give a Windows Service (ie \\Server1\Myservice)
read/write/delete permissions in a folder on another server (i.e.
\\Server2\Mydata)?
If I copy the file over to the local app server (Server1), into a local
folder, the application will run fine. However, that's an extra step I
don't really want to add to running this job each day.
Any help appreciated
BC
windows service.
I pass in parameters in a file that tells the application where to pull
a file from & read it and put it into a web page.
The application works fine when the input & output locations are local
on the server the app is on. However, the location for one of the files
is going to change to be on another server, that'll have to be set up
like \\Server2\folder
I can copy that out & put it in windows explorer, and it goes to the
folder it's supposed to.
However, when I put it in the application, it won't read it in.
The application is started as a Windows service, is enabled, and starts
& ends fine. I set the Log On account to be one that has local
administrator rights on the application server (Server1), and also has
local administrator rights on the data source (Server2).
How do you give a Windows Service (ie \\Server1\Myservice)
read/write/delete permissions in a folder on another server (i.e.
\\Server2\Mydata)?
If I copy the file over to the local app server (Server1), into a local
folder, the application will run fine. However, that's an extra step I
don't really want to add to running this job each day.
Any help appreciated
BC