Server Error in Application

An unhandled exception occurred during the execution of the current web request
posts - 60, comments - 75, trackbacks - 50

My Links

News

Hire Me Direct My Bookmarks

Archives

Post Categories

ASP.NET

It is invalid to show a modal dialog or form when the application is not running.......

Few day back i got this error while i am trying to show message box from windows services.

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

To resolve this i set window services "allow interaction with desktop".

also visit this link

http://www.dotnet247.com/247reference/msgs/36/184244.aspx

Might this helps others..

Cheers!!!

Mahesh

 


ASP.NET Interview Questions | C# Interview Questions | .NET Interview Questions | Dot Net Interview Questions | VB.NET Interview Questions | Oracle Interview Questions

Print | posted on Friday, November 03, 2006 9:47 AM |

Feedback

Gravatar

# re: It is invalid to show a modal dialog or form when the application is not running.......

Yes you are right. It works for me...
11/12/2006 11:18 AM | Martin
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: