Yet Another Forum.NET
»
ASP.NET, C# and SQL
»
ASP.NET Development
»
Application works on local host but not on website
|
|
 Rank: YAF Forumling
Joined: 5/11/2008 Posts: 1
|
Hi all
I have written a simple three page website using vwd. It contains an application which is initiated when you click a button. The program runs just fine. No build errors etc. The program also does exactly what it is suppose to. I used a Web hosting company to host the website and again the website displays the three pages perfectly. The problem occurs when you push the program button on the website. The following error page is displayed:
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.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
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.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration> <system.web> <compilation debug="true"/> </system.web> </configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
ANy help you could provide to get this website actually working after a week would be appreciated.
tks Amik
|
|
|
 Rank: YAF MVP

Joined: 2/12/2005 Posts: 715 Location: Italy
|
From the error message, you have a message box (modal) popping up to do.....what? Get rid of it, convert it to a page, and try again HTH  .....the man in black fled across the desert..........and the gunslinger followed.....
|
|
|
| Users browsing this topic |
|
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC1 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.069 seconds.