Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

File Deletion while running on Batch as Server

$
0
0

Hi all,

I've a problem with file deletion while running on batch as Sever,

I'm using AsciiIO object for my file operation, after completion nullified the object and called Finalize method to flush out the buffers also. And for deletion I’m using WinAPIServer class.

file = null;

file.finalize();

 

But still the file is locked.

When I run the same code in client file is deleting.

Does anything I missed in my code??


Viewing all articles
Browse latest Browse all 72043

Trending Articles