Geeks With Blogs
Server Error in Application An unhandled exception occurred during the execution of the current web request

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 Posted on Friday, November 3, 2006 9:47 AM | Back to top


Comments on this post: It is invalid to show a modal dialog or form when the application is not running.......

# re: It is invalid to show a modal dialog or form when the application is not running.......
Requesting Gravatar...
Yes you are right. It works for me...
Left by Martin on Nov 12, 2006 11:18 AM

Your comment:
 (will show your gravatar)


Copyright © Mahesh Singh | Powered by: GeeksWithBlogs.net