Window Services XML Export Error

K

KoolAidGrrl

Hello,

Currently have a Window Services program in ASP.Net and C#. It
automatically runs a procedure to export a XML file and I gave been
receiving this error every time it runs

System.InvalidOperationException: 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.

The XML file gets created, but it fails to export the file.

Are there any idea on how to correct this?

Thank you
 
B

bruce barker \(sqlwork.com\)

you probably are calling MessageBox in an error handler. this is not allowed
as the error message indicates.

-- bruce (sqlwork.com)
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top