views:

13

answers:

0

I get this particular exception when starting the Cassini Web Server(to be run on a remote machine) after logging into the remote machine through SSH:

Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

The server works by initializing a form allowing the user to input server parameters. However, the parameters can also be sent through the command line which is how I am running it right now.

Any solution to this as would be helpful as I need to be able to start the server through the SSH only.