Directory Programming .NET

Active Directory and ADAM programming support for .NET developers
Welcome to Directory Programming .NET Sign in | Join | Help
in Search

Update to Listing 5.2 : Searching By Offset

Last post 06-03-2006, 1:49 PM by dunnry. 0 replies.
Sort Posts: Previous Next
  •  06-03-2006, 1:49 PM 21

    Update to Listing 5.2 : Searching By Offset

    When running code from Listing 5.2 you may get the following error:

    System.Runtime.InteropServices.COMException (0x8007202C): The server does not support the requested critical extension.

    The issue is usually related to ADAM and the server side sorting.  You can fix this issue by changing the SortOption from 'cn' in the example to something else you wish to sort on (e.g. last name or 'sn').  If we had to do this again, I would have used another attribute other than CN, which apparently only works in Windows 2003 for this example.


    Ryan Dunn
    Extemporaneous Mumblings
    The .NET Developer's Guide to Directory Services Programming
View as RSS news feed in XML