MsgBox in ASP.NET?

A

Arpan

I use VB.NET to create ASP.NET applications. To display a message box
in a VB app, one can use MsgBox. But when I used MsgBox while editing
an ASPX page, the following error was generated:

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.

pointing to the line which has the MsgBox code. The error message also
includes the solution to overcome this error but how do I specify the
ServiceNotification or DefaultDesktopOnly style to show MsgBox to users
in an ASPX app?

Thanks,

Arpan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

MsgBox 2
MSGBOX PROBLEM 3
msgbox 4
msgbox 1
MsgBox Error 1
MSGBOX Example 2
Weird ASP.NET 2.0 Error 1
msgbox 4

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top