I'm having a problem trying to access an AzMan (Authorization Manager) XML
store from a process running as a Win32 service.
I get a "System.ArgumentException: The parameter is incorrect" thrown from
AZROLESLib.AzAuthorizationStoreClass.Initialize().
The Win32 service is running as "Local System". If I run the service as my
domain account, it works fine. However, I need to be able to run the service
as "Local System".
The platform is Windows XP SP2 (which is one of the target platforms for the
software I'm building).
I've set the permissions on the XML store (validated the file permissions
and validated in the AzMan MMC plug-in) so that pretty much every
"well-known" system group has full control over the store. However, I was
unable to get it to work.
The only other mention of this I've seen is that it might work on Windows
Server 2003 but doesn't work on Windows XP. The writer of that post implied
the AzMan was broken under Windows XP.
Anyone got any ideas about how to make this work?
Thanks,
Chris
richlm - 26 Oct 2005 12:42 GMT
Experienced exactly the same problem. And it makes no difference if you use
an XML store or a store in AD/ADAM.
AzMan works fine on Windows Server 2003, but the other post your have seen
is - unfortunately - correct.
It gets worse: AzMan is not even officially supported by Microsoft on
Windows XP.
The only workaround I am aware of is to use a domain account.
We also chose a 3-tier architecture where all the AzMan access is made from
an application server (running on a Win2003 server).