Tuesday, January 04, 2005

File Receive Location

Recently I ran into a situation where a file receive location was intermittently becoming disabled with the error:

Event Type: Error
Event Source: BizTalk Server 2004
Event Category: BizTalk Server 2004
Event ID: 5649
User: N/A
Description:The receive location "[FilePath]InputInterfaceFiles\MM*" is shutting down. Details:"The FILE receive location [FilePath]InputInterfaceFiles\MM* exhausted the network retry attempts. ".

Currently there are several receive locations setup to point to the same directory. The directory is on a remote server, but the network between the servers is very reliable. And it seemed that since only one receive location was disabling, that the network was not the cause.

To solve this, I had developed an EnableReceiveLocation script that would run using the Scheduled Tasks. But, I wanted to know why the receive location was disabled. Microsoft provided me the answer. The File Receive Locations can poll the directory as well as use the folder change event. When both the change event and the polling action occurs at the same time, the receive location becomes disabled. The directory polling can be changed or disabled using the registry values found in File Adapter Configuration and Tuning Parameters.

1 comment:

Anonymous said...

Elizabeth,

I recently discovered that this solution works, provided you have less than 50 receive locations. The problem will still occur if more than 50 receive locations are enabled. This article helps further resolve the issue: http://support.microsoft.com/default.aspx?scid=kb;en-us;810886