Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

WinApi::fileExists lock folder when from batch

(0) ShareShare
ReportReport
Posted on by
Hi,
I want to save pdf file to a remote folder in Axapta 4.0
I use in a batch WinApi::fileExists() method.
When checking for file Axapta freezes and the folder looks like being blocked (for example when I try to open it from explorer)
 
Any solution for this?
 
Ps. class where WinApi::fileExists() is set to server, but run from other class set to Called from.
Should I use new InteropPermission with WinApi::fileExists() method?
 
  • André Arnaud de Calavon Profile Picture
    Super User 2025 Season 1 on at
    WinApi::fileExists lock folder when from batch
    Hi DAXer,
     
    I would suggest asking your question in the Dynamics AX Forum. This forum is about migration from Dynamics AX to Dynamics 365.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

Overall leaderboard

Product updates

Dynamics 365 release plans