The current build operation failed: Access is denied. RRS feed

  • Question

  • User-2030890894 posted


    I am using the caching feature of Enterprise Library 4. It's working on my local machine but after I have published the web app to the staging server, I have received the error below:

    "The current build operation (build key Build Key[Microsoft.Practices.EnterpriseLibrary.Caching.ICacheManager, Cache]) failed: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) (Strategy type Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy, index 2)" string "

    I have given the aspnet and network service the full permission but the error still exists. The ff. dlls are also present in the BIN:


    Please help me as I am new in using the Enterprise Library.

    Thank you so much!

    Tuesday, August 4, 2009 12:22 PM

All replies

  • User-1726144099 posted

    I also facing same problem...

    Have any solution?


    Tuesday, September 1, 2009 5:46 AM
  • User-383866881 posted

    I solved it.

    In my cas I was using two configuration files in my web app:


    The Web.config was referencing bad the Entlib.web.config, that was the reason it didn't work.


    So I expect that in your case, even if dont have two configuration files, the problem must be something wrong in the configuration files.

    Wednesday, February 10, 2010 6:50 AM