469,962 Members | 2,163 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,962 developers. It's quick & easy.

error:Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation

hi , all
This is driving me crazy , I use msgbox method in .net 2.0 environment and
it is running fine on my IIS (Windows 2000) until today. The error is like
"Showing a modal dialog box or form when the application is not running in
UserInteractive mode is not a valid operation".
I just do not know what I did wrong to cause the problem , maybe
installing some 3rd party aspx control ? I search for the answers on
Microsoft.com but no one has clue about how it happen and how to fix. On
local machine using Virual Web Developer 2005 , the msgbox method is running
fine , but it get error after moving into IIS server.
Someone pleaes help
Thanks,
Henry
May 3 '06 #1
1 6828
You can't use MessageBox in ASP.NET. You don't have any graphical user
interface, so there is nowhere that you can display the messagebox.

If you were allowed to use a messagebox in ASP.NET, it would pop up on
the web server where noone would see it, and IIS would hang indefinitely
waiting for someone to click it.

Henry Lee wrote:
hi , all
This is driving me crazy , I use msgbox method in .net 2.0 environment and
it is running fine on my IIS (Windows 2000) until today. The error is like
"Showing a modal dialog box or form when the application is not running in
UserInteractive mode is not a valid operation".
I just do not know what I did wrong to cause the problem , maybe
installing some 3rd party aspx control ? I search for the answers on
Microsoft.com but no one has clue about how it happen and how to fix. On
local machine using Virual Web Developer 2005 , the msgbox method is running
fine , but it get error after moving into IIS server.
Someone pleaes help
Thanks,
Henry

May 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Sara T. | last post: by
1 post views Thread by Matt | last post: by
4 posts views Thread by WStoreyII | last post: by
4 posts views Thread by stax | last post: by
1 post views Thread by Lennart | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.