Ugent - Web Config Error and Web site

Posted on 2011-10-15
Last Modified: 2012-05-12
Hi folks,
  I  developed a web page, test.aspx (allows user to enter input that will be sent via email) and in it's corresponding code page, text.vb.aspx, I use a mesage box. It works fine when I test it on my local computer but when I tried from the website, I recieved this error:

Exception Details: System.InvalidOperationException: 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.

    How can I fix this? The message box show what fields are in error to the user. You can view it at

Question by:Overthere
    LVL 23

    Accepted Solution

    Frankly, I am seeing this error for the first time.
    Did you visit this thread - Similar issue ?

    LVL 19

    Expert Comment

    by:Manoj Patil
    This is new error for me also

    Check this

    You may get the solution

    I think this error occur because of Message Box display... Try with "alert" i.e javascript message display dialog

    For more click below

    Author Closing Comment

    OOPPS! After I read your response and followed the link, I remembered and feel preety dumb -  Cause I then remembered  the mesage box shows on server-side and not client side ! LOL! It's been awhile since I designed! Thanks for your help!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
    The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Go t…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now