Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can’t find people in people picker using “Check Names” button.

571 views
Skip to first unread message

RichRockwell

unread,
May 29, 2007, 12:47:00 PM5/29/07
to
I have about 11,000 profiles imported from Active Directory in my SharePoint
site on a single server. I can see all the profiles from the User Profiles
and Properties page. If I search using the search box on the home page, the
search works quickly and I get results expected for any of these names
regardless of the format of the name (first name first or last name first.)

However, searching for names in other places causes problems:

When adding a user to group permissions for a web site:
I enter a name in the format last name, comma, first name, for a name that
has a profile and is listed in another group for the site, then I click the
“Check Names” button. The hour glass shows for 3 or 4 minutes, then I get
“No exact match was found.”

If I use the “Browse” (directory) button, and I search for the same name, it
finds it in less than a minute but only if I enter it as last name, comma,
first name.

In a workflow:
When setting up a workflow (such as an out-of-the-box workflow on a document
in a docment library), and I want to enter a name for an approver, I enter a
name, then click the “Check Names” button, and I get a message “Sending data
to the server…” that displays for about 5 minutes, then “Warning: An error
occurred submitting this form to the Web server. Powered by: InfoPath Forms
Services.” (I don’t have InfoPath server installed.)

If I use the “Approvers…” button, it finds the name in about a minute if I
enter last name only or last name, comma, first name, but not first name,
last name.

I need to get the check names searches working because that is what users
will use by default.

Can anyone explain what I might be missing in my configuration or provide
some tips for troubleshooting? Is there a way to make the name searches in
the directory look-ups use first name, last name in addition to last name,
comma, first name?

Toby Statham

unread,
May 29, 2007, 2:49:42 PM5/29/07
to
Hi Rich,

The people picker works independently from User Profiles. It may look like
it is working in User Profiles, but things can be different with the people
picker.

The people picker will search the active directory of the domain your server
is in and any domains with two way or one way trusts using the application
pool account of the web application the people picker was initiated in.

There are various settings to adjust this and I would advise having a look
through this post by Joel Oleson

http://blogs.msdn.com/joelo/archive/2007/01/18/multi-forest-cross-forest-people-picker-peoplepicker-searchadcustomquery.aspx

When you enter the name in the format of Lastname, Firstname it seems to be
some sort of client side lookup to the server. This is more obvious in the
workflow people picker, when it puts up a useful message "Sending data to
server...". This is also causing us problems with a long delay. We still
have a support request open with Microsoft.

Can you try entering the user in the format of domain/username or email
address firstname...@blah.com, this should come back almost straight
away.

What is your active directory? Do you have quite a few domains?

Cheers

Toby

For more WSS 3.0 and MOSS 2007 info have a look at
http://statto1974.wordpress.com

"RichRockwell" <RichRo...@discussions.microsoft.com> wrote in message
news:760CC57C-D0DB-445C...@microsoft.com...

RichRockwell

unread,
May 29, 2007, 5:22:00 PM5/29/07
to
Thanks, Toby, but I'm not finding anything relevant in the Joel Oleson blog.
The peoplepicker properties seem to deal mainly with adding forests. I am
only working with one server and only one domain and the server is in the
same domain as the active directory. I am experiencing very different
behavior when I use the "Browse" button versus the "Check Names" button. The
Browse button finds names, the Check Names button never does. I can enter
the exact same name in the Browse mode as the Check Names mode and get no
result in Check Names. It makes no difference (using "Check Names") if I use
domain/ before the name, or if I search on email address. I never get a
match.

I tried the peoplepicker -onlysearchwithinsitecollection and it seems to
have affected the "Browse" mode, but not the "Check Names" mode. And now, I
don't see how to set it back to not limit the search within the
sitecollection.

My AD profiles all import into SharePoint OK. I'm not sure what you mean by

"What is your active directory?"

RichRockwell

unread,
May 29, 2007, 5:27:27 PM5/29/07
to
Some additional information: When I try to add a user as an authorizer in a
workflow, and I get an error message in SharePoint (the Infopath error), I
also get the following error in my server event log:

There was a form postback error. (User: {DOMAIN\user}, Form Name: Review,
IP: , Request: http:{my-site}/_layouts/Postback.FormServer.aspx, Form ID:
urn:schemas-microsoft-com:office:infopath:workflow:ReviewRouting-Init:1033,
Type: ThreadAbortException, Exception Message: Thread was being aborted.)

Doy @discussions.microsoft.com Simon Doy (Adepteq)

unread,
Jun 6, 2007, 8:33:00 AM6/6/07
to
Which user is the Web Application running as, if a local account then change
to a domain account using Central Administration->Operations->Service
Accounts, choose the Web Application option then Windows SharePoint Web
Application and the appropriate Application Pool and fill out the
DOMAIN\username and password details.

Try the people picker again.
One thing you will need to give the Domain Account appropriate permissions
to be able to logon to your computer and also access the SQL Server +
databases, as a quick measure add the account to the Local Administrator
group.

The reason for this is that the local account wont be able to authenticate
against the domain controller and thus unable to display any results which
live in AD.

Regards
Simon
Adepteq
www.adepteq.com

RichRockwell

unread,
Jul 11, 2007, 5:42:01 PM7/11/07
to
The domain account is set as you suggested. Upon further testing, I find
that I do get hits on searches if I search for an exact account name, but I
don't get hits if I search for just last name, or last name + first name, or
first name + last name.

I tried setting a custom query using:

stsadm.exe -o setproperty -pn peoplepicker-searchadcustomquery -pv (sn={0})
(I get a "command completed successfully" confirmation)

but I am still not getting hits when I search for a last name.

muhammadfasih

unread,
Sep 13, 2008, 4:35:37 PM9/13/08
to
Hi,
I am getting the Same Error in SharePoint log. But I am facing a different problem:

I have an InfoPath Form that does some long work on a button Click and then Submits the from Back to form Library. It pops an error when it submits the form "Unable to submit the Form". i get the same in SharePoint log file. Ie.

There was a form postback error. (User: {DOMAIN\user}, Form Name: Review,
IP: , Request: http:{my-site}/_layouts/Postback.FormServer.aspx, Form ID:
urn:schemas-microsoft-com:office:infopath:workflow:ReviewRouting-Init:1033,
Type: ThreadAbortException, Exception Message: Thread was being aborted.)


I See one common thing that I am using People Picker control in my InfoPath Form.

If you find a solution to your problem, please let me know Urgently.

Mike Walsh

unread,
Sep 14, 2008, 10:37:36 AM9/14/08
to
> I am getting the Same Error in SharePoint log.

The same error as what ?

This is neither a reply to a previous question in a thread, nor do you
quote any earlier message.


Note that you may well find that the best place to post questions about
problems with InfoPath forms is to the Microsoft *forum* that is
specifically for "SharePoint - InfoPath Forms Services" (i.e for
questions on InfoPath and Forms Services.

It's here

http://social.technet.microsoft.com/Forums/en-US/sharepointinfopath/threads/

Mike Walsh
WSS FAQ http://www.wssfaq.com / http://wss.collutions.com
no private questions please

0 new messages