"No exact match found" when using People Picker in MOSS with Forms Authentication
This week I've been working with a customer to implement Forms Authentication for their MOSS site. Actually, it's mixed authentication since they'll have part via AD and part via a database. There are some great tutorials out there, but some people run into the problem I did - after modifying the web.config files, you have to add the user in the database to your SharePoint site. But when you enter the user into the People Picker, you get "No exact match found" and it won't let you continue.
What I found was that if I switched the Central Administration site to use the provider I set up, I got an "Unknown Error", which let me to think something bad was going on. Thinking through it more, I had in the back of my head that SharePoint would be accessing the database in the context of the current user, which is, of course, wrong. It access the database as the user you told SharePoint to use to access the database. So looking at that user, it didn't have access to my authentication database, and once I granted it access, everything worked like a charm!




5 Comments:
can tell me the steps to overcome that problem
By
vivekthangaswamy, at 10:29 AM
Hi Cory,
Thanks for the post; we're seeing something very similar here. However, we can't seem to get rid of the problem. The Central Admin site seems to be running under the local machine's NETWORK SERVICE account (at least that's what the corresponding w3 process shows in Task Manager), but adding that to the members full control role in our auth db doesn't change anything.
By
Peter Brunone, at 1:45 PM
Peter - contact me off-list and we can see if we can troubleshoot this. Send an email to my first name dot my last name at gmail dot com and I'll see what I can do.
By
Cory Foy, at 9:31 PM
Hey Guys,
I have the same problem, I've already tried to do everything (now for 3 days ...) I'm hopeless, hopefully someone can help me?
I've checked the Application Pool, grant al the rights to the user I'm accessing the db ...
The web.config files are configured right, everything is OK, only if I try to add users to the FBA-website in Sharepoint I can't find them.
By
Wouter Copepns, at 8:57 AM
Ouch. I should read better. In the last sentence you tell me to check if the user running the administration page actually has access to the membership database. Hey Presto!
That did the trick. Thank you very much.
By
Anonymous, at 2:29 PM
Post a Comment
Links to this post:
Create a Link
<< Home