We have a SocketServer EXE application that runs on port 9000. We would like this application to start running as a service so that there be less user intervention for starting the application.
The basic operation of the application is that you pass a unc filename to the app via the socket, which then in turn copy the file to a pre-defined location and give it a new filename, while responding back with the new filename to the calling application.
The issue is that when the application runs as a standard EXE, everything works fine, but when we run it as a service via Application as Service, we get an exception where either the service cannot stream the file or the filestream is terminated abnormally.
Herewith my XML file:
<UponProgramExit>Restart the program</UponProgramExit>
Hope you can assist. Please let me know should you require additional information.