Unable to bind user to peopleeditor programmatically after SharePoint 2010 August 2011 CU

I have a drop-down selected index change event to set value for a people editor control. This works fine for the first time. But the next time I change a value in the drop-down, the people editor wont change if it already holds  a value. I need
to clear it and then  change the drop-down value,. This issue occurs after August 2011 CU update and does not happen in other environment where i dont have this update applied.
Can someone officially confirm if this a known issue with August 2011 CU? I see this is being reported both in SP2010 and  MOSS 2007 after their respective August 2011 CU updates. Refer
http://blogs.technet.com/b/stefan_gossner/archive/2011/08/31/august-2011-cu-for-sharepoint-2007-and-2010-has-been-released.aspx

 if (currentUser != null)
//Clear ppl column:: sharepoint ppl id:  peFinanceDepartment
                               peFinanceDepartment.Entities.Clear();
                                PickerEntity UserEntity = new PickerEntity();
                                // CurrentUser is SPUser object
                                UserEntity.DisplayText = currentUser.Name;
                                UserEntity.Key = currentUser.LoginName;
                                System.Collections.ArrayList entityArrayList = new System.Collections.ArrayList();
                                entityArrayList.Add(UserEntity);
                                peFinanceDepartment.UpdateEntities(entityArrayList); 
                                // Add PickerEntity to People Picker control
                                //peFinanceDepartment.Entities.Add(peFinanceDepartment.ValidateEntity(UserEntity));
                                // This should make People Picker control disable|readonly
                                //peFinanceDepartment.ShowButtons = false;
                                //peFinanceDepartment.AllowTypeIn = false;
or
if you clear using javascript plz follow below url
http://www.sharemuch.com/2011/12/04/how-to-address-sharepoint-2010-people-editor-issue-not-clearing/
Thanks
Reddy
                               

