Hi
I've just been integrating Cassini into our installer and calling UltiDevCassinWebServer2.exe /register etc etc.
I've noticed that if you try and include a port number but don't include a 6th parameter (e.g. /DontKeepRunning) then the registration fails with an IndexOutOfRangeException in GetRegisterParameters. I've had a cheeky look using Reflector, and there is a bug in that function which checks if there are 5 parameters on the command line, and if there are, attempts to read the 6th parameter - hence the error.
Workaround: Include 6 parameters on the command line! Sounds obvious but only when you know what the bug is!
Thanks for a great server!
Adam