<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Active Directory and LDAP</title><link>http://forums.asp.net/93.aspx</link><description>Questions about Active Directory and other directory stores, such as those accessible via LDAP, are appropriate here.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: AD Attribute issue</title><link>http://forums.asp.net/thread/3249857.aspx</link><pubDate>Mon, 22 Jun 2009 07:16:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3249857</guid><dc:creator>elegantkvc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3249857.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=3249857</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; I had the same issue.Listing up of active directory users from the AD .When i browse the application from my machine it works fine.But when i browse from some other user machine.It throws an error&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;quot; System.Runtime.interopServices COMexception:An operation error occured &amp;quot;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in the Searcher,FindAll() line&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Am&amp;nbsp; using IIS 5.1 version and VS 2008.Any for regarding this&amp;nbsp; pls share&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Vijay&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img src="http://forums.asp.net/emoticons/emotion-9.gif" alt="Crying" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: AD Attribute issue</title><link>http://forums.asp.net/thread/457563.aspx</link><pubDate>Wed, 28 Jan 2004 22:48:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:457563</guid><dc:creator>dunnry</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/457563.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=457563</wfw:commentRss><description>I heard from another user that had a similar problem that a reinstall of the framework fixed this issue.  It might be worth a try... uninstall and reinstall should be pretty painless.  Not my favorite solution, but one nonetheless.</description></item><item><title>Re: AD Attribute issue</title><link>http://forums.asp.net/thread/457259.aspx</link><pubDate>Wed, 28 Jan 2004 19:22:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:457259</guid><dc:creator>Tailspin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/457259.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=457259</wfw:commentRss><description>Thanks Ryan.
&lt;br /&gt;

&lt;br /&gt;
We were able to browse ok with the ldap browser, so I don't think it is a permission issue.
&lt;br /&gt;

&lt;br /&gt;
We just cleared the cache and re-booted the production server and the same problem exists.
&lt;br /&gt;

&lt;br /&gt;
I really thought the cache thing would do it since everything works fine when I run on the IIS server on my development pc.
&lt;br /&gt;

&lt;br /&gt;
This one is really frustrating.</description></item><item><title>Re: AD Attribute issue</title><link>http://forums.asp.net/thread/456723.aspx</link><pubDate>Wed, 28 Jan 2004 14:45:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:456723</guid><dc:creator>dunnry</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/456723.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=456723</wfw:commentRss><description>This could be a couple issues.  One, make sure that the permissions you are using on production server are adequate.  You can check that by connecting using an ldap browser (from ldapbrowser.com).  If you can connect and view these attributes, then you can rule out permissions.
&lt;br /&gt;

&lt;br /&gt;
The other issue that might be occurring is that you have cached a bad schema from connecting anonymously.  If you goto your \windows\schcache and delete the files there and reboot it might fix it.  Let me know if that works.
&lt;br /&gt;

&lt;br /&gt;</description></item><item><title>AD Attribute issue</title><link>http://forums.asp.net/thread/456015.aspx</link><pubDate>Tue, 27 Jan 2004 21:18:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:456015</guid><dc:creator>Tailspin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/456015.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=456015</wfw:commentRss><description>I have an application in which I send a list of AD attributes I want returned, and then I display the returned set in a grid.
&lt;br /&gt;

&lt;br /&gt;
This works fine on my development machine (XP Pro IIS 5.1), but when I copy the application to our production server (W2K IIS 5.0) the call to AD errors out. The odd thing is that I have determined that certain attributes appear to be the culprit.
&lt;br /&gt;

&lt;br /&gt;
I am looking for sAMACountName, department, mail, employeeID, and cn. When I pass the request on my development machine I get a dataset of our entire Active Directory with all the above attributes displayed just fine. If I run it on the production server, I get nothing.
&lt;br /&gt;

&lt;br /&gt;
Through trial and error I have determined that my production server doesn't seem to like the sAMACountName, department, or employeeID attributes. If I remove those from my list, the other attributes are returned fine on the production server. If I even add just one of the 'bad' ones above, the DirectorySearcher routine blow up with a &amp;quot;Handling of this ADSVALUE type is not yet implemented (type = 0xb)&amp;quot; error.
&lt;br /&gt;

&lt;br /&gt;
I'm completely stumped on this one. Obviously AD likes my development IIS server, but not our production server, and I have no idea why. 
&lt;br /&gt;

&lt;br /&gt;
Any ideas or suggestions would be greatly appreciated?
&lt;br /&gt;

&lt;br /&gt;
Thanks.</description></item></channel></rss>