Hi All,
I have a custom code written to read CSV file and I am getting "CommaTextIO is not initalized " error. This code is written in AX 2009. Kernel and Application Version : 5.0.1500.6491
Localization version -Eastern Europe
Below is the code snippet.
FileName path = @"\\Test\Test.csv";
permission = new fileIOpermission(path,#io_read);
permission.assert();
textIO = new CommaTextIo(path,#io_read);
textIO.inFieldDelimiter(",");
textIO.inRecordDelimiter('\r\n');
I have verified that I have proper access to path. The class is having property set to Run on Server and is extending Run base batch class.
Is it necessary that the service account used to run AOS should also have access to this network path ?
Any help will be very great.
Thanks In Advance.