- Mariano Recuero
- PowerBuilder
- Wednesday, 18 April 2018 11:30 AM UTC
Powerbuilder 12.5 Classic
hi,
i got a PB classinc .Net Assenbly that generate a pdf file from a dataStore.
This Assembly is added as reference in a ASP.NET MVC 4 web application.
In my PC with IIS Express (from VS 2012) it works perfectly but when i try to run into production server (Windows Server 2012R2) it returns an error message:
[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.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp) +2962140
c__rareports.InitAssembly() +293
MyApp.Reports.RAReports..ctor() +12
In my assembly there's not any messagebox, code from .net app:
RAReports report = new RAReports();
report.GetReportFile(paramssss...);
Dll and PBD generated are in bin.
Aby idea about this error?
thanks in Advance
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.