Start a new topic

Error when running IOM remotely from the command line

I am trying to use PSEXEC to run IOM remotely from the command line but I am getting this error:

System.InvalidOperationException: 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.
   at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
   at Microsoft.VisualBasic.Interaction.MsgBox(Object Prompt, MsgBoxStyle Buttons, Object Title)
   at ImportOM.CImport.#=q59fEl8vkF$whOBVZd3KC5YR3YuYBeBAujuu9k34Y5YY=()
   at ImportOM.Import.ImportProfile.#=qHuFc_8j6Myr9vLlD3wuuYQ==(#=qSWC7Rpo2dFN2dsqUci0HKUUbSC3cWHLtnKPqibpsdIaaevGNo0MBHfsIhykDsdZ$ #=q3GfuuhHCvF7MAvqAENwuUA==)
   at ImportOM.cIOM.RunProfile(ImportProfile profile, String sFilename, Boolean bShowProgress, ListManagmentOptions iListManagmentOption, String sListManagment_ListName)
   at ImportOM.cIOM.RunImport(String sProfileName, String sFilename, Boolean bShowProgress, ListManagmentOptions iListManagmentOption, String sListManagment_ListName)
   at IOM.IOMConsole.Main(String[] cmdArgs)

 It runs fine from the command line on the server, but something about running it remotely is triggering this weird Dialog Box error.  Is it trying to display something when I run it remotely?

Login or Signup to post a comment