locked
BizTalk Receive Location with File Adapter is getting disabled frequently RRS feed

  • Question

  • The receive location "xyz" with URL "\\xyz\*.*" is shutting down. Details:"The FILE receive location "\\xyx\*.*" has  exhausted the network retry attempts. ".

    This is on Production Server, I am going manually and starting the location again the file is getting picked then after few mins its again being diabled automatically.


    MBH

    Wednesday, October 23, 2013 7:56 PM

All replies

  • The File receive adapter disables the receive location if any of the following occur:
    - The File receive adapter cannot access the receive location on the file system or network share because the specified path does not exist. For a network share, the File receive adapter disables the receive location after all retry attempts have been exhausted.

    - The File receive adapter cannot access the receive location on the file system or network share because the account used by the associated host instance does not have read-write permission for that location. For a network share, the File receive adapter disables the receive location after all retry attempts have been exhausted.

    - Files with names longer than 256 characters are encountered in the receive location.

    Resolution
    - Ensure that the specified path or share exists.

    - Ensure that the account used as the Logon: account for the File receive handler host instance has read and write permissions to the specified receive location.

    - Ensure that files written to the folder monitored by the File receive adapter do not have file names exceeding 256 characters.

    So in your case you need to check event log why this the connection of your shared folder is disconnected.

    Try to use the IP address instead of the name of the server

    I hope this will help you

    Wednesday, October 23, 2013 8:53 PM
  • If there are no errors in log about this port, it is most probably a network problem. Check logs on both sides. If several BizTalk servers send files to this location, check logs on all servers.

    Ask your network administrator about similar issues in your local network at this time. Check if there are backups scheduled at this time or similar tasks with high payload.


    Leonid Ganeline [BizTalk MVP] BizTalk Development Architecture

    Wednesday, October 23, 2013 9:32 PM
    Moderator
  • Hi, 

    What BizTalk version are you on?

    I have seen this error many times, have a look here:

    http://support.microsoft.com/kb/952556

    Best Regards
    Henrik

    Thursday, October 24, 2013 1:01 PM
  • BizTalk server compares its MaxCmds value with MaxMpxCt value from the file server and the lower value is selected. It will use a default value from the registry, just changing one side of client/server pair makes no difference.

    I.E. you need to change both MaxCmds and MaxMpxCt registry values on both BizTalk Sever and your file share 

    Read the following blog posts, for a step by step resolution:

    http://biztalkadmin.com/retry-exhausted-error-code-5649-in-biztalk/
    
    http://geekswithblogs.net/markw/archive/2006/09/14/91175.aspx
    
    http://blogs.msdn.com/b/johnbreakwell/archive/2009/03/20/biztalk-generates-an-event-id-5649-and-complains-the-receive-location-is-shutting-down.aspx


    • Edited by svemaraju Thursday, October 24, 2013 6:51 PM
    Thursday, October 24, 2013 6:45 PM
  • Receive location is getting disabled, there are two reasons

    1) Network - File URL is not avaiable  (Ping the server from BizTalk to Folder hosted server)

    2) Permission issue - BizTalk not able to access the File URL (Check Logon Host instance user have permission to access folder path)

    Tuesday, October 29, 2013 12:56 PM