Scheduled Report Returns Error: Failed, Exception Was Encountered

Version 2

    Verified Product Versions

    LANDESK Management Suite 9.5LANDESK Management Suite 9.6

    Environment:

     

    LDMS 9.6

    LDMS 9.5

     

    Error message:

     

    "Failed, Exception Was Encountered" shows in the scheduled task "status" column on a scheduled report.

     

    ScheduledReport.png

     

    Problem:

     

    User is unable to schedule or email scheduled reports

     

    Cause:

     

    The report name has a bad character in the title. Having a / or \ in the name of the report can cause issues with scheduled reports. When the report is generated, it creates a copy of the report in the reports share on the core before the report is able to be emailed. When it copies the report it uses the name of the report in the file that it generates. If the report name has a backslash or a forward slash it becomes an incorrect file path and this error shows in the report log as "DataDynamics.Reports.ReportsException: An unexpected error occured. Additional information: 'Could not find a part of the path"

     

    Solution / Workaround:

     

    Rename the report to not include slashes and limit special characters in your report names.