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)

Error in AIF folder permission

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am working on one file system adapter in AX 2012. I have created two folders "In" and "Out". As soon as I have run the batch process, I got the below error message. And my file is not processed.

"File C:\MyAIF\In\Cust207.XML cannot be read because the submitting user could not be determined. The default owner for files created by members of the Administrators group must be set to a specific windows user or a default file owner should be enabled and specified in port configuration."

I tried to do -
1. In the details pane, double-click System Objects: Default owner for objects created by members of the administrator's group, and then change the owner from Administrator's group to Object creator.
2. Change the owner of an inbound folder. but in my Windows server 2012 I done have that option.

I am logged in as "Admin" into my system and in Dynamics AX as well.

In inbound port I have also added "Admin" as user in adapter configuration.

Can anyone please explain me How can I solve this ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mea_ Profile Picture
    60,284 on at

    Hi Mukti,

    Please follow next blog post to change AIF port setup

    community.dynamics.com/.../troubleshoot-dynamics-ax-2012-aif-error-file-cannot-be-opened-because-the-submitting-user-could-not-be-determined

  • Suggested answer
    Community Member Profile Picture
    on at

    Thanks a lot,

    It resolved my problem.

  • Verified answer
    Mea_ Profile Picture
    60,284 on at

    Hi Mukti,

    If issues is solved could you please mark answer(s) that helped you as verified to close this thread ?

  • Community Member Profile Picture
    on at

    Hi Ievgen,

    As I am able to read customers from AX using file system adapters. I also need to update the same customer.

    In my current scenario, I have used CustCustomerService.Read operation in my Inbound port and able to read successfully. I am getting the output file in AIF/Out folder with all information of customer.

    Now for update, I have created a new inbound port for updating the customer and added CustCustomerservice.Update to update the customer. I'll use the same schema which I got from AIF/out folder above and will change some field's values.

    Could you please suggest if this approach is right or not ?

    Should I create a new thread for this ?

  • Mea_ Profile Picture
    60,284 on at

    Hi Mukti,

    New thread would be great.

    You approach looks ok for me. To do an update you need to read customer first and get document hash value, without it you won't be able to update the customer, so you are on a right track. Please read this technet article for details technet.microsoft.com/.../cc598792.aspx

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans