orem wrote:The company I work for is currently using the UltiDev Cassini web server as an intranet web server. We have found that when using the two most recent versions of UltiDev Cassini, we are unable to restart the service successfully, consistently. Several times, the service will appear to have restarted successfully, but we are unable to access any web pages via the web server other than the admin page (http://localhost:7756). We have reproduced this behavior on a clean install of Windows XP Professional with only a basic html file as the page to be served. We created a test application that starts the service, attempts to access the test html page, then stops the service and tries again. We are starting and stopping the service using net start and net stop. Intermittently, this test fails, but a subsequent restart of the service seems to resolve the problem. This has been problematic for us in our production environments where frequent updates to content require stopping and starting the Cassini service. I greatly appreciate any assistance you can provide on resolving this matter.
We encountered similar situation. We use UltiDev Cassini 2.0
Our scenario is:
1. we stop UltiDev Cassini service (this is done via ServiceController - c# API) by a process with SYSTEM privileges (a process run by user SYSTEM)
2. we start UltiDev Cassini service (this is done via ServiceController too) by a process with SYSTEM privileges
3. UltiDev Cassini windows service restarts succesfully - the service status is RUNNING,
but we are unable to access any web pages via the web server, even the admin page (http://localhost:7756)!
Surprisingly, the same scenario executed by a process with admin privileges (run by admin user) succeeds.