D
Daniel S
Hi,
I'm new here.
I'm using the Logging Application Block with Enterprise Library 3.1.
My program works correctly on my XP developer station, but on the 2003
Server, no new entries appear in the Application log after calls to
Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write(object
message), but those calls aren't throwing exceptions, either.
I tried using System.Diagnostics.EventLog instead. Again, this works
as it should on my XP station, but on the server, it throws an
exception with the message "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."
I'd really appreciate any help you can offer.
Thanks,
Daniel Sheiner
I'm new here.
I'm using the Logging Application Block with Enterprise Library 3.1.
My program works correctly on my XP developer station, but on the 2003
Server, no new entries appear in the Application log after calls to
Microsoft.Practices.EnterpriseLibrary.Logging.Logger.Write(object
message), but those calls aren't throwing exceptions, either.
I tried using System.Diagnostics.EventLog instead. Again, this works
as it should on my XP station, but on the server, it throws an
exception with the message "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."
I'd really appreciate any help you can offer.
Thanks,
Daniel Sheiner