Answered Problem with BizTalk creating *.BTS-WIP files.

  • Friday, January 06, 2012 9:55 PM
     
      Has Code

     

    I have Biztalk processing some files and sending them to a network drive and i have a different process picking up the files form there.

     Currently i have BizTalk pointing its send port to a network drive and when the files are processed it creates *.BTS-WIP file instead of *.xlb files.

    But when i change the send port to a different folder(a folder on a local drive it works fine) it creates the *.xlb files.

      I am not sure what is causing the issue. Any ideas on this is greatly appreciated.

     
    
    I think the problem is :
    
    Biztalk does create a Temp file Named: "[Your complete file name].BTS-WIP" When it finishes writing the temp file to the specified location, it tries to rename the file to "[Your complete file name]". But unfortunately the file is already open by the existing stream and Biztalk gets the "Sharing Violation" error. Upon getting the error it deletes the "[Your complete file name].BTS-WIP" file.
    
    
    ---------------     By Zia
    
    
     
    
    

    Any one knows how to solve this issue.

    (the Use tempory file while writing option is disabled by the way).


    Thank You

     

    Update: I Changed the UNC path and now for the new UNC path works but not for all files.

    For some claims i get the following error "The FILE send adapter cannot open file \\drive\d2bb82d.XLD.BTS-WIP for writing.
     Details: Access is denied."

    And i can see a suspended(resumable) instance on the BizTalk. Anything i can do to fx the problem.






    • Edited by raghus4228 Friday, January 06, 2012 10:00 PM
    • Edited by raghus4228 Friday, January 06, 2012 10:01 PM
    • Edited by raghus4228 Saturday, January 07, 2012 12:46 AM
    • Edited by raghus4228 Wednesday, January 11, 2012 2:32 AM
    • Edited by raghus4228 Wednesday, January 11, 2012 2:33 AM
    •  

All Replies

  • Sunday, January 08, 2012 9:11 PM
    Moderator
     
     

    So for the "use temporary file while writing option" do you mean that you did not check this or that it is not letting you check this and is grayed out?

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
  • Monday, January 09, 2012 7:56 PM
     
     

    I did not check it.(its unchecked)

    I thought that If the checkbox is not checked it is not supposed to create any temporary files. But even though it is not checked it is creating the temporary *.BTS-WIP files.

    ANy help is appreciated.


    • Edited by raghus4228 Monday, January 09, 2012 11:44 PM
    •  
  • Tuesday, January 10, 2012 7:00 AM
     
     

    Are you creating a new file while writitng to the network drive?  

  • Tuesday, January 10, 2012 6:25 PM
     
     
    yes... Create new is selected...
  • Friday, January 20, 2012 9:04 AM
     
     

    At the send port what is the mechanism you are using for filename.

    try using timestamp and see if u get the error.

    also read into the new features of FTP adapter with biztalk 2010

    http://msdn.microsoft.com/en-us/library/ff629768.aspx

     

    Rgds

    Kamal

     

  • Saturday, March 24, 2012 1:16 AM
     
     Answered

      This seems to be issue because of the load on the network drives we are having.

     When I changed the send location to the local drive it works fine.

      Issue: Because of the load on the drive the BizTalk creates teh file and before it names it the other application is trying to grab it..because of which the BTS-Wip issues are arising.

      Resolution for my problem was- Have a bigger hard disk and RAM.

    • Marked As Answer by raghus4228 Saturday, March 24, 2012 1:17 AM
    •  
  • Friday, September 21, 2012 10:29 AM
     
     

      This seems to be issue because of the load on the network drives we are having.

     When I changed the send location to the local drive it works fine.

      Issue: Because of the load on the drive the BizTalk creates teh file and before it names it the other application is trying to grab it..because of which the BTS-Wip issues are arising.

      Resolution for my problem was- Have a bigger hard disk and RAM.

    Hi raghus4228

    Could you tell us what was the hard disk and RAM size when you faced the issue? And did you get it increased? If yes, by how much?

    Regards