could anyone help me. I am building web application using vb .net 2008.

when I debug using the common complier it can show the Message box, but when I use IIS server the message box can't be shown and cause error page.

the error page say:"

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."