Re: DirectoryServices bug?



Ok so I tried it again with specifying each property before performing
the search, and checking for multiple results as specified before. I
still get the same exception. I've tried accessing other properties
that are available, but I don't need and I can seem to access those
just fine, but every time I get to this one it throws an exception. Any
Ideas??

Thanks,
Will

bugnthecode wrote:
Thanks for your reply. I know that it's possible to not get any results
back from searcher.FindAll(), but I was trying to show the smallest
possible example. I have tried using the ProperitesToLoad.Add() and
when I do even the properties I don't specify are actually accessible.
Do you know why this would happen? I'll try it again specifying every
property I would like to load, and checking for multiple values for
each property. I just don't understand why that specific property
throws an exception when none of the others do. Could it be the format
that the string is in (in the format for a url?)? Would the length have
to do with it (the length of that property for myself in the directory
is 58 characters)? And what exactly does that exception mean?

Thanks for your help Marc,
Will


.



Relevant Pages

  • Re: Unable to execute program using the jar option.
    ... by specifying the class directly it runs just ... Exception: I believe the exact Exception is irrelevant to this issue ... path definately has the jar file that contains the class the exception ... complaining about finding the MigrationDirector .. ...
    (comp.lang.java.programmer)
  • Unable to execute program using the jar option.
    ... by specifying the class directly it runs just ... (specifying the jar file to run) ... Exception: I believe the exact Exception is irrelevant to this issue ... path definately has the jar file that contains the class the exception ...
    (comp.lang.java.programmer)
  • Problem writing text file from web service
    ... exception of "Access to the path {filename} is denied." ... I tried specifying the root directory of C:\, and also by not specifying a ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: ADODB.Stream.Open now with VS2005 gives wrong type error message
    ... exception of the mode property. ... Specifying the mode ahead of time works, ... Setting the other paraemters does not work as the user name and password ...
    (microsoft.public.data.ado)
  • Re: Debug.exe for win32
    ... Format is: n) e address t=n ... Display the debug registers. ... R DRx command. ... The help output can be limited by specifying the first letterof the ...
    (alt.lang.asm)