Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > error:Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation

Reply
Thread Tools

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

 
 
Henry Lee
Guest
Posts: n/a
 
      05-03-2006
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


 
Reply With Quote
 
 
 
 
=?ISO-8859-1?Q?G=F6ran_Andersson?=
Guest
Posts: n/a
 
      05-03-2006
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
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to close Modal Dialog box =?Utf-8?B?SGl0ZXNo?= ASP .Net 4 04-11-2005 01:04 PM
UserInteractive Mode Amaryllis ASP .Net 2 07-12-2004 12:23 AM
post the form data in modal window and close the modal window. Matt HTML 1 06-01-2004 08:22 PM
post the form data in modal window and close the modal window. Matt Javascript 0 06-01-2004 07:47 PM
Setting the Modal Dialog Box's Height and Width Gibs ASP .Net 1 02-13-2004 08:43 PM



Advertisments