User Profiles Synchronization Error Event id 5553 - Every hour

I am getting these 2 events logged in the event viewer when the user profile synch is attempted: 
First event:
Second Event: (although we don't always get this error with the one above)
failure trying to synch site 6c02f82c-2029-4ca0-990b-d14786b95d88 for ContentDB 8185106e-233e-4302-bbc5-d0fb2252c64a WebApp 2b659ceb-e7b4-46d4-b2a1-1a9679a357c3. Exception message was Cannot insert duplicate key row in object 'dbo.UserMemberships' with
unique index 'CX_UserMemberships_RecordId_MemberGroupId_SID'.
The statement has been terminated..
Does anyone know why this is happening and how it can be fixed?
failure trying to synch site a12d2e6b-8227-45cd-b232-594f70d1abd1 for ContentDB 1fa8ce0f-f219-4f43-af9f-c5dc57257f4d WebApp 54c24445-8543-493c-857b-5a57df27c722. Exception message was Procedure or function profilesynch_MS_DeleteWeb has too many arguments
specified.
The 'profilesynch_MS_UpdateWeb' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead..

When I run the stsadm -o sync -deleteolddatabases 5  <- no matter whst number is here I get:
 "A failure occurred during the processing of this command. Check diagnostic logs  for more information."
There is nothing in the ULS logs
Same problem here.
Hoping this will fix a slightly different issue though. My issue is the profile doesn't update with changes in Active Directory and therefore there isn't anything new for the content databases
to sync with.
If I delete my personal profile in the UPS Service -> Manage User Profiles and then click on MySite -> MyProfile it recreates my profile with the new Active Directory values
(without having to do a UPS Sync) and I don't know why these values exist but of cause in doing this I lose all the non AD imported values.
I've been working on this for nearly a week now. I've learnt a lot about the UPS but still no solution. Great article on how the Sync works by the way if anyone is interested can be found here
http://blogs.msdn.com/b/spsocial/archive/2010/05/04/conceptual-view-of-how-user-profile-synchronization-works-in-sharepoint-2010.aspx
I have been recommended to perform stsadm -o sync -deleteolddatabases in the following post but I am unable to do so.
http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/bc3cd2ff-dc12-4223-a80b-e4cae616e861

Similar Messages

  • FIM EVENT ID 3 when starting User Profile Synchronization service

    I am having issues getting the USP Sync Service to start correctly in our 2013 Farm.  
    We are using a named instance for this install and from what I have read, it looks like that is the issue.
    In the ULS I find this error "ERROR  ILMPostSetupConfiguration: ILM Configuration: Validating installation of SQL Service FAILED ."
    The event log shows this error: 
    .Net SqlClient Data Provider: System.Data.SqlClient.SqlException: HostId is not registered
       at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception)
       at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)
       at Microsoft.ResourceManagement.Data.DataAccess.RetrieveWorkflowDataForHostActivator(Int16 hostId, Int16 pingIntervalSecs, Int32 activeHostedWorkflowDefinitionsSequenceNumber, Int16 workflowControlMessagesMaxPerMinute, Int16 requestRecoveryMaxPerMinute,
    Int16 requestCleanupMaxPerMinute, Boolean runRequestRecoveryScan, Boolean& doPolicyApplicationDispatch, ReadOnlyCollection`1& activeHostedWorkflowDefinitions, ReadOnlyCollection`1& workflowControlMessages, List`1& requestsToRedispatch)
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHosts(Object source, ElapsedEventArgs e)
    The server was set up with a sql alias and we also added an alias for the server itself.   Based on the below links, I did verify that the SQLInstance is empty in the registry.  
    I am at a loss on what to try next to get this working.  As a side note, I just noticed the dev farm we have (which I didn't set up) does not have the UPS configured.  I have seen references that state the only FIM  2010 SP1 works with SharePoint
    2013 and am currently investigating updating the version on our server to SP1.
    all help is appreciated!  
    Thanks,
    Natalie
    References:
    https://translate.google.com/translate?sl=es&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fmsmvps.com%2Fblogs%2Fhaarongonzalez%2Farchive%2F2013%2F03%2F07%2Funa-raz-243-n-mas-por-la-cual-no-inicializa-la-aplicaci-243-n-de-servicio-de-perfiles-de-usuario-de-sharepoint-2010.aspx&edit-text=
    http://sharepoint.licomputersource.com/2010/07/23/installing-and-configuring-user-profile-synchronization-service-in-sharepoint-2010-2/
    NLewis

    Have you tried restarting the server hosting the FIM instance?
    http://blogs.msdn.com/b/akhawaja/archive/2010/03/24/forefront-identity-manager-hostid-is-not-registered.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2013 User Profile Synchronization service problem

    After one week trying (three clean installs of SharePoint 2013), I haven't succeed to start "User Profile Synchronization service".
    Environment:
    Domain environment with two Windows Server 2012 R2 domain controllers. 
    Fully qualified domain name matches NetBIOS name (domain.com - DOMAIN)
    Two tiers: SQL Server 2014 enterprise on Windows Server 2012 R2, and SharePoint 2013 SP1 on Windows Server 2012 R2.
    I'm using named SQL instance for SharePoint (<SQLSRV>\<SHAREPOINT>), and SQL alias on SharePoint app server.
    All SharePoint prerequisites are installed successfully.
    SharePoint 2013 is installed successfully.
    Hotfix 2760265 is installed (before configuring SharePoint)
    SharePoint is configured successfully
    Preparing MySites host:
    MySites web application is created with separate AppPool, and with address https://my.domain.com.
    Certificate used is wild-card cert (*.domain.com), issued by trusted local PKI
    Managed path "personal" is created
    Site collection of type "My Sites Host" is created at root path
    "Self-Service Site Creation" is enabled for https://my.domain.com web application
    Farm account permissions:
    Local admin at SharePoint application server
    "Log on locally" at SharePoint application server
    "Replicate Directory Changes" at domain level
    I've even tried with adding farm account into domain admins group :)
    After trying to to start user profile synchronization service, service is in "starting" state about 5-10 min, and then returns to "stopped" state. 
    ULS log shows the following exceptions:
    ILM Configuration: Error 'ERR_CONFIG_DB'
    UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS post database, will attempt during next return. Exception: System.Configuration.ConfigurationErrorsException: ERR_CONFIG_DB
    UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS post database, will attempt during next return. Exception: System.NullReferenceException: Object reference not set to an instance of an object
    Event viewer log:
    Event ID 6398, The Execute method of job definition Microsoft.Office.Server.UserProfiles.LMTRepopulationJob (ID <guid>) threw an exception. Unexpected exception in FeedCacheService.BulkLMTUpdate: Region not found..
    some perfnet event id 2004 errors
    Troubleshooting:
    I've tried with clearing configuration cache
    Assigning farm account to domain admins group
    Installing form scratch three times, and thousand times from different checkpoints...
    I've saw 'ERR_CONFIG_DB' like million times, but never "Started" next to "User Profile Synchronization service". Does anyone has actually succeeded to start this service? :)
    I would really appreciate any help. Thanks!
    P.S. I can't stop asking myself is it was really necessary to develop such complex, problematic, and log-tells-nothing software just for getting user info from AD? Honestly, after more then decade experience as software developer and software architect -
    I must say I doubt...
    Fat Dragon

    The full packages are available:
    http://blogs.technet.com/b/stefan_gossner/archive/2014/05/08/april-2014-cu-for-sharepoint-2013-has-finally-been-released.aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • User profile synchronization service wont start after SharePoint Service pack SP2

    Hi
    -Using SharePoint 2010 with 1 appserver and 2 frontend webservers on Service Pack2. (ms server 2008r2, SQLServer2008r2).
    -Farmaccount has been set to local admin on all sp servers.
    -Firstly, the User Profile Service Application runs fine and is started. Dont mix it with the User profile synchronization Service.
    Prior to installing SP2 User profile service application and user profile synchronization service were running fine.
    The first thing I did after the installation of SP2 was running the:
    -psconfig -cmd upgrade -inplace b2b -wait
    As SharePoint setup user (spadmin).
    This ran fine on the 2 front end web servers.
    However i got one fault on the Appserver:
    I have also tried:
    PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
    which led to same resulting error.
    So I tried to start the Use profile synchronization service as suggested manually by logging on with the Farmaccount, starting the user profile synchronization service through Central Administration. This led to Stuck on Starting status. 
    The windows services Forefront had status starting, then stopped.
    One question:
    Prior to starting the User profile synchronization service through Central Administration. What account and startup status should the 2 Forefront Windows Services have? (Automatic and local system?) or (Automatic and Farmaccount?) or (Disabled and Local
    system?) or (Disabled and farmaccount?). Because i know that SharePoint UPA will provision these services though Central Administration. However what is the default state prior to starting the Synchronization service?
    So i continue...
    Since it was stuck on starting i stopped it with:
    stop-SPServiceInstance -identity <upaSyncguid>
    which gave me:
    Stop-SPServiceInstance : An object of the type Microsoft.SharePoint.Administrat
    ion.SPServiceInstanceJobDefinition named "job-service-instance-36bdf2ef-58f2-45
    e5-8f78-ab75f646611a" already exists under the parent Microsoft.SharePoint.Admi
    nistration.SPTimerService named "SPTimerV4". Rename your object or delete the
    and i could fix with:
    #Stop the stopping:
    stsadm -o provisionservice -action stop -servicetype "Microsoft.Office.Server.Administration.ProfileSynchronizationService, Microsoft.Office.Server.UserProfiles,
    Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" -servicename FIMSynchronizationService
    I also removed the forefront certificate from personal - certificate store, as this is provisioned when user profile synchronization service is provisioned.
    That set the Central Administration Status on the User profile synchronization Service to disabled. Fine.
    Everytime i tried to start the user profile synchronization service (logged on as farmaccount), left it for 10-15 min and did iisreset and restart sharepoint timer service, and also tried rebooting the appserver. No change.
    A thought, is it important to restart timer service and do iisreset on the two frontend servers after trying to start the user profile synchronization service on the appserver?
    I'm getting to the point were i just want to delete the whole service application and set it up anew...
    any tips will be greatly appreaciated.
    brgs
    Bjorn

    You're very welcome, hope it helped, if not the I suggest you clear the configuration cache as follows.
    The config cache is where config settings are stored locally on the Microsoft SharePoint server, so a SQL call isn’t required.
    To clear the cache:
    Stop the SP Timer service. To do this, follow these steps:
    Click Start, point to Administrative Tools, and then click
    Services.
    Right-click SharePoint 2010 Timer, and then click Stop.
    Close the Services console.
    On the computer that is running Microsoft SharePoint Server 2010 and on which the Central Administration site is hosted, click
    Start, click Run, type explorer, and then press ENTER.
    In Windows Explorer, locate and then double-click the following folder:
    %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID
    Notes
    The %SystemDrive% system variable specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C.
    The GUID placeholder specifies the GUID folder. There may be more than one of these.
    The ProgramData folder may be hidden. To view the hidden folder, follow these steps:
    On the Tools menu, click Folder Options.
    Click the View tab.
    In the Advanced settings list, click Show hidden files and folders under
    Hidden files and folders, and then click OK.
    You can also simply type this directly in the path if you do not want to show hidden files and folders.
    Back up the Cache.ini file. (Make a copy of it. DO NOT DELETE THIS FILE, Only the XML files in the next step)
    Delete all the XML configuration files in the GUID folder (DO NOTE DELETE THE FOLDER). Do this so that you can verify that the GUID folders content is replaced by new XML configuration files when the cache is rebuilt.
    Note When you empty the configuration cache in the GUID folder, make sure that you
    do NOT delete the GUID folder and the Cache.ini file that is located in the GUID folder.
    Double-click the Cache.ini file.
    On the Edit menu, click Select All.
    On the Edit menu, click Delete.
    Type 1, and then click Save on the
    File menu. (Basically when you are done, the only text in the config.ini file should be the number 1)
    On the File menu, click Exit.
    Start the Timer service. To do this, follow these steps:
    Click Start, point to Administrative Tools, and then click
    Services.
    Right-click SharePoint 2010 Timer, and then click Start.
    Close the Services console.
    Note The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm.
    Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.
    Check in the GUID folder to make sure that the xml files are repopulating. This may take a bit of time.
    BRGS
    Mishagri

  • User Profile Synchronization not displaying Title field correctly

    Hello,
    I've an issue with User Profile Synchronization (SP 2010). The Title field is displaying correctly for most of the users but still there are few user for them the Title field is blank. However in "User Information List" it displays the Title field
    properly for those users. But in Central Administration when I check the User Profiles it's blank.I have already run Full Profile Synchronization few times in Central Administrations. Every time it's shows as successful but still no luck, still the Title field
    is blank for some profiles.
    Can anybody help on this? Thanks in advance.

    Hi ,
    Firstly , I need to verify the followings:
    Whether the title field of user information list is changed if you type a value in user profile page and perform full sync.
    Whether you have upgraded to SharePoint 2010.
    If you have upgraded to SharePoint 2010, you need to make sure the user information list is mapped or connected to AD directly. More information, please refer to the post below:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/926abf50-83a0-4e9c-a4cb-4848fcf4f88d/sharepoint-2010-userprofile-title-field-empty?forum=sharepointgeneralprevious
    If this issue still exists, please create a new User Profile Services Application, and compare the result.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/0b9b5747-80b2-4a2e-8e8e-c918bc9d6cbd/user-profile-synchronization-not-working-correctly?forum=sharepointadmin
    http://blog-sharepoint.blogspot.in/2010/08/user-information-list-not-synchronised.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Anyone tried using LDIF file in the User Profile Synchronization Process?

    Microsoft pushied an article recently talking about using LDIF file in the SharePoint's user profile synchronization. 
    Configure profile synchronization using a Lightweight Directory Interchange Format (LDIF) file (SharePoint Server 2010) http://technet.microsoft.com/en-us/library/ff959234.aspx
    Currently I am unable to obtain the required "Replicate Directory Change" permission set up by the AD admin.  So I thought of exploring this alternative since I still have AD search permission right now.
    So far, I was able to set up the MOSSLDAP-LDIFMA, and use an import.ldif file to add, remove and update user profiles.  However, there are some problems that I can't resolve.  One of key problems is, the LDIF-imported records can't be
    sync'd with login-based records.
    In my environment, when a user login SharePoint via Windows authentication, a new profile would be added, under the account name "domain\username".  Meanwhile, when an LDIF record imported, there will be another profile created under the account
    name "domain:domain\username", or "domain:username".  That is, there would be two profiles for each user.
    Based on my understanding, it is very likely the user profile synchronization is based on the user's account name.  But in document and sample files provided, I can't find out any clue how to prepare the ldif file so that it will update the
    matching records, instead of creating new ones.
    Any help?  Thanks in advance.

    Has anyone managed to get this to work?
    It's nice that Microsoft offers the ability to import user profiles via LDIF into SharePoint, but it is useless if the account name is not correct after the import. I have tried multiple imports from the LDIF to get a user account to show up as  "domain\username" but
    it always ends up as "domain:domain\username", or "domain:username".  or a variation
    of these 2 with a colon separating the domain form the username. i see that multiple people have had the same problem, but unfortunetaly can't seem to find a solution. Also I see Bradley mentions that he was able to import accounts using get-QADUser,
    but he doesnt mention what the accounts import as or if it resolved the domain colon issue.
    Thanks in advance for any help or information anyone can provide.
    cheers,
    Zed

  • Temp-Contract Worker User Profile Synchronization in SharePoint 2013

    Hi All,
    I was wondering if anyone could provide some feedback on what is the best practice for configuring Temp or Contract worker user profile services in SharePoint 2013. We have had lot of issues within MySites when we make these types of workers AD account inactive
    and then active again when they come back on projects. The user profile synchronization does not work correctly and MySites has issues loading the profile etc. Also in the same context are there best practices for Name/Title/Department changes as well. 
    thank you for your feedback!
    AJ
    Ajay Mandal

    Given what you describe I assume you've created a user profile Sync connection filter to remove disabled AD accounts from the user profile sync.  That's why you are running into problems.  When a user is missing from the import their profile is
    deleted within an hour or so, but their MySite isn't deleted for 14 days (to allow time for a manager to clean it off).  If the user is reactivated within the 14 day period their old mySite is still there, but is no longer referenced by the new profile
    that is created.  So When the user goes to their profile it tries to create a new mySite where one already exists.  It can't do that.
    The same thing will happen if you delete the contractor's user account, but then recreate them in AD when they return.  The only way to fix it is to make sure both the profile and mySite site collection in /Personal/ have been deleted before re-adding
    an old contractor.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to start user profile synchronization services

    Hi i am not able to start "user profile synchronization service"
    When i click on Start user profile, it will show starting, after few minutes again it will stop.
    How to resolve this

    Check permission of service account used for the user profile/sync service application.
    Ref link: http://social.msdn.microsoft.com/Forums/en-US/9062721a-4066-42f9-bd90-8c2376abad5e/user-profile-synchronization-service-got-stuck-in-starting-mode-and-stops-after-a-few-minutes?forum=sharepointadminprevious
    Thanks, Pratik Shah

  • Windows 7 / Server 2003 Roaming profile synchronization error at logoff (ntuser.pol)

    Hi all,
    I have implemented Roaming Profiles for a few test users on Windows 7 PC's (Windows Server 2003) and everything is working well aside from one error I'm seeing at logoff ('Your roaming user profile was not completely synchronized.  See the event log
    for details or contact your administrator.')
    The event log reveals event ID's 1504 and 1509.  1504 is flagging the fact that Windows cannot update the roaming profile completely.  1509 shows the following:
    'Windows cannot copy file C:\Users\jtest\ntuser.pol to location \\server\Profiles$\jtest.V2\ntuser.pol.  This error may be caused by network problems or insufficient security rights.
    DETAIL - Cannot create a file when that file already exists.
    Other observations:
    This issue occurs with all test users upon each logoff attempt except for the very first logoff, where there is no network share copy of ntuser.pol to get in the way.
    Prior to logoff, the network share copy of ntuser.pol has an older timestamp than the local copy.  This is not a cause or symptom but it leads me to believe updating the network copy of the file at logoff is normal/required behavior.
    If I delete the network share copy of ntuser.pol prior to logoff the error does not occur.  I don't suspect file permissions are the cause since I used the same user having difficulty logging off to delete the network share copy of the file.
    ntuser.dat has no problem overwriting itself upon logoff.
    I was able to repeat the problem with two windows 7 clients.
    I've been all over the usual suspects (i.e. group policies affecting roaming profiles, file/folder permissions, installed every hotfix relating to roaming profiles and folder redirection, and googled every keyword) and came up empty.  I confirmed offline
    caching for the profile share is disabled.
    Does anyone know what may be going on here?  I'd greatly appreciate a point in the right direction.  Thanks in advance.

    You could too run a process monitor to watch what happen. With filter you can easilly configure it on the server to not log everything except read|write on the profile.
    Regards, Philippe
    Don't forget to mark as answer or vote as helpful to help identify good information. ( linkedin endorsement never hurt too :o) )
    Answer an interesting question ? Create a
    wiki article about it!

  • Fim Synchronization Error - Event ID : 6801 - How to resolve in existing farm ?

    Hello,
    My farm was working well since last 1 year for synchronizing user profile ,however for last 1 month it has been stopped as users are not being added/updated.
    UPS Account is having replicate directory changing permission
    UPS,sync and Firm service are in Running State
    FIM and Server has logged following error for multiple users:
    Level: Error
    Source:
    FIMSynchronizationService
    Event ID: 6801
    Task Category:
    Server   
    Message: 
    "The extensible extension returned an unsupported error.
    The stack trace is:
    ""System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: strAccountName
    at Microsoft.Office.Server.UserProfiles.UserProfileManager.UserExists(String strAccountName)
    at Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAccountName, Hashtable properties)
    at Microsoft.Office.Server.UserProfiles.UserProfileManager.CreateProfileWithBulkProperties(Int64 importExportId, String strAccountName, Hashtable properties)
    at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Microsoft.Office.Server.WebServiceDirectProxy.WebMethodInfo.Invoke(Object webServiceInstance, Object[] args)
    at Microsoft.Office.Server.WebServiceDirectProxy.Invoke(String methodName, Object[] args)
    at Microsoft.Office.Server.UserProfiles.ManagementAgent.ProfileImportExportDirect.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
    at Microsoft.Office.Server.UserProfiles.ManagementAgent.ProfileImportExportExtension.Microsoft.MetadirectoryServices.IMAExtensibleCallExport.ExportEntry(ModificationType modificationType, String[] changedAttributes, CSEntry csentry)
    Forefront Identity Manager 4.0.2450.49"""
    Would you please let me know the resolution in order to remove above error ?
    Thanks and Kind Regards,
    Dipti Chhatrapati

    Hello Dipti,
    Re-creating UPA would be the final solution as per my understanding as most of the troubleshooting has already been performed by you.
    Personally, i would suggest you take backup of your UPA databases first (Profile, Social and Sync) and then delete the existing sync connection and re create a new one (also take screenshot of every managed property so that we would know which property is connected
    to which attribute in AD).
    If this doesn't resolve your issue then re-create UPA with the existing database you backed up earlier.
    If above mentioned steps doesn't resolve the issue then delete UPA and create a new UPA with OLD profile & Social DB and create a fresh new Sync DB.
    If issue still persist then re-create a new UPA with new database and configure everything from scratch.
    Note: for all these steps we would require downtime as we might need to clear timer cache or perform IISreset in case we face trouble. Otherwise, this solution doesn't actually require downtime. Also, when we will be troubleshooting on the request users wouldn't
    be able to see their profile and tags which they would have already made.
    Thank You.

  • App-V 5 sp2, Citrix user profile manager and Event IDs 19104

    Hi,
    the environment:
    Full Infrastructure, Appv 5 sp2 Client on server 2008r2, xenapp 6.5 and Citrix user profile manager.
    We get the event error 19104 on published packages. But not on all users. %APPDATA%\Microsoft\AppV\Client\VFS and %LOCALAPPDATA%\Microsoft\AppV\Client\VFS are excluded per
    http://blogs.technet.com/b/appv/archive/2013/10/01/support-tip-event-ids-19104-and-19105-are-logged-when-publishing-and-unpublishing-app-v-5-0-packages.aspx from my test GPO:
    List of directories to exclude:
    AppData\Local\Microsoft\AppV
    AppData\Roaming\Microsoft\AppV\Client
    Appdata\local
    appdata\locallow
    Still some users get app-v Applications, but some that are copies of the ones working does not get the Applications. I have tried to delete the profile. but still no closer to a solution. Anyone got this working?

    Thanks Nicke, I should have tried harder to get you to come and work with me in Oslo earlier this year ;)
    That thread does point on the Profile managment, and redirection of %appdata% and %localappdata% . Those to folders are not redirected. But when i run Procmon, i can see that a working user creates the c:\users\<username>\appdata\local\temp but non
    working does not even try.Non working users also does not query the registry as much as working. Ofcourse this all work in my lab so the settings should be sound. but i cannot find the smoking environment variable or setting that causes it.

  • Windows 7 very slow logon, Waiting for the User Profile Service, winlogon event 6006

    Hello,
    Every so often one of our Windows 7 clients which is not normally having any delay at logon will take a very long time to login. This may be 10 or 20 minutes or up to an hour in some cases.
    Typically the event log will contain entries like
    The winlogon notification subscriber <Profiles> took 572 second(s) to handle the notification event (Logon).
    There is no further information available from Event Log Online Help, nor any additional detail as to why the logon event was so slow. During the delay the user will just see "Waiting for the User Profile Service" on their screen.
    We first started seeing this problem with Windows Vista and if anything the situation has not improved since then. It has never happened with any of our Windows XP users.
    We are currently planning a migration of computers to Windows 7 but stuff like this which has not been resolved in Windows over a 2 year period will stall that migration. The least improvement is to increase the event notification to give a lot more
    information on why the user profile processing has stalled.

    Hi,
    When did the issue begin to occur? Did it occur after installing certain application or applying certain policy?
    To troubleshoot the issue, please perform the following step.
    1. Restart the machine in Safe Mode with Networking to check whether the system can login quicker.
    2. Type “gpedit.msc” in Search box and press Enter. Navigate to the following location:
    Computer Configuration->Administrative Templates->System->Logon
    Please double click “Always wait for the network at computer startup and logon” policy and disable it.
    3. Perform a
    Clean Boot to check the result.
    Thanks,
    Novak

  • Server 2012 RDS - User Profile Disks - Errors during Logoff

    I have set up a test Server 2012 RDS collection (Single Server for now) and implemented User Profile disks.
    I have two problems.
    First: My generic test user can connect and does successfully use the user profile disk as expected. However, at
    logoff, the system event log contains these errors:
    The error (NTFS 137) is: The default transaction resource manager on volume C:\Users\ts3.test encountered a non-retryable error and could not start.  The data contains the error code.
    The warning (NTFS 50) that concerns me is:
    It appears that the user profile disk is being "disabled" or "disconnected"
    before the profile data is completely written at logoff. What can I do to troubleshoot this?
    Second:
    Update: A post from Mike Connor on the following page: -LINK- solved
    the problem described below. 
    My administrative user always logs on now with a temporary profile. At the beginning, the UPD was working and mounting. That stopped working. In attempting to troubleshoot, I logged the admin user off and deleted the UPD disk
    file from the share. I remember it working again after generating a new UPD disk file in the share. Soon, it quit working again. I deleted the UPD disk file again from the share and ever since, it has never regenerated a new UPD and
    always logs on with a temporary profile.

    We experience less to zero problems after an outage with our User Profile Disks when we use the option: "Store all user settings and data on the user profile disk". Other then when we use the other checkbox (even though all checkboxes
    underneath are checked). 
    Our test setup was, an RDSH 2012 r2 server(s), with an 2012r2 server holding the share.
    We first tried the "store all user settings" for the User Profile Disk, we logged several accounts onto our RDSH Server we then disconnected our server which holds the share to simulate an outage. After about 5 minutes we connected the
    server again holding the share. When the share comes back online, we logged off the users and logged them back in. The result was a valid profile for all the accounts including their last changes from before the share got disconnected.
    The exact same test was done with the option: "Store only the following folders on the user profile disk" with all checkboxes underneath checked, which gave us corrupt profiles.. We also did these tests by giving the server holding the share a reboot instead
    of an disconnect from network. This gave us the same result. Each test was done at least 2 to 3 times..
    I hope others can confirm this as well in their situation, as it seems to be a bug within that specific checkbox.
    Looking at the above tests, the best way in my test cases were to exclude the default folders (f.e.: \Documents) if you would like to redirect them instead of using them inside your User Profile Disk. Redirects can be done through GPO Folder redirection
    options or GPO registry combined with Environment Variables.
    Even after several attemps to simulate an outage, i get left with consistent profiles. I've now also included an hard reset of my virtual machine (that gave the same results as a disconnect of the network card). This was all done through using the: "Store
    all user settings in the user profile disk". The other option left us with inconsistent profiles. I hope others can confirm this as well..
    Looks to me that the type of connection towards the User profile happens different. You can see this when looking at the C:\users\<username> and subfolders if you use user profile disks. The 2 options show different symbols as well.

  • The User profile synchronization Full , runs for 1 second successfully

    Hi!
    On our sharepoint 2013 farm we can run the user profile incremental synchronzation timer job without issues, it runs for about 2-3 min.
    However when trying to run a Full import, we observe that the full user profile synchhronization job only runs for a second and is finished. There must be something wrong..
    The user profile service and synchronzation service are up and running. The connections to Active directory are present and working (incremental synchronization works).
    Have anyone experienced this?
    brgs 
    Bjorn

    Hello Bjorn,
    You should not run Full incremental until anything on UPA is broken. It should be only ran in case of disaster and recovery.
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • User profile application errors

    I am having some problems with my user profile. I have tried repairing the disk and disk permissions from the 10.6 DVD, but still continue to have issues. My user account has random errors when trying to user certain applications. For example Onyx gives me constant errors and won't let me do anything and Boxee crashes before it will even open. If I create a new user both of these applications work fine. This computer was upgraded from 10.5 to 10.6. Is there anything I can check/do aside from rebuild my profile? I can Time Machine everything and rebuild a new profile manually from that, but would prefer to fix this one if possible. Any ideas?
    Thanks,
    Tim

    No profiles here (that's a windoze thingy), they're accounts on a Mac. What issues using Disk Utility from the DVD? BTW, permission repair should be done from the boot volume, not install disc. What kind of Onyx errors? Why are you using it? If apps work in one account and not another, that usually indicates a conflict or corruption, usually amongst or in preference (plist) files. You don't rebuild accounts in OS X, you fix problems. More details and maybe we can offer some advice.
    Since you're apparently a recent windoze convert, once your current issues are sorted out, see:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac 101: Mac Essentials,
    Anatomy of a Mac,
    MacTips, and
    Switching to the Mac: The Missing Manual, Snow Leopard Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist.
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

Maybe you are looking for

  • Not balance in conditions in sales order

    Hi gurus:         in sales order>header data>condition,  there shows profit margin.  I think there should exist formula: (all conditions are included for this example sales order )           net value+tax-discount-cost=profit margin for example:     

  • How do I get my photographs from their file folders to Photoshop?

    I would like to move all the pictures from a folder in my computer to photoshop. How do I do this all at the same time? Is this wise or do I have to work one photo at a time? If one photo at a time, how do I do this? I just purchased this software an

  • Some AVI files not working?

    OK, let me try and sum this up. using a cannon power shot i have filmed time lapse footage before and brought it into an older version of imove and gotten it to open on my old (white edged) imac. I now have imove11 and a new imac. these same timelaps

  • Question for ALL Bootcamp Pros....

    Ok so i am currently on a PC (and have officially decided that I hate PCs) and I want to switch over to the New Macbook Pro-15". See I have a rather advanced question about the Bootcamp program (cause i understand it's basic premiss). I was wondering

  • Lens correction tool

    Hi, do all versions of Elements have a lens correction tool like the one in lightroom 3?