Property 'userAccountControl' not found error

Jan 30, 2009 at 1:04 AM
Hi,

I've tried to integrate BlogEngine with Active Directory. I can run the site successfully but when accessing some link such as 'Add Entry' or 'Users' I received this error message "Property 'userAccountControl' not found". Exception Details: System.Configuration.Provider.ProviderException: Property 'userAccountControl' not found.
It seems like the error happens when trying to populate all users.

Here is some part of my web.config:
<connectionStrings>
    <add name="ADConnectionString" connectionString="LDAP://server.domain.com/DC=domain,DC=com" />
</connectionStrings>

<authentication mode="Windows" />

<authorization>
      <deny users="?"/>
</authorization>
    
<membership defaultProvider="MyADMembershipProvider">
      <providers>
        <add name="MyADMembershipProvider"
                 type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
                 connectionStringName="ADConnectionString"
                 attributeMapUsername="sAMAccountName"
                 enableSearchMethods="true"/>
      </providers>
</membership>

Thanks for any help!