Thursday, April 09, 2009

The directory property cannot be found in the cache

Authorization Manager - Azman is a great tool... a pain to get setup if you don't have all the details.

Exception Details: System.Runtime.InteropServices.COMException: The directory property cannot be found in the cache.

There is very little documentation on solving the errors you see when you've never seen it working.

If you see the error above you may have skipped the fact that you need to setup an impersonation context in your web.config so your user can see the AzMan application.

In my case I am trying to connect to an AzMan application that lives in a domain that trusts my own domain so the recommended setting of the Asp.Net user as the impersonation context did not work. I stupidly fumbled with this for hours.

- Hal

0 comments: