web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Batch Job run successfully but not save file or send email.

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have created a batch job for run a ssrs report and save it to a excel file at 8:00 PM . Jobs run successfully but not saving file .

But File are saving if we execute them manually (run report by open it from menu item). Issue also occur when I configure batch job to run report and send it to email.

Can you help me?

Thank you so much

*This post is locked for comments

I have the same question (0)
  • Ajit Profile Picture
    8,755 on at
    RE: Batch Job run successfully but not save file or send email.

    Any error on batch job log? Could be access issue to that location,

  • Community Member Profile Picture
    on at
    RE: Batch Job run successfully but not save file or send email.

    Hi Ajit Srivastava,

    There isn't any error on batch job log, and batch job history info the batch job end.

  • Community Member Profile Picture
    on at
    RE: Batch Job run successfully but not save file or send email.

    I run a ssrs report, at parameter dialog print, in field Print Destination, i choose to save it to a excel file (instead of print to screen). If i run ssrs report by a menu item, it can save a file, but not saving a file when I run it by batch job.

  • Community Member Profile Picture
    on at
    RE: Batch Job run successfully but not save file or send email.

    Anyone can relsove it?

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: Batch Job run successfully but not save file or send email.

    Hi,

    It seems the AOS user account may not have access rights to the folder where you are trying to save the file (or) it might be on the client computer.Please, specify a shared folder path (UNC path like \\servername\Folder) and try it.

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: Batch Job run successfully but not save file or send email.

    Your problem is that you are not using a network share. A batch job is running server-side within the AX AOS process, thus providing a folder on your local computer or on the terminal server does not make sense, since it would be looking for that folder on the AOS instance.

    If the folder does exist, then the batch would complete, but you should be searching for the file on the AX AOS instance which you have configured as your batch server.

    The best way to avoid such issue is as per Chaitanya's suggestion, use a network file share, and for both the folder locally and within the share settings the AX AOS execution account must have Full Access permissions.

  • Community Member Profile Picture
    on at
    RE: Batch Job run successfully but not save file or send email.

    Thank you so much. I resolved it.

  • AB_N Profile Picture
    5 on at
    RE: Batch Job run successfully but not save file or send email.

    How do you resolve it. Getting same error.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
AlissonGodoy Profile Picture

AlissonGodoy 2

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans