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 :
Microsoft Dynamics AX (Archived)

AsciiIO object not initialized (cannot find filepath) using new file server (Windows Server 2012)

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

We recently updated our fileserver to Windows Server 2012.  This is not the server that AX2009 is running but only hosts files.  We are using the same server name and copied the files over exactly the way they were on the old server and now a few of methods (ran in batch server side) will not initialize the AsciiIO object class.  After looking into it more it seems that it cannot find the filepath on the fileserver (validated with WinAPIserver).  Now the strange thing is i can literally copy and paste the filepath from my code into windows explorer and navigates correctly. (I am using @"\\Server1\K_drive\folder\folder\file.csv", not the mapped drive letter.) I'm assuming there is a setting in windows server 2012 that is blocking the AOS from accessing the folder.  At first i figured it was a firewall issue so i added the AX32Serv.exe file to the expections, but i am still having the same issue! I have no idea what to do next. Can you help?

--Stephen

*This post is locked for comments

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

    I would check permissions. That you can read the file doesn't prove that the AOS service account is allowed to do it too.

  • Community Member Profile Picture
    on at

    Right now all permissions checked except for 'special permissions' and 'full control' on the entire directory where the file in my code is trying to write to.  I even added the AOS computer to the permissions specifically on the folder that i am trying to read/write to...

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans