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

MsgBox in ASP.NET? 1
MsgBox Error 1
Weird ASP.NET 2.0 Error 1
Enterprise Logging does nothing on server 5
msgbox 4
messagebox in ASP.Net 1
Webforms equivalent of a Message Box 2
MSGBOX PROBLEM 3

Top