Empty File from Send Port
Anytime BizTalk writes a file through a Send Port that has been generated after an EDI Assembly or Dissassembly it creates the resulting document PLUS an empty file. When collecting these files BizTalk is OK because it ignores the empty file, but I have another system that is erroring on this file.
I have verified that this exists in both my Test and Production environments. Why does BizTalk create this empty file and how can I make sure it doesn't get created?
Thanks,
David
All Replies
I looked in HAT and can see two separate transmissions for the files. The one that produces the actual EDI document says it is using the FILE Event/Adapter. The other file has a blank entry for Event/Adapter in HAT and yet creates a file. Has anyone seen such a thing in BizTalk before?
Thanks again,
David
We haven't seen this issue before. It may be due to another system reading the output files and open the handle on it. Can try the EDI scenario without starting the another system or change file location?
I actually found the issue with BizTalk only. So, the other system is not interfering. BizTalk is the system that is creating the file. Any suggestions that might point me in the right direction would be greatly appreciated.
Thanks again,
David
Can you check if you have only one send port running on your host and it is pointing to a write file location that is totally isolated. Also turn off, 997 and TA1. If you still see more than one doc being generated, we'll have to look at your input doc and settings to repro it. At that point you may have to come though Biztalk Support channel.
BTW, what did u mean by Biztalk ignores the blank document and uses only the edi doc. After the doc is dropped by send port, Biztalk's job is done right!
regds
Ravi
- Hi David, I am having the same issue. Could you please let me know how were you able to fix this issue if you still remember ? I don't have any external system running. Thank you very much. Aparna
- Any error in the event log in BizTalk and (if applicalble) the remote system?
Is the Send port pointing to a remote location? Thenyou should take a networkcapture (e.g. Netmon) to see what is actually transferred.
I have seen empty files when using EDI over AS2. The issue was that the certificate was not setting up probably. Thank you, Stern.
There are no errors in the event log. The send port is not pointing to remote location. Its just pointing to a local folder. Its a very simple project(my very first BizTalk project) which reads a flat file and writes to a Send Port. Everything was working fine until I added an Orchestration. After I added the Orchestration I redeployed my solution and from then I am seeing this problem (writing 2 files - one with the data and the other an empty file.)

