<?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: Connecting from within global.asax</title><link>http://forums.asp.net/thread/3252798.aspx</link><pubDate>Tue, 23 Jun 2009 10:58:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3252798</guid><dc:creator>gdmccarty-w</dc:creator><author>gdmccarty-w</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3252798.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=3252798</wfw:commentRss><description>&lt;p&gt;Ok, problem wasn&amp;#39;t related to connections at all.&amp;nbsp; In my code I was attempting to use a cert from the Windows cert store.&amp;nbsp; I didn&amp;#39;t have the proper credentials to access the cert (sort of).&amp;nbsp; Then, when I used an incomplete cert in the ldap call, it failed.&lt;/p&gt;</description></item><item><title>Re: Connecting from within global.asax</title><link>http://forums.asp.net/thread/3239746.aspx</link><pubDate>Wed, 17 Jun 2009 12:20:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3239746</guid><dc:creator>gdmccarty-w</dc:creator><author>gdmccarty-w</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3239746.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=3239746</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s neither DNS or wrong port.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I had two test.&amp;nbsp; One using global.asax and one using a web page.&amp;nbsp; Each called the same class library.&amp;nbsp; Running one after the other resulted in the global.asax test failing while the web page test succeeded.&amp;nbsp; So it doesn&amp;#39;t seem to be the code.&amp;nbsp; I suspect it&amp;#39;s a security setting.&amp;nbsp; I suspect this because the global.asax is running under SharePoint, that doesn&amp;#39;t run under full trust.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Just looking for some ideas of where to research this.&lt;/p&gt;</description></item><item><title>Re: Connecting from within global.asax</title><link>http://forums.asp.net/thread/3238419.aspx</link><pubDate>Wed, 17 Jun 2009 02:25:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3238419</guid><dc:creator>Sumeeth Ambati</dc:creator><author>Sumeeth Ambati</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3238419.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=3238419</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;try adjusting DNS configuration settings. Also, check if you are using the correct port. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Connecting from within global.asax</title><link>http://forums.asp.net/thread/3237730.aspx</link><pubDate>Tue, 16 Jun 2009 18:05:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3237730</guid><dc:creator>gdmccarty-w</dc:creator><author>gdmccarty-w</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3237730.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=93&amp;PostID=3237730</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m attempting to make a connection to a LDAP server from within global.asax.&amp;nbsp; I&amp;#39;m using a class lib dll I made.&amp;nbsp; Works great in a test program.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Running on the same box, same credentials, etc., the call from within global.asax gives me &amp;#39;LDAP server is unavailable&amp;#39;.&amp;nbsp; When I look at the LDAP log, it shows no connection activity.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I think I&amp;#39;m being denied by .net security, but I don&amp;#39;t know where to look.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any suggestions?&lt;/p&gt;</description></item></channel></rss>