This seems like it should be a BCP ticket. When is this code snippet being called? Why would it be executed on a background thread? Does CheckAccess() ever return false? I think queuing up the call to CallAgentryAction() on the main thread could be causing the problem.
↧