Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mordonez 3 posts 23 karma points
    Sep 22, 2011 @ 19:35
    mordonez
    0

    LDAP provider returns Could not load file or assembly 'Examine.XmlSerializers'

    Hi everyone,

    I am trying to configure an installation of umbraco 4.7 with Secure login to an LDAP connection. I modified the web.config as specified in the guide http://msdn.microsoft.com/en-us/library/ms998360.aspx

    web.config


    <connectionStrings>
        <add name="ADConnectionString" connectionString="LDAPS://IP:PORT/ou=XX,dc=XX,dc=XXXXX" />
        <remove name="LocalSqlServer" />
      </connectionStrings>


        <!-- Membership Provider -->
        <membership defaultProvider="MyADMembershipProvider" userIsOnlineTimeWindow="15">
          <providers>
            <clear />
            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" />
            <add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
            <!-- THIS IS THE NEW PROVIDER -->
            <add name="MyADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ADConnectionString" connectionProtection="Secure" connectionUsername="username" connectionPassword="password" attributeMapUsername="sAMAccountName"    />
            <!--   END OF AD PROVIDER CODE -->
          </providers>
        </membership>

    umbracoSettings.config

        <providers>
            <users>
                <!-- if you wish to use your own membershipprovider for authenticating to the umbraco back office -->
                <!-- specify it here (remember to add it to the web.config as well) -->
              <DefaultBackofficeProvider>MyADMembershipProvider</DefaultBackofficeProvider>
              <!-- <DefaultBackofficeProvider>UsersMembershipProvider</DefaultBackofficeProvider> -->
            </users>
        </providers>

    When I try to identify a user the umbraco returns the next error

    Could not load file or assembly 'Examine.XmlSerializers' or one of STIs dependencies. The system can not find the file specified
    


    Its a bug or I'm doing anything wrong?

  • Mário Salgueiro 16 posts 36 karma points
    Oct 12, 2011 @ 14:16
    Mário Salgueiro
    0

    Same here... i'm using umbraco 4.7.1 version

    Edit:

    But i test this in another enviroment and worked... probably was a bad LDAP configuration.

Please Sign in or register to post replies

Write your reply to:

Draft