Argument Exception : Value does not fall within the expected range

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nandkumar

    Argument Exception : Value does not fall within the expected range

    Currently I am working on Azman. I am using Windows XP professional, I have
    installed AzMan (Windows 2003 Service Pack-1). I have defined operations,
    tasks roles in AzMan. Now I want to do access check for the operations. I
    have written following code,

    AzAuthorization Store store = new AzAuthorization StoreClass();
    store.Initializ e(0, @"msxml://C:\nan\AzManSto re.xml", null);

    This code is working fine when I have created a test application (standalone
    executable)in Microsoft VS2005 and accessing the AzMAn.
    But when I have placed this code in the Windows Service i is giving me error
    at the AzMan initialization step.
    Argument Exceptopm : Value does not fall within the expected range.


    Thanks in advance

    Nandkumar

  • Vlad Bezden

    #2
    RE: Argument Exception : Value does not fall within the expected range

    Currently I am working on Azman. I am using Windows XP professional, I have
    installed AzMan (Windows 2003 Service Pack-1). I have defined operations,
    tasks roles in AzMan. Now I want to do access check for the operations. I
    have written following code,
    >
    AzAuthorization Store store = new AzAuthorization StoreClass();
    store.Initializ e(0, @"msxml://C:\nan\AzManSto re.xml", null);
    >
    This code is working fine when I have created a test application (standalone
    executable)in Microsoft VS2005 and accessing the AzMAn.
    But when I have placed this code in the Windows Service i is giving me error
    at the AzMan initialization step.
    Argument Exceptopm : Value does not fall within the expected range.
    >
    >
    Thanks in advance
    >
    Nandkumar
    You might have this problem if you are running it under 'Local System' account. Unfortunately this is the problem in XP. It should run fine on Win2K3.

    Change service account to the domain account user who has access to that file. Such as Admin of the AzMan Policy store, it should resolve your problem.

    Also make sure that under security tab of the AzMan's Policy store you add the same account that you assigned to the Windows Service.

    Vlad.

    BizTalk Utilities - Frustration free BizTalk Adapters
    Joacă jocuri online gratuite direct în browserul tău pe mobil, tabletă sau computer pe Jocuri Rix. Fără descărcări, fără înregistrări necesare.

    Comment

    Working...