Activation error occured while trying to get instance of type ICacheManager, key "xxxx"

Topics: Caching Application Block , Cryptography Application Block
Feb 21, 2013 at 3:33 PM

We have implemented Cache Block as our storage to store secure information etc on the server and it works fine but when during development we recompile our application it throws the error and we need to change partition name and it works fine again till new compilation.

Am I missing something in configuration ?

Thanks in Advance,

Feb 22, 2013 at 1:45 AM
What kind of application are you developing? Based on your description it sounds like perhaps app.config if being copied to <applicationname>.exe.config during compilation and overwriting the configuration.

Randy Levy
Enterprise Library support engineer
Support How-to