J
JennL
I have a web farm of 2 servers (so far). I have a script that creates
..HTML files and then I call a PDF writer to turn them into .pdf files.
The problem is that I then have files on 2 different servers. I want
to synchronize these servers so I write a VB.NET exe...which works if
I run it manually when logged into the servers. The .exe copies any
newer files to a non-web file server and also grabs any files from
that server that are newer.
The problem is that I need to kick off this process whenever a new
..pdf is created. So, I created an .aspx file that uses
system.diagnostics.process and it kicks off the .exe as
expected....BUT, i test if the shared drive exists and it does not so
it can't copy the files. I've tried some code that supposedly maps
network drives passing network credentials in the vb .exe but that
hasn't worked for me. I've been reading about 'identity impersonate'
but I don't understand how this works and even if this will work for
me.
I hope that is enough information. Please, help?
-Jenn
..HTML files and then I call a PDF writer to turn them into .pdf files.
The problem is that I then have files on 2 different servers. I want
to synchronize these servers so I write a VB.NET exe...which works if
I run it manually when logged into the servers. The .exe copies any
newer files to a non-web file server and also grabs any files from
that server that are newer.
The problem is that I need to kick off this process whenever a new
..pdf is created. So, I created an .aspx file that uses
system.diagnostics.process and it kicks off the .exe as
expected....BUT, i test if the shared drive exists and it does not so
it can't copy the files. I've tried some code that supposedly maps
network drives passing network credentials in the vb .exe but that
hasn't worked for me. I've been reading about 'identity impersonate'
but I don't understand how this works and even if this will work for
me.
I hope that is enough information. Please, help?
-Jenn