It is invalid to show a modal dialog or form when the application is not running

  • Thread starter Thread starter roger
  • Start date Start date
R

roger

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.

I have this problem when export rpt file.

Thank you,
 
Sounds like for some reason your export is trying to
create a dialog box in javascript. Maybe you have some
error catching code somewhere that throws up a dialog box
whenever there is an error anywhere?

Put a try catch block around your export and see if it is
generating any errors. If you catch an error write it to
an event log or other non-interactive location.

And stick a breakpoint in the catch and see what the error
is.

Not sure if this is really the problem, but worth looking
at.
 
Thank you,
But I have done that and it works fine in the development
enviroment.
This problem occurs in test enviroment where i only have
framework 1.0 installed.
more sugestions?!?!
 
Back
Top