Hello, John.
It's a puzzler, and the biggest mystery for us is why launching an interactive UI app from a service is possible in the first place. We don't understand how a UI-less service can bring up a UI. What if there are multiple users logged in - how the service would know which user is supposed to see the UI, especially given that current version of Cassini does not support impersonation? Or if there are no users logged on, and a person uses a browser from another box to access the application - in this case the user won't see the interactive application because it will be launched on another box. But given that somehow it can be done and interactive UI application can be started from the service, it means that your clients will always have to work on the same machine where the server is, in which case you don't need (and probably don't want) to run the web server as a service. Instead you could just
start UltiDevCassinWebServer2.exe with /run parameter, in which case you should be able to accomplish what you need.
We can't think of why the process would be held and not shut down. We are not sure that the process is held by Cassini - the process just as likely to fail to exit for some internal reason. If you have Visual Studio on the machine in question, you could attach debugger to the hanging process and hit Pause button to see where it's hanging.
Please let us know if this information was helpful.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.