W
Workaholic
Hi,
I have a problem that I have now seen on two different servers.
I have a VB.Net application that is installed on the servers. It works
fine on both servers. If I make a change to the application on my
development PC, recompile it and test it on the local development
machine, it still works fine. However, if I then copy the new EXE file
from the development PC to the target servers (and overwrite the
original EXE on the servers), then the application stops working on the
servers. Having added lots of message boxes throughout the code to see
what it's doing, it seems that the first subroutine is called
successfully, however the 2nd subroutine is never executed. The message
box immediately before the "call xxx" displays some output, but neither
the message box inside the subroutine, nor the message box after the
subroutine, are ever displayed. The application is just hung and has to
be killed from Task Manager.
Here is the weirdest thing. If I uninstall the application from the
server, then install the new version of the application, then it works
fine. It's exactly the same EXE file, but now it works.
Can I not copy a newer VB.Net executable onto the target machine? I'm
really stumped because Windows is NOT rolling back to the previous
version of code, because I AM seeing my debugging message boxes up to
the point the 2nd subroutine is called.
Can anyone help me? This is driving me nuts, and it's a really major
hassle to have to back up all the data, uninstall, reinstall, and
re-import all the data every time I make even a tiny change to the
code.
Thanks for your help
I have a problem that I have now seen on two different servers.
I have a VB.Net application that is installed on the servers. It works
fine on both servers. If I make a change to the application on my
development PC, recompile it and test it on the local development
machine, it still works fine. However, if I then copy the new EXE file
from the development PC to the target servers (and overwrite the
original EXE on the servers), then the application stops working on the
servers. Having added lots of message boxes throughout the code to see
what it's doing, it seems that the first subroutine is called
successfully, however the 2nd subroutine is never executed. The message
box immediately before the "call xxx" displays some output, but neither
the message box inside the subroutine, nor the message box after the
subroutine, are ever displayed. The application is just hung and has to
be killed from Task Manager.
Here is the weirdest thing. If I uninstall the application from the
server, then install the new version of the application, then it works
fine. It's exactly the same EXE file, but now it works.
Can I not copy a newer VB.Net executable onto the target machine? I'm
really stumped because Windows is NOT rolling back to the previous
version of code, because I AM seeing my debugging message boxes up to
the point the 2nd subroutine is called.
Can anyone help me? This is driving me nuts, and it's a really major
hassle to have to back up all the data, uninstall, reinstall, and
re-import all the data every time I make even a tiny change to the
code.
Thanks for your help