Similar Messages

  • Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD

    Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
    I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
    this is my code...
       void runQueryButton_Click(object sender, EventArgs e)
               // Get the My Sites site collection, ensuring proper disposal
                using (SPSite mySitesCollection = new SPSite("http://sp/my"))
                    //Get the user profile manager
                    SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
                    UserProfileManager profileManager = new UserProfileManager(context);
                    UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
                    foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;

     Hi,
    Please try with the following code
          PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
                                SPServiceContext context = SPServiceContext.GetContext(site);
                                UserProfileManager profileManager = new UserProfileManager(context);                        
      foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName
    + ":" + profile[prop.Name].Value + "<br />"; ;
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Subscribe users to RSS feed in sharepoint 2010

    I want to subscribe the user group to the RSS feed for a discussion board in Sharepoint 2010 and make it an opt out feature not an opt in feature. Is this something i can do? And how. 

    Hi,
    If a user wants to subscribe to a RSS feed of SharePoint list/library, he/she needs to access the list/library and then click RSS feed button in the ribbon to view the RSS feed in IE. After that clicking subscribe the RSS feed link to add the feeds to Outlook.
    As it is needed to trigger the feed protocol to add the feed to Outlook from SharePoint, then every user needs to click the subscribe the RSS feed link.
    So there is no OOB way to subscribe the user group to RSS feed in SharePoint.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Browser based InfoPath Forms in SharePoint 2010 performance has slowed down after SharePoint 2010 SP2

    hi All,
    Our Browser based Infopath forms have slowed down drastically after applying SharePoint 2010 SP2. Prior to this, we had SharePoint 2010 SP1 and the timings was around 10 seconds (single user) for the entire infopath form to be displayed which has 10-12
    views and 5 data connections and 15 business rules and around 100 fields.
    But now after applying sharepoint 2010 sp2, the performance has slowed down and it now takes for a single user around 50 seconds.
    Refer to the link below, which we followed by applying the patch as well, but the performance is still the same very slow.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/0b673324-01c4-49f7-86cb-647aa43fefd6/infopath-browser-forms-extremely-slow-after-service-pack-2-upgrade?forum=sharepointadminprevious
    We have raised a ticket with Microsoft, but there is no concrete resolution as to what component of the infopath has made the form rendering and display slow.
    Can someone point me to the right resource or knowledge base where i can do a kind of debug, which tells me exactly which infopath dlls are the issue or which part of my form is taking more time. I am using AOLPageTest and Fiddler, but they do not give me
    any details where exactly is the bottleneck.
    Any tools that give me the details of the bottleneck.
    Thanks and appreciate your help in this.
    Regards
    Ram
    Thanks Ram

    hi inderjeet,
    The application has gone live and its on production, the same application is on pre-prod and UAT, system testing and integration environments.
    The infopath form used to work very well on all these environments before we installed sharepoint 2010 sp2. but the moment we installed sharepoint 2010 sp2, the infopath forms have slowed down.
    Microsoft has acknowledged that there is an issued with sharepoint 2010 sp2 and infopath form performance, but they are not able to provide an appropriate fix on this.
    We have another environment where there is no sharepoint 2010 sp2 applied only sp1 is applied and the infopath form works very well within fraction of seconds.
    So your point no. 1 and 2 and 3. does not reveal anything. Fiddler does not give any detailed component by component breakup where the time is taking more.
    The form used to work very well before we applied sp2.
    I want to know a tool that gives me exactly component by component grant chart kind of breakup of time taken when the infopath url is requested on the browser.
    Thanks
    ram
    Thanks Ram

  • Sharepoint Designer 2010 Workflows Struck in "starting" status after Sharepoint 2010 SP2 upgrade(KB2687453 - June 2013)

    We have SPD workflows and Nintex workflows which are configured to start automatically on a Document Library which have content type. After we have been installed KB2687453
    (sp2) , all the workfows running on documnet library with content type got strucked and always saying" starting".  Please help us.,... highly apprciated as it's urgnet. Thanks in advance.

    Hi  nart ,
    It is a known issue. Please install  the June 2013 CU to solve the problem.
    June 2013 CU:
    http://blogs.technet.com/b/stefan_gossner/archive/2013/06/12/june-2013-cu-for-sharepoint-2010-has-been-released.aspx
    For more information, you can refer to the thread:
    http://blogs.msdn.com/b/chaun/archive/2013/05/16/if-your-sp2010-workflows-are-stuck-in-the-starting-state.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5a6e6e83-b59f-4099-a86f-a07723ff2b98/workflow-stuck-in-starting-state-after-applying-sharepoint-2010-cu-december-2012?forum=sharepointadminprevious
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Publishing user profile service application in SharePoint 2010

    Hi,  Can I have a link specific to publishing the user profile service application in a step by step manner in SharePoint 2010. This is quite urgent.

    Hope the below link will be helpful
    http://blogs.msdn.com/b/alimaz/archive/2009/11/09/configuring-user-profile-service-application-in-sharepoint-server-2010.aspx

  • After SharePoint 2010 MOSS SP2 was applied problem with library preview

    Hi,
    I have recently applied SharePoint 2010 MOSS SP2 from here
    http://support.microsoft.com/kb/2687453/en-us
    After I have installed that service pack, one of my custom made library workflow for a department would not work when they Upload a document. It works if they create new documents from library menu, but not if they Upload a new documents.
    ULS Viewer gives following messages
    MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/_layouts/Upload.aspx?List=%.......Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3) level for this list.
    MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/_layouts/UploadEx.aspx?List=%...... Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3) level for this list.
    Some but not all taxonomy values were found, this can lead to the catch all being incorrect. Use TaxonomyField.SetFieldValue to update taxonomy values.
    Also, when I try to use Navigation in Site Settings, and if I want to add new navigation either link or folder, and if I use IE 8 or 9 (32 bit) in the pop up window Navigation Link - web dialog, there is no "OK" button.
    Thank you 

    Hi Eric
    Thank you for helping me.
    I have already came accross this blog and it is now quite the same as my case.
    My navigation works without problem.
    Also, when I open the site in SP Designer, all views of my library show this library in XsltListViewWebPart.
    But this Upload.aspx, is a Form, not a view, and it shows the list in ListFormWebPart.
    Just to remind you, the workflow work fine if the use "New Document" menu from library ribbon. So, I assume something is wrong with Update form.
    This other form UploadEx.aspx, I do not see in SharePoint Designer for this Library.
    I am kind of suspicious that it maybe has something to do with
    http://support.microsoft.com/kb/2872441/en-us
    And am thinking of applying these
    Thank you
    Windows Server 2008 R2 for x64-based Systems Service Pack 1
    Microsoft .NET Framework 4<sup>[1]</sup>
    (2835393)
    Remote Code Execution
    Critical
    2572078 in MS11-078
    Windows Server 2008 R2 for x64-based Systems Service Pack 1
    Microsoft .NET Framework 4<sup>[1]</sup>
    (2840628)
    Elevation of Privilege
    Important
    2656405 in MS12-034

  • Sometimes Unable to find User from UserProfile Programmatically (C#) in SharePoint 2007

    Sometimes the code does not find the user from User profile. It simply checks the
    profileManager.UserExists(userName[1]) and unable to fetch the user and executes the else part.
    This issue is not regular. Most of the times it fetch the same user data correctly but sometimes fails.
    What could be the possible reason of this and how to write it in the logs?
    SPSecurity.RunWithElevatedPrivileges(delegate()
                     using (SPSite site = new SPSite(SPContext.Current.Site.Url))
                         //ServerContext object current site
                         ServerContext context = ServerContext.GetContext(site);
                         //UserProfileManager object to access MOSS user profiles
                         UserProfileManager profileManager = new UserProfileManager(context, false);
                         string[] userName;
                         userName = objUserUtility.GetCurrentUserLoginName().Trim().Split('\\');
                         WriteToLog(userName[1].ToString());
    if (profileManager.UserExists(userName[1]))
    WriteToLog("Entered Inside");
    WriteToLog(userName[1].ToString());
    else
    lblUserExist.Visible = true;
                             lblUserExist.Text = "You are not configured in the Application";
    Vishal Goyal

    Vivek,
    I am already using the below line code to fetch User Profile Properties.
    UserProfile userprofile = profileManager.GetUserProfile(<userLoginName>);
    Now this error comes User Not Found:could not load profile data from the database
    Is this possible to track exact reason of this because this issue is not at all times.For same User the code  works fine but not all times.
    My organization is using Sharepoint 2007 SP1.
    Vishal Goyal

  • Infopath fields binding not visible in datasheet view Sharepoint 2010

    Hello Everyone!!!
    I have created a custom list in sharepoint then customized the infopath form in infopath form designer.  I have created a drop down and bind the dropdown form the soap web service method. It is working fine when I open the form.
    But when i open the DataSheet View of custom list, field is displaying but the drop down list is not getting bind with data. what is issue. Infopath binding and rule don't work with datasheet view?
    Please reply 

    Hi,
    As you mentioned dd data is appearing in form but not in datasheet view...
    maybe there are compatibility issues
    with 32 bit and 64 bit component of office and IE.
    Try reinstalling "2007 Office System Driver: Data Connectivity Components" (link below)it installs a 32-bit version
    of the Datasheet component that will work with the 64-bit version of Office 2010 as long as you are using a 32-bit version of an Internet browser.
    MS Support Article https://support.microsoft.com/kb/2266203/en-us
    Re-install https://www.microsoft.com/en-us/download/details.aspx?id=23734

  • Issues after sharepoint 2010 sp2 upgrade

    Hi,
    I am using Lookupset in SSRS report to connect multiple datasets.
    =Join(Lookupset(Fields!ows_SNO.Value,Fields!Serial_No.Value,Fields!Name.Value, "Dateset1"))
    I have renamed the Title column as serial_No.
    When i am opening the report, "Name" is not populated in the report.
    Dataset Query:
    <ViewFields>
        <FieldRef Name="Title" />
        <FieldRef Name="Name" />
    </ViewFields>
    Thank you.

    Hi Selvarasu,
    Is the Serial_No field is included in the DataSet1?
    If not, then you need to change DataSet1 to the dataset where the Serial_No exists.
    And for the DataSet query, it is like the format below:
    <RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ListName>Test2</ListName>
      <ViewFields>
        <FieldRef Name="Title" />
        <FieldRef Name="code" />
        <FieldRef Name="ID" />
      </ViewFields>
    </RSSharePointList>
    If above cannot work, could you please provide more details and screenshots about the datasets?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Unable to set user environment in instlation

    hi experts,
    im trying to install ecc 6.o enp 4 ready on AIX db3 on ibm power PPC 64
    i stuck after database installation, its said database client and server version mismatch, and installation is stopped
    then i uninstalled db users groups but its asking manually to remove DB2/SID directory and /usr/sap/<SID> directory.
    and if i try to run again sapinst its stucks on create users and give error unable to create user environment.
    the error is
    ERROR      2010-10-02 03:08:16.977 [sixxcstepexecute.cpp:950]
    FCO-00011  The step setUserEnvironment with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0
    |NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Users_Create_Do|ind|ind|ind|ind|5|0|setUserEnvi
    ronment was executed with status ERROR .
    does anyone faces similar problem earlier, how can i proceed?
    thankx in advance
    Edited by: nikhil jadhav on Oct 1, 2010 1:11 PM

    Hi
    Have you found a solution to this problem?
    I am trying to create User accounts in my Windows AD, and I keep getting the error :
    *"Unable to set user info. The name provided is not a properly formed account name"*

  • A user cant see anything in SharePoint calendar with full access

    Hi,
    I have a wierd issue, where only one user cannot see anything in SharePoint 2010 Calendar, when everyone else can.
    The calendar has more than 100 events, and he cannot see anything in Calendar view. The calendar.aspx page comes up with no items in it.
    The calendar is very basic with default settings, I also gave the user full access but still nothing changed.
    FYI- in list settings, the users can "read all items", not just their own. It happens in all the other calendars also which he opened in front of me.
    Also, I logged in with my credentrials on his machine, and I could see all the items.
    We were migrating the exchange public calendars manually to SharePoint(about 10 of them), the calendars worked great for so many years without SharePoint, and now after migration the users have to  face issues.
    Thanks

    Can you try to use fiddler
    to trace why the details are not showing for that particular user? You may get few details to troubleshoot the issue. Does that user see the problem in other machines/browsers as well?
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • I am unable to login from my login page after I restarted my mini mac running snow leopard 10.6 server. I am a new user. Need help

    I am unable to login from my login page after I restarted my mini mac running snow leopard 10.6 server. I am a new user. Need help

    Try clearing your cache, [https://support.mozilla.org/en-US/kb/How to clear the cache Instructions here]. Then, try going to [https://accounts.google.com Google Accounts]. If there is currently an account singed in, sign out, then back in. After that, try going to Google Adwords.

  • When copying pic from iPhoto 09 to a file, to burn a CD, after 35 photos it stops copying and I get "Unable to create/users/dividrublesr/ documents/I don't know what is going on.

    When copying pic from iPhoto 09 to a file, to burn a CD, after 35 photos it stops copying and I get "Unable to create/users/dividrublesr/ documents/I don't know what is going on. Forgive me for any mistakes, I am a first timer.

    Given that the file is selected then the next possibility is that you're exporting two files with the same name. When you do this the export breaks down as the second file would overwrite the first. Check the filenames.
    Regards
    TD

  • After applying BM3.8.5_ir1: "IKESetupSocket: Unable to bind socket!", IKE not loading

    Hello,
    I just applied the Interim Release 1 BM3.8.5 and rebootet the server after at
    least several months of uptime when the patch files were applied - so it might be
    related to 385_ir1; Or something went wrong during the last months of uptime that
    way; that a reboot just caused the trouble to be revealed.
    Well, on the next reboot after applying BM3.8.5_ir1 I got this on the IKE screen:
    -------------------------- IKE SCREEN ----------------------------------
    3-19-2008 12:53:41 pm IKESetupSocket: Unable to bind socket!
    [snip empty lines]
    <Press any key to close screen>
    -------------------------- IKE SCREEN ----------------------------------
    At this state these TCP NLMs were loaded:
    TCP.NLM
    Loaded from [SYS:SYSTEM\] on Mar 19, 2008 12:35:40 pm
    (Address Space = OS)
    Novell TCP/IP Stack - Transport module (Domestic)
    Version 6.91.05 October 25, 2007
    Copyright 1994-2007 Novell, Inc. All rights reserved. Patent pending.
    TCPIP.NLM
    Loaded from [SYS:SYSTEM\] on Mar 19, 2008 12:35:40 pm
    (Address Space = OS)
    Novell TCP/IP/IPSec Module (Domestic) NICI Enabled
    Version 6.91.10 October 25, 2007
    Copyright 1994-2007 Novell, Inc. All rights reserved
    Patent pending Portions Copyright 1986-1995, RSA Data Security, Inc.
    BSDSOCK.NLM
    Loaded from [SYS:SYSTEM\] on Mar 19, 2008 12:35:40 pm
    (Address Space = OS)
    Novell BSDSOCK Module (Domestic)
    Version 6.91.04 October 25, 2007
    Copyright 1994-2007 Novell, Inc. All rights reserved.
    As it's a socket error I thought that applying the latest TCP patch might help
    out:
    TCP681K, another reboot, but no change at all.
    As IKE isn't loading server side all VNP functions are not operational.
    PKIDIAG is without errors, if these certificates should interact with IKE as well
    (I honestly have to state, that I don't know, if or if not these Certs interact
    with IKE ...)
    Anybody a quick solution? Otherwise I'll try to backrev to BM3.8.5 and the prior
    TCP version.
    Thanks for any input.
    Regards, Rudi.
    IT-Beratung Rudolf Thilo
    Schweinfurter Str. 131
    97464 Niederwerrn
    t: +49 (0)9721/6464840
    f: +49 (0)9721/6464841
    m: +49(0)171/685 9 685

    Hello,
    after investigating in a totally wrong direction for many hours <doh!> I finally
    back-rev.ed the lib files from c:\nwserver\!backup.lib and
    sys:system\!backup.lib, after that was done the IKE had no trouble any more.
    In the load sequence of the server's reboot NMAS had a load error that pointed in
    that direction... (several DS*.NLMs in the LIB patch files)
    I have a looger screen save file of both, a "trouble boot" and a clean boot after
    removing the patch files. What I missed was to draw a config.txt of the trouble
    state. :(
    Quite interesting is the fact, that after may be 30 - 60 Minuntes of uptime the
    BM had difficulties to access the C: drive:
    ----------------------------Logger Screen ------------------------------------
    NetWare Configuration File Transfer Cache to DOS Error: 0x4
    Registry rolling back to last known good registry file.
    ----------------------------Logger Screen ------------------------------------
    Then no NLMs could be loaded any more at all: Neither DOS side, nor sys:system or
    from anywhere else. Funny fact: With the already loaded toolbox a "DIR" was
    presenting everything absolutely normal, DOS and SYS: side....
    Well, the NBM-Rule-Container is restored now from tape, the filters.txt is as it
    was before (seveal reboots) and with my 2nd. BM install I was painfully
    remembered that there can be just one BM per container <grrr> ;) (nice design...)
    Patches applied when the trouble showed up
    NW6.5SP6
    BM3.8SP5
    plus the hotfixes available till Dec 2007
    Finally I applied these (many hours ago >-O~ )
    LIBCSP6B
    NWLIB6K
    WSOCK6N
    TCP681K
    BM3.8.5_ir1
    .... in the timed order they were given to the public (I didn't check right now,
    the order above isn't necessarily the right order I used.)
    If someone should be interested in the logger.txt of both states, they are too
    large for *one* posting here, drop me an email.
    Regards, Rudi.
    IKESetupSocket: Unable to bind socket!
    IKE not loading any more
    NMAS error in boot sequence
    Error accessing registry files,
    NLM load from all search paths impossible
    IT-Beratung Rudolf Thilo
    Schweinfurter Str. 131
    97464 Niederwerrn
    t: +49 (0)9721/6464840
    f: +49 (0)9721/6464841
    m: +49(0)171/685 9 685

Maybe you are looking for

  • Slow Mavericks - internal hard drive failure?

    Hi I recently updated my iMac 2.5 GHz Intel Core i5 4GB RAM to Mavericks. Before I was working on OS X Lion 10.7.5. Until the day I updated I never had any problems with my computer being slow, unless when I was using heavier applications or heavy fi

  • Upgraded to ios4, e-mail no longer works

    I have a gmail, an imap and a pop account set up on my phone. After upgrading to ios4 email no longer works. I've tried resyncing the accounts with my Mac as well as deleting and readding the accounts manually directly on the phone. I have access to

  • PROFIT & LOSS ACCOUNT CONFIGURATION

    Hi all....... I want to create Profit & Loss A/C. Through FSV I have created Balance Sheet. Can anyone please help me regarding the configuration steps of Profit & Loss A/C. Best Regards Amitava Saha Moderator: Please, avoid asking basic questions an

  • How to bulk load topics in RH9

    Is there anyway to bulk load topics into a RH TOC and create topic files?  I have a long list of topics (100+) to add to my TOC and project file that are listed in a text document. Is there an easy way to take the list in the text document and create

  • I installed Reader X and now a savable form will no longer work

    I bought a medical claim form (CMS-1500) that allowed me to save patient information in it and save that basic information so when I enter another claim, I have most of the form pre filled out. Once I installed X, the form no longer allows me to save