• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 22 Mar 2016 11:48 PM by  Hudo
Locked tmp file in App_Data
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Hudo



New Member


Posts:1
New Member


--
22 Mar 2016 03:08 PM
    Hi all,

    just installed latest version of 51degrees and encountered deployment problem described here also:
    https://51degrees.com/support/forum/aft/3845

    website in on Azure (WebApp PaaS), deployment is done through Teamcity.

    Deployment fails because Msdeploy tries to delete all files in App_data folder, and some tmp files are locked.
    In that other forum thread, problem was with permissions, but on Azure my deployment user should have all required permissions for read/write.

    Any advice?
    0

    Mike



    Basic Member


    Posts:147
    Basic Member


    --
    22 Mar 2016 04:15 PM
    Hi Hudo,

    Thank you for contacting 51Degrees. I apologise for the delay with response.

    The 51Degrees .NET API would only create temporary data files if it is running in stream mode (Used by default). When the deployment happens, is it possible to stop the detector to release the file locks?

    Alternatively you can modify the detector to run in memory mode (no temporary files created as data file is stored in memory). Memory mode requires more main memory.
    For average memory usage see: https://51degrees.com/Support/Docum...Benchmarks
    And to switch detector to memory mode: https://51degrees.com/support/docum.../detection

    Hope this answers your question.

    Kind regards,
    Mike
    0

    Hudo



    New Member


    Posts:1
    New Member


    --
    22 Mar 2016 11:48 PM
    I switched to memory mode and deployment worked fine!
    Thanks!
    0
    You are not authorized to post a reply.