none
The FILE send adapter cannot open file for writing. Details: Access is denied. RRS feed

  • Question

  • Hello,

    I have a client that has a biztalk app with static send port - file adapter.  The file is dropped to a windows share.

    The file gets written, yet they get the error below:

    The FILE send adapter cannot open file \\Otter1\BTS\sitemap.xml <file:///\\Otter1\BTS\sitemap.xml>  for writing.

     Details: Access is denied.

    We have checked the share and folder permissions for the account used by the Send Handler of the port and they look good.

    They are using Biztalk 2006 R2 Enterprise edition.  

    Does anyone know how to resolve this problem?

    Thanks, Steve


    Steven McDonald
    Friday, September 16, 2011 2:21 PM

Answers

  • Hi,

    It seems you have hardcoded the file name at the send port. So it will try to overwrite the same file again and again. To overcome this set Copy Mode in send port properties to Overwrite (This will overwrite the existing file).

    Sanjay

     

    Friday, September 16, 2011 6:14 PM
  • Check if the account under which the BizTalk Host is running, has proper access permissions to the File. Try giving full control to the user. To rule out the permissions thingi I would suggest login to Windows using the BizTalk Admin User account and then try editing the file.
    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    Blog: http://dpsbali-biztalkweblog.blogspot.com
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Friday, September 16, 2011 5:23 PM

All replies

  • Check if the account under which the BizTalk Host is running, has proper access permissions to the File. Try giving full control to the user. To rule out the permissions thingi I would suggest login to Windows using the BizTalk Admin User account and then try editing the file.
    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    Blog: http://dpsbali-biztalkweblog.blogspot.com
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Friday, September 16, 2011 5:23 PM
  • Hi,

    It seems you have hardcoded the file name at the send port. So it will try to overwrite the same file again and again. To overcome this set Copy Mode in send port properties to Overwrite (This will overwrite the existing file).

    Sanjay

     

    Friday, September 16, 2011 6:14 PM