I'm using Visual Studio 2005 (coding in VB). When I use the MsgBox function, it works fine locally but when I try to run it from the server, I get the following error message:
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.
What do I need to do to be able to put up message boxes that ask for the user to confirm something? Is there just a setting on the server, or can I not use the MsgBox function?
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.
What do I need to do to be able to put up message boxes that ask for the user to confirm something? Is there just a setting on the server, or can I not use the MsgBox function?