FILE adapter issue

I am having an issue when the File adapter is trying to write a file in the file share. I can manually open the file share and can manually add the files in the same location, just BizTalk is throwing the below error

A message sent to adapter "FILE" on send port "FILE-AXEmployeeData" with URI "\\AP\Interfaces\employee\in\TEST.txt" is suspended.
 Error details: The FILE send adapter cannot open file "\\AP\Interfaces\employee\in\TEST.txt" for writing.
 Details: Access is denied.

I checked the permissions too

I am sure something simple is missing here. Any help is highly appreciated.

August 20th, 2015 9:59am

Hi,

Actually FILE Adapter should have FULL Control on the folder to read/write files from the folder. But if you cannot opt for the FULL permissions you can use the below mentioned work around:

http://social.technet.microsoft.com/wiki/contents/articles/7008.biztalk-file-adapter-permission-issue-workaround.aspx

Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Rahul

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 10:09am

Hi,

You need to validate if the account under which the specific BizTalk Host is running, has proper access permissions to the File and the folder . Try giving full control to the user. To rule out the permissions thing I would suggest login to Windows using the BizTalk Admin User account and then try editing the file.

It is most probably the access issue which you are facing.

Look through these:


Files on Network Shares Open Slowly or Read-Only or You Receive an Error Message
http://support.microsoft.com/?kbid=814112



Thanks
Abhishek


August 20th, 2015 10:12am

Hi ,

If you are using file name "TEST.txt" hardcoded,check you are using copy mode "overwrite".

It is permission issue but you can check copymode.

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 10:45am

Hi,

It seems you have hardcoded the file name at the send port. So it will try to overwrite the same file again and again. To overcome this set Copy Mode in send port properties to "Overwrite" (This will overwrite the existing file).

Refer: https://msdn.microsoft.com/en-us/library/aa578662.aspx

Also, Check if the account under which the BizTalk Host is running, has proper access permissions to the File. Try giving full control to the user. To rule out the permissions thing, I would suggest login to Windows using the BizTalk Admin User account and then try editing the file.

August 20th, 2015 10:47am

Hi,

If your file name is hardcore then please select copy mode property to Overwrite or Append. And please ensure one more thing, if your host does not have a permission to access to folder then please select the check-box in Authentication tab and provide the credential details. I have faced same issue and after this setting it got resolved. Please refer below screen shots for more details.

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 12:58pm

Hi,

Actually FILE Adapter should have FULL Control on the folder to read/write files from the folder. But if you cannot opt for the FULL permissions you can use the below mentioned work around:

http://social.technet.microsoft.com/wiki/contents/articles/7008.biztalk-file-adapter-permission-issue-workaround.aspx

Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Rahul

  • Marked as answer by vdha 19 hours 12 minutes ago
August 20th, 2015 2:04pm

Hi,

Actually FILE Adapter should have FULL Control on the folder to read/write files from the folder. But if you cannot opt for the FULL permissions you can use the below mentioned work around:

http://social.technet.microsoft.com/wiki/contents/articles/7008.biztalk-file-adapter-permission-issue-workaround.aspx

Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Rahul

  • Marked as answer by vdha Friday, August 21, 2015 11:52 AM
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 2:04pm

Hi,

Actually FILE Adapter should have FULL Control on the folder to read/write files from the folder. But if you cannot opt for the FULL permissions you can use the below mentioned work around:

http://social.technet.microsoft.com/wiki/contents/articles/7008.biztalk-file-adapter-permission-issue-workaround.aspx

Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Rahul

  • Marked as answer by vdha Friday, August 21, 2015 11:52 AM
August 20th, 2015 2:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics