{"id":3475,"date":"2012-03-17T15:21:24","date_gmt":"2012-03-17T23:21:24","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=3475"},"modified":"2012-03-17T15:24:42","modified_gmt":"2012-03-17T23:24:42","slug":"how-to-fix-the-error-an-unexpected-error-has-occured-when-you-try-to-configure-a-newly-created-ups-service","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/how-to-fix-the-error-an-unexpected-error-has-occured-when-you-try-to-configure-a-newly-created-ups-service\/","title":{"rendered":"How to Fix the Error &#8220;An unexpected error has occurred&#8221; When You Try to Configure a Newly Created UPS Service"},"content":{"rendered":"<p>I recently installed a new SharePoint Server 2010 Enterprise for a client. I also installed a SQL Server 2008 R2 Standard. Both were installed on separate Windows Server 2008 R2 servers running in a virtual VMware environment.<\/p>\n<p><strong>PROBLEM<\/strong><\/p>\n<p>After I successfully created the User Profile Synchronization (UPS) application and started the service, everything looked good. Then I went to <em>Manage service applications<\/em> in Central Administration under Application Management and clicked on the hyperlink for the newly created UPS application so I can configure Active Directory synchronization connection. Unfortunately, I received the following dreaded error.<\/p>\n<p><em>An unexpected error has occurred.<\/em><\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2012\/03\/ups_error.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-3476\" title=\"ups_error\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2012\/03\/ups_error-300x134.png\" alt=\"\" width=\"300\" height=\"134\" srcset=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2012\/03\/ups_error-300x134.png 300w, https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2012\/03\/ups_error.png 575w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>SOLUTION<\/strong><\/p>\n<p>Here are some of the actions I took. I am listing all the solutions I tried because some of them are most likely to fix your error.<\/p>\n<ol>\n<li>Reset IIS after UPS had been provisioned. This is the most common fix for the above error.<\/li>\n<li>Verify that in addition to all the other necessary services, the two Forefront Identity Manager services have started successfully.<\/li>\n<li>SharePoint Web Services Root application pool in IIS has started.<\/li>\n<li>Health Analyzer has no errors.<\/li>\n<li>Both UPS services in <em>Services on Server<\/em> have started.<\/li>\n<li>Recycle SharePoint Central Administration v4 application pool in IIS.<\/li>\n<li>Look for anything unusual on the SQL Server 2008 R2 server. Make sure the three UPS databases exist (Profile, Sync, and Social).<\/li>\n<li>Make sure the account you are logged in as, e.g. SP_Admin, is a member of both the Farm Administrators and the local administrators group on the SharePoint server per this KB article http:\/\/support.microsoft.com\/kb\/981229.<\/li>\n<li>Reboot the SharePoint server.<\/li>\n<li>Clear the file system cache per this KB article: http:\/\/support.microsoft.com\/kb\/939308. You will find the instructions on <a href=\"http:\/\/underthehood.ironworks.com\/2010\/07\/error-message-when-you-try-to-start-user-profile-synchronization-in-sharepoint-2010-an-update-confli.html\">Chaitu Madala&#8217;s blog<\/a> much easier to follow.<\/li>\n<\/ol>\n<ol>\n<blockquote>\n<li>Stop the Windows SharePoint Services Timer service (Found in Windows Services)<\/li>\n<li>Navigate to the cache folder In Windows Server 2008, the  configuration cache is in the following location:  Drive:\\ProgramData\\Microsoft\\SharePoint\\Config In Windows Server 2003,  the configuration cache is in the following location: Drive:\\Documents  and Settings\\All Users\\Application Data\\Microsoft\\SharePoint\\Config  Locate the folder that has the file &#8220;Cache.ini&#8221; (<strong>Note:<\/strong> The Application Data folder may be hidden. To view the hidden folder, change the folder options as required)<\/li>\n<li> Back up the Cache.ini file.<\/li>\n<li>Delete all the XML configuration files in the GUID folder. Do this  so that you can verify that the GUID folder is replaced by new XML  configuration files when the cache is rebuilt.<\/li>\n<li>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.<\/li>\n<li>Double-click the Cache.ini file.<\/li>\n<li>On the Edit menu, click Select All. On the Edit menu, click Delete.  Type 1, and then click Save on the File menu. On the File menu, click  Exit.<\/li>\n<li>Start the Windows SharePoint Services Timer service<\/li>\n<li>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.<\/li>\n<li>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.<\/li>\n<\/blockquote>\n<li>You may have inconsistent assembly versions on the  SharePoint server  after the installation of the package KB2560890. You need to make sure  that you have applied all the SharePoint Server 2010 updates listed in  this <a href=\"http:\/\/blogs.technet.com\/b\/stefan_gossner\/archive\/2011\/09\/19\/update-on-september-security-bulletin-ms11-074-and-sharepoint-2010-issues.aspx\">TechNet blog post<\/a> issue #2. In may case, all the updates were already installed, except  for the update 2560890. For some reason Windows Update never offered me  2560890 update. Here&#8217;s a list of the updates mentioned in the TechNet  blog.<br \/>\n<span style=\"text-decoration: underline;\">NOTE<\/span>: <em>The updates are referenced as officeserver2010 but they actually  pertain to SharePoint Server 2010. There is no such thing as &#8220;Office  Server 2010.&#8221; There was a Microsoft Office SharePoint Server (MOSS) 2007  but Microsoft SharePoint Server 2010 is not &#8220;Office Server 201o.&#8221;<\/em><\/p>\n<p><a href=\"..\/wp-content\/uploads\/2012\/03\/updates.png\"><img decoding=\"async\" title=\"updates\" src=\"..\/wp-content\/uploads\/2012\/03\/updates.png\" alt=\"\" width=\"271\" height=\"151\" \/><\/a><br \/>\n<a href=\"..\/wp-content\/uploads\/2012\/03\/updates.png\"><br \/>\n<\/a>After I installed the update KB2560890 I was prompted to restart the server. After the restart the error went away and I was able to successfully manage the profile service.<\/li>\n<li>Because I only needed one of the updates, I didn&#8217;t need to run the SharePoint Products and Technologies Configuration Wizard to complete the upgrade process. However, in your scenario you may consider running the wizard if necessary.<\/li>\n<\/ol>\n<p>Hopefully one of the above solutions will solve your problem. In my case solution #11 did the job.<\/p>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana;\">Copyright \u00a92012 Zubair Alexander. All rights reserved.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently installed a new SharePoint Server 2010 Enterprise for a client. I also installed a SQL Server 2008 R2 Standard. Both were installed on separate Windows Server 2008 R2 servers running in a virtual VMware environment. PROBLEM After I successfully created the User Profile Synchronization (UPS) application and started the service, everything looked good. [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,54,11],"tags":[],"class_list":["post-3475","post","type-post","status-publish","format-standard","hentry","category-articles","category-sharepoint","category-tips-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/3475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=3475"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/3475\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=3475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=3475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=3475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}