R
Radu
I have written a program, say "AAA", which detects its folder,
extracts some info from the folder's name, and does a number of
updates based on that. It works great.
Whenever I put it on the network, though, it won't execute at all - it
crashes.
Let's say some other code copies AAA.exe in the folder
W:\EPS\DataOutput 2009\...\...\Run 1 for Req RBPIFF
On execution, the code in AAA should read the string RBPIFF and do
some work based on this code, "RBPIFF"
Next, that other code would copy AAA.exe to the folder
W:\EPS\DataOutput 2009\...\...\Run 1 for Req AMAFFW
Now the code should read the string AMAFFW and do some work based on
this code, "AMAFFW"...
and so on - all the folders in which this AAA.exe will reside will
have the form
W:\EPS\DataOutput 2009\...\...\Run x for Req abcdef
The problem is that as soon as I copy AAA.exe to the network, on
execution, first I have a message saying "The publisher could not be
verified. Are you sure blah blah ?" I say Run. Then I get a crash.
I have commented out ALL MY CODE IN THIS app - all of it. Now it
should only show an empty, grey, form, Form1. It doesn't. It still
crashes.
Assuming that the user already has the framework 2.0 installed, how
can I create in dotnet a "portable" executable, which would be copied
from folder to folder on this server, would detect its parent folder's
name, as described above, and would do some work based on that name ?
On my local machine it works great. However....
Please help.
Thank you very much
Alex
extracts some info from the folder's name, and does a number of
updates based on that. It works great.
Whenever I put it on the network, though, it won't execute at all - it
crashes.
Let's say some other code copies AAA.exe in the folder
W:\EPS\DataOutput 2009\...\...\Run 1 for Req RBPIFF
On execution, the code in AAA should read the string RBPIFF and do
some work based on this code, "RBPIFF"
Next, that other code would copy AAA.exe to the folder
W:\EPS\DataOutput 2009\...\...\Run 1 for Req AMAFFW
Now the code should read the string AMAFFW and do some work based on
this code, "AMAFFW"...
and so on - all the folders in which this AAA.exe will reside will
have the form
W:\EPS\DataOutput 2009\...\...\Run x for Req abcdef
The problem is that as soon as I copy AAA.exe to the network, on
execution, first I have a message saying "The publisher could not be
verified. Are you sure blah blah ?" I say Run. Then I get a crash.
I have commented out ALL MY CODE IN THIS app - all of it. Now it
should only show an empty, grey, form, Form1. It doesn't. It still
crashes.
Assuming that the user already has the framework 2.0 installed, how
can I create in dotnet a "portable" executable, which would be copied
from folder to folder on this server, would detect its parent folder's
name, as described above, and would do some work based on that name ?
On my local machine it works great. However....
Please help.
Thank you very much
Alex