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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error about CIL on client in report run in batch job

(0) ShareShare
ReportReport
Posted on by 435

Hi All,

When I run the report through batch getting following error in log.

"Stack trace: Invalid attempt to call WinAPI.fileExists running in CIL on the client."

How to resolve this anyone help.

Thanks,

*This post is locked for comments

I have the same question (0)
  • Edselv Evert Profile Picture
    435 on at

    Hi Sukrut,

    It is an custom report. Please provide some more detail on this, I don't have idea on the same.

    Thanks.

  • Edselv Evert Profile Picture
    435 on at

    Hi Sukrut,

    After did the same, and restart the AOS. Same error will getting, Please help on this.

    Thanks.

  • Edselv Evert Profile Picture
    435 on at

    Hi Sukrut,

    In my report related classes it will used only one place here I have replaced for my report. PrintReportToFile() method of SRSReportRun class.

    Thanks.

  • Edselv Evert Profile Picture
    435 on at

    Hi Sukurt,

    I have use WinAPIServer.fileExists method in test environment it is work fine. After moving changes to the staging it will give the above mentioned error. I have restart the AOS but this not work.

    Thanks.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans