Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Missing dll in c:\windows\assenbly

  Asked By: Sondra    Date: May 20    Category: Sharepoint    Views: 1641

trying to get FBA using LDAP back to my AD working. Thought I was very close
(can import profiles, resolve users in PeoplePicker and add users). However,
when I try and log into my FBA enabled site I get the "Server could not sign you
on" error message.

In looking at the Event logs on the server I am seeing a number of failure
events in the Security section of my Event Viewer.

I did some research and it looks to me like SharePoint is not seeing the
Microsoft.Office.Server.Security.LDAPMembershipProvder dll referenced in my
web.config files.

I checked the assembly folder and sure enough don't see it anywhere there. Also
did a search of the physical drives on the server and egt nothing even close.



10 Answers Found

Answer #1    Answered By: Jesus Davis     Answered On: May 20

Microsoft.Office.Server.Security.LDAPMembershipProvder is the name of the class
in the assembly. The dll  is simply Microsoft.Office.Server.dll. Compare what
you've done to the following Blog post.


Answer #2    Answered By: Narasimha Kamane     Answered On: May 20

I have looked at that specific article, along with many others over
the last 3 days. The only thing I had changed was that I removed the last line
of the configuration (otherRequiredUserAttributes="sn,givenname,cn") hoping it
would allow me to log  on. Apparently removing that line was causing the error
because after I added it back  I no longer get the error  message saying that
SharePoint "Cannot get the Membership Provider with the name LDAPMembership.

Also, in the userFilter line I had to remove the first part of that string. If I
add (|(ObjectCategory=group)(ObjectClass=person) I can no longer import  users,
resolve names or add users  to a site.

My current configuration follows, this allows me to import profiles, resolve
usernames in the PeoplePicker and add  users to the site  Collection Admins group.
However, I still cannot successfully log in, I get the "The server  could not
sign you in. Make sure your user name and password are correct, and then try

<membership defaultProvider="LDAPMembership">
<add name="LDAPMembership"
Microsoft.Office.Server, Version=, Culture=neutral,

Answer #3    Answered By: Fidel Crane     Answered On: May 20

A couple questions:

* Is the name of your DC actually 'server.company.com' or did you change
that to the actual name in your web.config?

* Are your users  stored in an organizational unit in AD somewhere under
a root domain of company.com?

* Since you only list a membership provider have you added the
individual user to the site  they are trying to log  into? Remember they won't be
the same user as the one normally given rights through Windows Authentication.
Without a RoleProvider entry you won't be able to add  any groups.

Answer #4    Answered By: Akshara Sanghavi     Answered On: May 20

name of DC was changed to protect the innocent (me)

Users are stored in OU scattered throughout our AD.

A user (me) has been added as the site  Collection Administrator for the extended
site collection from the central administration page.

Since I can't log  directly into the extended site collection
(officeweb.company.com/officewebext.company.com) I can't add  the user there.

Answer #5    Answered By: Aishwarya Dixit     Answered On: May 20

Added my LDAPMembership account as site  administrator using stsadm. Still can't
log in.

I need a beer...............maybe numerous beers.

Answer #6    Answered By: Indrajeet Patil     Answered On: May 20

It is widely known that the importance of the problem is inversely proportionate
to the amount of beers you have.

Answer #7    Answered By: Xavier Hopkins     Answered On: May 20

I can assure you that by late Friday night the magnitude of the problem had been
greatly reduced.

Answer #8    Answered By: Viviana Rollins     Answered On: May 20

Did you add  the user using the form of MembershipProviderName:Username or just
Username? Even though the Zone is set to use FBA it still recognizes both and
will give preference to the regular windows acocunt when added in the dialog.
So if you type in just your name or your userid you're adding the wrong account.
With most FBA its not a problem because the user only resides in one place or
the other. But in this case the same named user is in both.

Answer #9    Answered By: Erika Price     Answered On: May 20

Definitely added it as ldapmembership:csimcox

Answer #10    Answered By: Otis Blackwell     Answered On: May 20

ok, I got it working. This is another one of those cases where information on
the web just isn't what it should be.

In the course of working  on this ovewr the last few days I have seen more than a
few blog/forum posts that state that in order for you to log  into a SharePoint
site via FBA using LDAP as the authentication provider you have to include the
following line in the web.config.


Well, once I removed that line I was magically able to log into my FBA enabled
SharePoint site.

That will be one of those note to self items that I will need to document

Didn't find what you were looking for? Find more on Missing dll in c:\windows\assenbly Or get search suggestion and latest updates.