2 Replies Latest reply: May 15, 2014 10:09 AM by roldgoldberg13 _ RSS

    Monitored Process runs while the file is being created --> error

    roldgoldberg13 _

      I'm experiencing an issue with monitoring where the job kicks off while the (large) file is still being written to the monitored path.  I receive the following error:[/B]

       

      [SIZE="1"]Notification per alert 'SystemAlertProcessFailed', raised Tuesday, January 15, 2013 12:25:25 PM.

       

      Process: MONITOR_Cost_Adjustment

      JobId: 1107

      LogFile: D:\Program Files\Monarch Data Pump\Logs\1107.xml

       

      Failed: DwchServer.NoRetryInfoException: Process prerequisites failed, but no retry information is available. Process will not be retried. ---> DwchServer.SpecifiedFileCannotBeOpenedForExclusiveReadPrerequisiteException: File '
      corppvt\network\UsNySomers1-PBG\share\MDP\MONITOR_Cost_Adjustments\Reports\Cost_Adjustments_Report_FED P12-11.txt' cannot be opened for exclusive read access. Another process may still be writing to this file.

         at DwchServer.ProjectInputs.TestPrerequisites(XprjInputs& xprjInputsInfo, Int32 iRetriesBySize, JobLog& log)

         at DwchServer.ProcessHandler.RunProcess(ServerDB db, JobRow job, JobLog log, ConnectionObject connObj)

         --- End of inner exception stack trace ---

         at DwchServer.ProcessHandler.RunProcess(ServerDB db, JobRow job, JobLog log, ConnectionObject connObj)[/SIZE][/I]

       

       

      It seems as if there's no simple solution for this...Is there any way I can extend the timing of the monitored path to run at intervals?

       

      Thanks,

      Josh[/B]