Programing QA

Programing/Developing Questions & Answers. Focus on business application material

The attribute syntax specified to the directory service is invalid C# DirectoryEntry

If you are getting the following exception:

{System.DirectoryServices.DirectoryServicesCOMException (0x8007200B): The attribute syntax specified to the directory service is invalid.

Then you probably trying to update DirectoryEntry property with empty string (“” or string.Empty).

try set it to “Null” instead and it just might work.

Good Luck.

Comments (1) -

  • Oscar Soult

    8/15/2014 7:30:19 PM |

    I love it when individuals come together and share opinions. Great site, continue the good work!

  • lasy mact

    3/11/2015 1:28:06 AM |

    JD Oganis  Robust Media Theme for Drupal

  • important source

    3/18/2015 9:16:23 AM |

    I simply want to mention I am just new to blogs and truly savored this blog. Likely I’m likely to bookmark your site . You definitely have outstanding stories. Cheers for sharing your webpage.

  • authority source

    4/4/2015 6:03:02 PM |

    Would you be interested in exchanging links?

Comments are closed