C
Chiu Hung Jung
Hi, everyone
I use MsgBox("message") function, but error as follows:
It is invalid to show a modal dialog or form when the application is
not running in UserInteractive mode. Specify the ServiceNotification
or DefaultDesktopOnly style to display a notification from a service
application.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: It is invalid to
show a modal dialog or form when the application is not running in
UserInteractive mode. Specify the ServiceNotification or
DefaultDesktopOnly style to display a notification from a service
application.
I don't understand, how can I solve the problem.
Thanks for help!
CHJ
I use MsgBox("message") function, but error as follows:
It is invalid to show a modal dialog or form when the application is
not running in UserInteractive mode. Specify the ServiceNotification
or DefaultDesktopOnly style to display a notification from a service
application.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: It is invalid to
show a modal dialog or form when the application is not running in
UserInteractive mode. Specify the ServiceNotification or
DefaultDesktopOnly style to display a notification from a service
application.
I don't understand, how can I solve the problem.
Thanks for help!
CHJ