Geeks With Blogs

News
Stuart Brierley Integration Management - BizTalk and More

Working though the white paper Microsoft Dynamics® AX 2012: Using Microsoft BizTalk Server 2010 to exchange documents with Microsoft Dynamics AX I came across an issue when a Dynamics 2012 inbound port was attempting to consume a file created by a BizTalk 2012 send port.

Initially the error given was that Dynamics could not access the folder specified.  Giving the Dynamics user in question permisions on the folder led to a follow on issue where Dynamics could not consume the file as it was not the file owner - this was because the file had been created by and was owned by the BizTalk Host Service account.

To fix this issue without changing any permissions on the folders or files, you need to add the domain account that the BizTalk host runs under to Dynamics AX with administror privilages.

Dynamics will then be able to consume the files that are created by BizTalk send ports.

 

Posted on Tuesday, February 21, 2012 8:26 PM Dynamics AX Integration | Back to top


Comments on this post: BizTalk 2010 Dynamics AX 2012 - Error when consuming a file

# re: BizTalk 2010 Dynamics AX 2012 - Error when consuming a file
Requesting Gravatar...
Hi Stuart, is this a similar issue where AX cannot access a file when the account which is used by the BizTalk host instance is part of the Administrators. It required change in system policies.
Left by Jasper Defesche on Feb 22, 2012 8:17 AM

# re: BizTalk 2010 Dynamics AX 2012 - Error when consuming a file
Requesting Gravatar...
This is not limited to Ax 2012, the same "problem" exists using AIF to read a file in Ax 2009 (and I believe in Ax 4 as well).
Left by Nils Ole Backstrom on Feb 22, 2012 12:21 PM

Your comment:
 (will show your gravatar)


Copyright © Stuart Brierley | Powered by: GeeksWithBlogs.net