I'm developing a WPF application with the security block using AzMan as its policy store.
The AzMan in configured to work with AD LDS (aka ADAM). The development environment was with 2003 server and everything was fine. The deployment environment has 2008 server and when I'm trying to run the application I get an exception:
"Element not found. (Exception from HRESULT: 0X80070490)".
The stack trace points to AZROLESLib.AZAuthorizationStoreClass.OpenApplication2(String bstrApplicationName, Object varReserved). I call this method with "MyApp" and null and it was working fine on 2003 box.
It seems to me that the application cannot locate "MyApp" in my AzMan store. Does The AZMan API expect something different on 2008 than on 2003? Do I need
to replace interop.AZROLESLib.dll to a newer version?