Santosh, i have added my user ( amar_senapati) to the folders/subfolders and xml file. I have given full privileges to my account on the folder and file.
I can see my account is owner to the folder and file. I saw there is a dll is used to read the folder and file instead of winapi class. I wrote a simple job using the dll to read the file from a folder and still its not able to read the file. I am really not sure what set up i am missing. I have done simillar settings many times in AX40 and done AIF transactions many times. I must be missing some settings in Ax2009 and Windows2008. Thanks Amar --- In Axapta-Knowledge-Village@yahoogroups.com, "r_ssh" <ramamurthy.sant...@...> wrote: > > Amar, > > By default you would have checked > Users(amar_senapati\Users)in security tab to full control. > But this would still have an issue. > > Instead Add your user again under Security Tab and give full privilages. Do > the same for the xML file also. > Special permission needs to be given only for xML before Inbound processing > is performed. > > 1) Right click on xML >> pROPERTIES >> Advanced >>(Under Advanced Security > for the xML) >> Click Owner Tab and select the user which was created under > security Tab recently. > > This should indeed resolve your issue. Please revert back if you have any > concerns. > > Thanks > Santosh.R > > --- In Axapta-Knowledge-Village@yahoogroups.com, "amar_senapati2000" > <amar_senapati2000@> wrote: > > > > Thanks Sumit and Santosh for your help. > > > > I did checked all the seetings like folder ownerships, file ownerships.. > > and found the ownership is assigned to the same AD account ( amar_senapati) > > only. I am logging into AX 2009 using this account. The XML document file > > also using the same account. > > > > I am still getting the same error ...... > > > > Regards, > > Amar > > > > --- In Axapta-Knowledge-Village@yahoogroups.com, Sumit Loya <loya.sumit@> > > wrote: > > > > > > Thanks Santosh, > > > > > > Sorry Amar, mailed in a hurry so cudnt give you the exact way of > > > configuring > > > the security policy. This is what you need to do as a part of AIF setup. > > > > > > Regards, > > > Sumit > > > > > > On Tue, Apr 21, 2009 at 9:25 AM, r_ssh <ramamurthy.santosh@> wrote: > > > > > > > > > > > > > > > Hi Amar, > > > > > > > > Sumit was referring when AIF processing is done a warning would be > > > > thrown > > > > stating "Cannot be read because the submitting user could not be > > > > determined. > > > > The default owner for objects created by members of the Administrators > > > > group > > > > must be set to the object creator." > > > > > > > > To avoid the above error do the following steps for file system > > > > adapters. > > > > > > > > Before you create the folder for the inbound file system adapter on the > > > > server, complete the following: > > > > > > > > a) Click Start > Programs > Administrative Tools > Local Security > > > > Policy. > > > > > > > > b) On the Local Security Settings menu, navigate to Security Settings > > > > > Local Policies > Security Options. > > > > > > > > c) Change the Security Settings for the System Objects: Default owner > > > > for > > > > objects created by members of the administrator's group from > > > > Adminstrator's > > > > group to Object creator. > > > > > > > > d) Log off and log back on to the computer. > > > > > > > > e) Create the folder for the inbound file system transfer. > > > > > > > > f) Verify that the owner of the folder is the user sending the document > > > > to > > > > Microsoft Dynamics AX (the submitting user) by: > > > > > > > > g) Right-clicking the folder and selecting Properties, and then > > > > Clicking Advanced on the Security tab to view the Advanced Security > > > > Settings. > > > > The owner of the folder is shown on the Owner tab. > > > > > > > > After these settings are done place the XML file in that particular > > > > folder. > > > > Now run the AIF job to read the xml and to create the records in Ax2009. > > > > > > > > Thanks > > > > Santosh.R > > > > > > > > > > > > --- In > > > > Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge-Village%40yahoogroups.com>, > > > > "amar_senapati2000" <amar_senapati2000@> wrote: > > > > > > > > > > Hi Sumit, > > > > > > > > > > I didnt get the pointer.... > > > > > > > > > > Can you explain little bit more and the exact path ...for this > > > > > security > > > > option to check in my system... > > > > > > > > > > Thanks > > > > > Amar > > > > > > > > > > --- In > > > > > Axapta-Knowledge-Village@yahoogroups.com<Axapta-Knowledge-Village%40yahoogroups.com>, > > > > Sumit Loya <loya.sumit@> wrote: > > > > > > > > > > > > Did you set the following local security option > > > > > > > > > > > > System objects: Default owner for objects created by members of the > > > > > > Administrators group > > > > > > This value by default is "Administrators group". Change it to > > > > > > "Object > > > > > > creator". > > > > > > > > > > > > Regards, > > > > > > Sumit > > > > > > > > > > > > On Mon, Apr 20, 2009 at 8:03 PM, MaryAnn Hand <maryann.hand@>wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > You must have configure the Business Connector Proxy user. Make > > > > > > > sure > > > > > > > that user has access. > > > > > > > > > > > > > > On Mon, Apr 20, 2009 at 8:10 AM, Amar Senapati > > > > > > > <amar_senapati2000@ <amar_senapati2000%40yahoo.com>> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > > > I am trying to use the AIF file adapter to integarte with other > > > > system. I > > > > > > > am > > > > > > > > using AX 2009 in Windows 2008 Server and SQL Server 2008 > > > > > > > > standard > > > > > > > edition.. > > > > > > > > > > > > > > > > I have done all the AIF basic set ups ( end points , channels > > > > etc..). I > > > > > > > am > > > > > > > > testing for a inbound process. I used the CreateSalesOrder XML > > > > > > > > file > > > > ( > > > > > > > > samples provided by MS ). I changed the message id, domian etc > > > > > > > > to > > > > the XML > > > > > > > > file as per my AX 2009 settings. > > > > > > > > > > > > > > > > When i run the batch process , I am getting below error saying > > > > > > > > the > > > > > > > adapter > > > > > > > > is unable to read the file. The error is "The file system > > > > > > > > adapter > > > > is > > > > > > > unable > > > > > > > > to read the file D:\AIF\InBound\CreateSalesOrder.xml. Error: > > > > > > > > Access > > > > to > > > > > > > the > > > > > > > > path 'D:\AIF\InBound\CreateSalesOrder.xml' is denied." > > > > > > > > > > > > > > > > I checked all the folder sharing , security setups. The folder > > > > sharing > > > > > > > and > > > > > > > > security full access is given for the AD user id used for AX > > > > > > > > 2009 > > > > login. > > > > > > > The > > > > > > > > user id is administrator in AX2009 system. I have also checked > > > > > > > > the > > > > owner > > > > > > > of > > > > > > > > the file and its the same AD user id. > > > > > > > > > > > > > > > > Please suggest or point me , if i missed any other settings. > > > > > > > > > > > > > > > > Thanks in Advance. > > > > > > > > Amar > > > > > > > > > > > > > > > > Now surf faster and smarter ! Check out the new Firefox 3 - > > > > > > > > Yahoo! > > > > > > > Edition > > > > > > > > http://downloads.yahoo.com/in/firefox/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >