Interop.AZROLESLib RRS feed

  • Question

  •  Hi i Cant seam to find a way round this one

    i am Developing a solution that is using azman to provide authorization at an operations level

    i have been developing this on a vista box using vs2008 and 3.5 framework

    the project is is Interop.AZROLESLib reference 

    this works wonderfully on my test server 2008 box and my vista dev box

    but when i move it to test on a 2003 sp1 enviroment i get the following error

    i am not sure how to resolve this problem

    any ideas

    thanks in advance

    [COMException (0x8007051a): Indicates two revision levels are incompatible. (Exception from HRESULT: 0x8007051A)]
       AZROLESLib.AzAuthorizationStoreClass.Initialize(Int32 lFlags, String bstrPolicyURL, Object varReserved) +0
       QNRL.RolesProvider.AzManRolesProvider..ctor() in C:\Projects\code\CommonCode\QNRL\Constraints\AzManRolesProvider\AzManRolesProvider.cs:41

    Wednesday, July 2, 2008 4:28 PM

All replies

  • I had this problem too. I was using an XML file as authorization store. The problem was in that file.

    In the AzAdminManager tag, there's a MajorVersion attribute and for Windows 2003 it has to be "1".

    For Windows 7 the MajorVersion attribute has value "2".

    Hope this helps anyone, who has the same problem.

    Tuesday, February 7, 2012 3:08 PM
  • Hi davidk

    did you register your Com Class File in Server 2003 ?

    your Com Class is supported Server 2003 os ?

    you are using third party control. so ask specific error on their forum / support.

    so they will give you proper answer.



    Tuesday, February 7, 2012 6:53 PM