biztalk cannot connect to sql server

FILE adapter: The Messaging Engine failed while notifying an adapter of its configuration

Published on : Feb 17, 2017

Category : BizTalk Server Support

Rachit Sikroria

Author

While using File Adapter to connect a file location (local or Network share) you may encounter errors like below:

” The Messaging Engine failed to add a receive location “Receive Location1” with URL “\\Server\Folder\File” to the adapter “FILE”. Reason: “File transport does not have read/write privileges for receive location “\\Server\Folder\”. “.”

“File transport does not have read/write privileges for receive location “\\Server\Folder\”.”

“The receive location “Receive Location1” with URL “\\Server\Folder\File” is shutting down. Details:”The Messaging Engine failed while notifying an adapter of its configuration. “.”

Resolution

1.) Please double, triple check that the account which is used in the BizTalk host instance has required permissions to access to folder location. In your case, permission for the host instance/service account seems to be the issue. Then if you’re confident that service account has all the permission to access the folders. Then go to point 2.
 
2.) Check if there is any network issue between your Biztalk server and file location. Get your network team involved and they can confirm this by opening a network trace.
 
3.) IF you are confident that service account has all the permission to access the folders and you’re also confident that their is no network issue between your Biztalk server (where the problematic host instance is configured) and file location.
 
Then another possible case is, number of received location bound to the problematic host instance. Can you check whether the host instance in question is bound to more than 50 Receive location. If so, then its worth checking the MaxCmds and MaxMpxCt registry values. Refer these articles: