The problem with the exception of : System.InvalidOperationException

During the third step, the installer service to deploy (c #), it gives me an error:

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.

Please help .. I have no idea. I searched the net ..

1 comment
Comment actions Permalink

Looks like the problem is that windows services cannot interact with user's desktop. Could you please try to start agent within your logon session via console using agent.bat?


Please sign in to leave a comment.