Error in iis

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:


Line 20: {
Line 21:
Line 22: this.WebReport_DFMWeeklyReport.Prepare();
Line 23: }
Line 24:


Source File: e:\NPI\v3.9\Report_DFMWeekly.aspx.cs Line: 22

Stack Trace:


[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.]
System.Windows.Forms.Form.ShowDialog(IWin32Window owner) +3650736
System.Windows.Forms.Form.ShowDialog() +6
FastReport.Dialog.DialogPage.ShowDialog() +81
FastReport.Engine.ReportEngine.RunDialog(DialogPage page) +43
FastReport.Engine.ReportEngine.RunDialogs() +266
FastReport.Engine.ReportEngine.Run(Boolean runDialogs, Boolean append, ReportPage page) +213
FastReport.Engine.ReportEngine.Run(Boolean runDialogs, Boolean append) +53
FastReport.Report.Prepare(Boolean append) +367
FastReport.Web.WebReport.PrepareReport() +544
FastReport.Web.WebReport.Refresh() +54
FastReport.Web.WebReport.Prepare() +30
Report_DFMWeekly.Page_Load(Object sender, EventArgs e) in e:\NPI\v3.9\Report_DFMWeekly.aspx.cs:22
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.