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

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,
 
J

Jon Paugh

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.
 
R

roger

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?!?!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top