web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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
    239,040 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans