.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

People Picker fails to search or resolve and return an error message.

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :SharePoint


I got an error while trying to access the people picker from some specific locations. I'm experiencing those problems ONLY in the cental administration and also there, just on a few places. For example if I try to change the authorization settings of any service application there is a different people picker pop up than, for example, if I want to change the admins of any service application. Any other people picker window outside the central administration works for me.

So it seems to me, that there are two different types of people picker windows. The one which is not working for me also appears in the metadata service application which is the reason I can't use this service as I'm not able to define an owner of a keyset.

In the error log I found the following message: "Ausnahme im Forderungsanbieter 'Alle Benutzer' beim Aufruf von 'SPClaimProvider.FillHierarchy()': Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt." It basically says: An exception occurred in 'all users' claim provider when calling 'SPClaimProvider.FillHierarchy()': The object reference was not set on a object instance. This is event-id 8307 which you can find here: http://technet.microsoft.com/en-us/library/ff535778.aspx

View Complete Post

More Related Resource Links

How to Get Error Message from Job History if SQLAgent Job Fails

Hello, I am using "last_run_outcome" value = 0 (fail) or 1 (pass)  from sysjobsteps to identify if the job has failed. So if the job has failed, can I get the Error Message from SQL ? (which we can see in Job History). Thanks, Prabhat

Interesting error message with content organiser: Cannot resolve mailbox (null) to a valid user

Here is a site with content organiser site feature enabled, as well as the email integration feature. Emails are successfully delivered to the "Submitted Email Records" list, but is never routed to the Drop Off Library. (the content organiser web service works fine and the drop off library works as a custom send to destination and happily processes its rules. If I turn up the debug juice I get the error "Cannot resolve mailbox (null) to a valid user" for every item in any "Submitted Email Records" in the site collection. Area: Document managagement Category: Content organiser EventID: 8000 Message: Cannot resolve mailbox (null) to a valid user I have temporarily worked around the problem by email enabling the drop off library but it creates an intermittent race condition (similar to certain workflow and event receiver situations), so its not a real solution (and in fact I assume thats why the Submitted Email Records hidden list exists in the first place). I've run procmon, specifically focusing on OSWTIMER and nothing interesting shows up at all. The error message is intriguing and I can't really think of what it is trying to do. In troubleshooting I noted that this farm had configured inbound email but not outbound email. I have since rectified this and de/reactivated the content organiser features and reset the timer service and IIS, b

Crawling fails with 404 error message, but the IIS log tell a different story

In our clean SP2010 install, crawling stops immediately, just logging a single error message:   The object was not found. ( Error from SharePoint site: HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. )   Looking at the IIS log does, surprisingly, not  confirm this. Here are all the log entries related to crawling:   #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken 2010-09-01 15:20:42 GET / - 80 - Mozilla/4.0+(compatible;+MSIE+4.01;+Windows+NT;+MS+Search+6.0+Robot) 401 1 2148074254 15 2010-09-01 15:20:42 GET / - 80 0#.w|global\cre-nhk Mozilla/4.0+(compatible;+MSIE+4.01;+Windows+NT;+MS+Search+6.0+Robot) 200 0 0 46 2010-09-01 15:20:42 GET /Pages/Forside.aspx - 80 0#.w|global\cre-nhk Mozilla/4.0+(compatible;+MSIE+4.01;+Windows+NT;+MS+Search+6.0+Robot) 200 0 995 937 2010-09-01 15:20:43 GET /_vti_bin/sitedata.asmx - 80 - Mozilla/4.0+(compatible;+MSIE+4.01;+Windows+NT;+MS+Search+6.0+Robot) 401 1 2148074254 0 2010-09-01 15:20:43 GET /_vti_bin/sitedata.asmx - 80 0#.w|global\cre-nhk Mozilla/4.0+(comp

People Picker gets error when selecting user from a trusted domain(one way forest trust)

  Hello all,   Our current setup is SharePoint 2010 Foundation server in one external forest(Trusting forest), and trying to have users in a separate internal forest(Trusted forest) access the site. The external forest's DC and SharePoint server are in a DMZ separated by a firewall with the internal forest's DC and users. A one way transitive forest trust was successfully created and has been validated. On SharePoint, we're ran the sts commands to set the setapppassword as well as the peoplepicker-searchadforests adding the domain that the SharePoint server is in, as well as the trusted forest. An iisreset was issued after running these commands. In SharePoint, we can then search for users from the trusted domain, and select the users in the Select People page, but when hitting the final Ok, an error is received: An unexpected error has occurred in which a correlation ID is provided. Reviewing the SharePoint logs we find the following: <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520081665 -1073717157 41 0 66047 0;} /* Style Defin

People Picker Render Error in Document Information Panel

I created a Content Type and added 3 columns.  One of those columns is a People Picker type column. When I open the Content Type by going to NEW -> MyContentType in a document library in SharePoint it opens in Microsoft Word but the People Picker control does not render correctly in the Document Information Panel. There is no error - just a display of a broken control. Is there a fix?

People Picker Validation Error


 Hi Folks,

              we are creating the People Editor Control Dynamically like

 protected Control LoadPicker(string webPartName, string principleNames)
      PeopleEditor pplSelect = new PeopleEditor();
      if (principleNames.ToString().Trim().Length > 0)
        principleNames = principleNames.Substring(0, principleNames.Length - 1);
        PickerEntity entity = new PickerEntity
          Key = principleNames
        pplSelect.SelectionSet = "User,SecGroup,SPGroup";
        pplSelect.ValidateResolvedEntity = true;
        pplSelect.ValidatorEnabled = true;

      pplSelect.ID = "pplSelect_" + webPartName;
      pplSelect.MultiSelect = true;
      pplSelect.AllowTypeIn = 

OCIEnvCreate failed with return code -1 but error message text was not available.



We have a requirement to connect to oracle from ASP.NET and we installed ODAC(ODAC1110621) components  on the server but still we are getting the following error while opening the connection. Please find the details below:-

OCIEnvCreate failed with return code -1 but error message text was not available.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: OCIEnvCreate failed with return code -1 but error message text was not available.

Source Error:

Line 16:     {
Line 17:         OracleConnection con = new OracleConnection(ConfigurationManager.ConnectionStrings["HRDBA"].ConnectionString);
Line 18:         con.Open();
Line 19:         Label1.Text = con.State.ToString();
Line 20:         con.Close();

Source File: \\hs003fs01-02.homebase.com\wfmp\Webpage1.aspx.cs    Line: 18

Stack Trace:

Web.Lists fails without any error message

The following code is place in aspx file
 Response.Write("Publish in<br/>");





  Response.Write("Publish Start<br/>");

  StringReader objReader = new StringReader(sPublishedData);

  DataSet dsData = new DataSet();


  iReceived = dsData.Tables[0].Rows.Count;

  iPublished = 0;

  if (sUrl != "")




   Response.Write("Url " + sUrl + "<br/>");

   sUrl = sUrl.ToLower();

   sUrl = (!sUrl.StartsWith("http://") ? "http://" : "") + sUrl;

   using (SPSite site = new SPSite(sUrl))


    using (SPWe

People picker control is taking forever to return results



We have been having this issue across all SharePoint Sites in our organization from around a week. The People picker (people search control) control that gets the data from the available user profiles is taking forever to finish. It used to work with first few letters of the person's name but now it is not returning any data for first few letters, it is giving result back only if I type the full name of the person and that too is taking more than 5min to return. How can I fix this issue? All users are getting frustrated as this is most commonly used control in all lists, doc libraries etc.,

Thanks in advance.

Restricting sharepoint people picker search



I have a sharepoint people picker in my page layout.I want to restrict its search to only user profiles and no ad directory or site collection groups for users.It should be applied to particular this people picker.

I searched over the internet and I saw that using stsadm command you can restrict user but it will apply to all of them.I want to be applied to only one people picker.

Any suggestions?

Windows Update error message 84B30001 - SQL Server 2008 SP2 update fails


I am running Windows 7 Professional on a 64 bit platform and have Windows update on and selected to notify me when updates are available.  The other day, I received an error message that an update failed to install properly.  The update that failed is to update SQL Server 2008 SP2 - KB 2285068.  I have made several attempts to retry this update with the same result.  When I Googled the error message, all of the responses deal with the SQL Server 2008 SP1 update not SP2.  Couldn't find a solution to this problem - nor could I find one in the KB article - which basically explains details of SP2 and DOES give me the option to instal SP2 from here.  Don't want to take the chance and download it from here - maybe I should though.  Can usually find a solution to a Windows update error in Google - can't find one this time.

Any suggestions?

Jim Cutrara

Jim Cutrara

People Search error


I have a People Search CoreResults Web part in the peopleresults.aspx page, when I tried to do a search for say "David h*", I got the following error, but when I tried "David hu*",  it works fine and finds that person. And here is the error that I got.

Internal server error exception: System.Threading.ThreadAbortException: Thread was being aborted.
   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformSelect()
   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind()
   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.EnsureDataBound()
   at Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()
   at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.CreateChildControls()
   at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.CreateChildControls()

And in the log, I got:

Log Query: More Information: Execution stopped because a resource limit was reached. No results were returned. (is this a SQL timeout? Can I increase the timeout in SQ

How do I display a custom error message if Authorize fails



I have a page that can only be accessed by "Admins". If a user who is NOT an admin tries to access the page, I'd like to do two things:

  1. Log the error to the database
  2. Send the user to my error page but display a custom message

I don't know where to handle the error logging because there doesn't seem to be a controller for the error page (I'm using Razor. Just created an Internet Application MVC3 project in VS 2010)

I also don't know how to customize the error message.

Could someone give me some pointers on this?

Inserting personal error message in ValidationSummary



I am creating a web form that requires a lot of validation. I use many of the validation control in asp.net already like RequiredFieldValidator and CompareValidator. 

My Problem: after my custom validation for the value entered return an error message, and I pressed enter key when the field is empty, my custom error message is overlapped by my ValidationSummary. 

Setting my custom error to visible = false on button click also does not seem to work as it requires for me to enter the value first.

This made me think, is there a way to insert my custom validation inside the ValidationSummary as an error message like for other validation control?

Thanks in advance

create user wizard login error message dont show in a message box?




i am using create user wizard and capturing other information within content template when a new user

registers. Some of the textboxes are binded to required field validators.


there is a validation control on the page and ShowMessage box is True.

If they dont complete some of the text boxes then the message box pops Up with the error message.

It does not however include information errors like "User already exists" or Email address already exists

from the create user wizard membership  UserName and Password Textboxes


is it possilbe to hook all of these up so I get one message box with all errors including membership ones?




Very Basic Question - Error message running first page


Hi Everyone,

I am running Windows 7 and I have gone into Control Panel and activated all of the IIS Functions.

The web application I am running was downloaded from the net (and has worked on other machines previously).  Once I downloaded it, I moved it into C:/inetpub/wwwroot/code/main.asp

I am a bit of a novice at this!  But I am hoping someone can point me in the right direction!


I get the following error when I try and run the web application through IE:

"An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error."

(When i click the "click here" button it just goes to the IIS site).


Appreciate any help I can get!




Localize framework message from xml validation error


I need to validate an XML through XSD. I am using XMLReader (with XmlReaderSettings and 

Validation_EventHandler to do it). Depend on users preference, I would like to change the output message generated by  Validation_EventHandler in french or english.

Any idea on how to perform this?





ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend