web
You’re offline. This is a read only version of the page.
close
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

AsciiIO class usgae/initialisation issue in Platform 46

(0) ShareShare
ReportReport
Posted on by 950

Hi all,

I have two dev servers one is Platform 42 and other is platform 46.

For an CSV import i am using AciiIO class . In pf 42, its working fine.

whereas in pf46, its not getting initiliased and on the top of it assiging as null.

My sample code.

AsciiIo file;

file = new AsciiIo(fileName,"R");

in "Filename" i am giving the path and file with extension.

here in file variable i am getting as "null" in pf 46 ,whereas in pf 42 its showing as "Dynamics.Ax.Application.AsciiIO".

Please advise any suggestions / workaround to fix it.

thanks in advance

I have the same question (0)
  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    What kind of path are you using in fileName? Using a file path is strange when running code in cloud.

  • TestBot Profile Picture
    950 on at

    HI Martin,

    FileName is like using "C:\Import\excelfile.xls"  example as of now. for cloud they have configured setups i think.

  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    Hmm, how do you know that the Azure server executing your code will have C:\Import folder and the folder will contain excelfile.xls?

    The only way how you can know that is that you've just put the file there in the same piece of logic, but then why do you need a file at all?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans