'Unknown error (0x8000500c)' and 'A local error has occurred' exceptions

Hi
I have a below code which causes the two exceptions.
Unknown Error
A local error has occurred
Can anyone tell me what is reason for this exceptions and solution for that as well.

Hi Archana,
You need to pass the FQDN to DirectoryEntry API. Please check the below links:
http://stackoverflow.com/questions/9737599/activedirectory-error-0x8000500c-when-traversing-properties
If that doesn't help, then try using the cache refresh steps mentioned in the below link before running your app:
http://support2.microsoft.com/default.aspx?ID=KB;EN-US;Q241981
Hope that helps.
(Please mark as answer if it resolves your query. Please upvote if this post is helpful.)
Rajesh.

Similar Messages

Maybe you are looking for

  • Advice On Drobo or DroboPro? LR24 Mac Asset Management

    Anyone have problems with Drobo or DroboPro? I have 2+TB of images, that is growing and will continue to do so. Thinking of a solution where I use my internal HD (2.7TB Raid 5) for active clients / jobs and then using a Drobo or DroboPro for less act

  • 11g onthe top of 10g? in same system.

    Hi Gurus, I planing to install obiee 11g on the top of 10g in my laptop(*OS*:windows xp 32 bit,*DB*:oracle 11g ,with 4 GB virtual memory in VM ware,disk space 80 GB,java 1.5) 1)what are extra configuration we need to take care? 2)Is there any clash b

  • Easy way to transfer photos from multiple computers to one library ?

    Hi, At home we have a couple of macs and of course every user has it's own iphoto library. I am now looking for a way to backup all those iPhoto libraries to a "main" computer in an easy way. This main computer is an iMac with multiple external drive

  • IPhoto book odor

    We've just received an iPhoto book I made for my wife. The cover, and maybe the inside page, have an odor, which reminds me of the odor from a pulp mill. It's much stronger to my wife than to me. Should opening the book and allow it to air out help?

  • Up-Sizing a Print Template

    Regarding multi-photo print templates, I have one that is sized for 12″x12″ and has 15 cells. Is there any way to upsize a template as well as the cell dimensions proportionately without having to recreate a totally new template? I tried changing the