Biztalk File adapter issue with sending file

Hi,

Getting the below error when writing sending a file through the FILE adapter.

The FILE send adapter cannot open file {file location} for writing.
 Details: The system cannot find the path specified.

I have checked the below list,

1. Ensured the Logon account of the Host Instances has FULL CONTROL access to the folder(Outbound location of the send port)

2. Able to open the path which i am getting in  the error (in BT console) excluding the file name, so the network path is available.

Do i have to add the windows group also to the outbound folder, is it necessary ?

Which credentials BizTalk  will use when creating and writing the file to the outbound location,

Windows Group (Host) or Windows User (Host Instance) ?

Thanks,

Sathish



May 19th, 2015 2:03pm

Ensure that below points are taken care of:

  • Ensure that the specified path or share exists.
  • Ensure that the account used as the Logon: account for the File send handler host instance has read and write permissions to the specified directory or file share.
  • Ensure that existing files in the specified directory or file share are not marked with the system attribute.
  • Use tools like process monitor and check if any other process is blocking file writing process.

       Refer: BizTalk Error details: The system cannot find the file specified find the root cause using Process Monitor tool

Free Windows Admin Tool Kit Click here and download it now
May 19th, 2015 2:50pm

You can know which user need to have permission from send handler you select when you configure file adapter.

You can find it in BizTalk administration->Platform Settings-> Adapters->File->Direction with send (Send Handler)

The host name(host instance)you are using in send handler is the responsible for writing to that folder so make sure that user of host instance has write permission to the specified folder.


May 19th, 2015 3:00pm

The Service Account is always used to authorize any access.

If the error is "cannot find the specified path" then there's a config problem somewhere.

Access control problems are reported as "Access denied".

Free Windows Admin Tool Kit Click here and download it now
May 19th, 2015 3:17pm


Do i have to add the windows group also to the outbound folder, is it necessary ?

Which credentials BizTalk  will use when creating and writing the file to the outbound location,

Windows Group (Host) or Windows User (Host Instance) ?

Thanks,

Sathish



No you don't have to add the windows group to the outbound folder.

BizTalk will use the Windows User account for which your send handler(host instance) is configured, to create/write file. So, this user should have the full access on the folder.

Do you have multiple BizTalk Servers? If yes then one issue could be that you may not have given the Shared path instead given a local path, in this case it will throw error for other BizTalk Server.

If not then try to give Full Permission to Everyone and see if that works. This will tell us if this is access issue or not. If it works later you can troubleshoot it further by removing Everyone.

May 19th, 2015 11:01pm

Thank everyone for the inputs.

I have checked with the below,

1. Yes the Service Account (send Handler) has FULL CONTROL access to the folder.

2. Service Account is a memberof the Host

And am trying to write in a network path, and the error is like the below,

The FILE send adapter cannot open file {file location} for writing.
Details: The network path was not found.

How i see this sending file as two steps involved,

1. Creating file (File not created even BizTalk process flow advance to step2)

2. Writing File (Since the File is not created successfully, it is not able to see the file when writing)

Please give inputs.

Thanks,

Sathish

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 3:11am

Hi Sathish,

Do you have any Outbound maps associated with your send port?

Is it static or dynamic send port?


May 20th, 2015 3:15am

Hi Suleiman,

No maps, i have a send pipeline which will output a FF format and in the suspended message i am able to see that FF output also.

Port type : Static One-way

Thanks,

Sathish

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 3:30am

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

Other recent topics Other recent topics