Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error in batch job

Posted on by 170

I have created a custom batch job to export some information to a csv file. The file is created, but the batch job show the error below:

21551.Screenshot_5F00_2.jpg

Could you help me?

PS: I have tested to use "textIO.finalize();" and "textIO = null;", but do not solved.

*This post is locked for comments

  • guk1964 Profile Picture
    guk1964 10,877 on at
    RE: Error in batch job

    I recall this earlier post that may be worth checking https://community.dynamics.com/365/financeandoperations/f/765/t/255335

  • MYGz Profile Picture
    MYGz 1,858 on at
    RE: Error in batch job

    .

  • Rafael Araujo Profile Picture
    Rafael Araujo 170 on at
    RE: Error in batch job

    Yes, I'm using the CodeAccessPermission::revertAssert().

  • Rafael Araujo Profile Picture
    Rafael Araujo 170 on at
    RE: Error in batch job

    I have tried with local and network path.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans