Search This Blog

Tuesday 21 August 2012

Unexpected error occured after install SP2010 SP1/December 2011


I have installed SharePoint 2010 in my Laptop and installed SP2010 SP1 then installed December 2011(kb2597014) patch update and security updates (KB2553365, KB2553413, KB2597124) to restore my application backup.
I created a new web application and created top-level site collection, after creation I open the new site in my browser and I got an unexpected error. While view the uls viewer I got the below details.
----------The Error------------
An unexpected error has occurred.  
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 456d86f8-64ac-4832-a224-5f6965769fa0
Date and Time: 21/8/2012 2:39:10 PM

----------ULS Details------------

UserProfileApplicationProxy.InitializePropertyCache: System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56)   
 at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock)   
 at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)   
 at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.GetProfileProperties()   
 at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.RefreshProperties(Guid applicationID)   
 at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key)   
 at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous)   
 at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.InitializePropertyCache()

System.NullReferenceException: Object reference not set to an instance of an object.  
 at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()   
 at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()   
 at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)   
 at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable()   
 at Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls()   
 at Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable()   
 at Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e)   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Then I asked this doubt to Google,  It comes with some result threads, In that I have followed 


Yeah, it fixed my problem.

The Solution is
You might be able to solve the error by simply deleting your User Profile Service Application.
Indeed, this is not best practice obviously, but if you need to get back to working fast, this is a quick solution (hence, this is a ”Quick tip” post).

In order to delete the Service, you need to visit the Central Administration of your SP2010 installation, at the page where the listing of your Service Applications resides (Central Administration > Application Management > Manage Service Applications)

ie. /_admin/ServiceApplications.aspx

Select the User Profiles Service Application proxy and then, from the ribbon options, select Delete.
As I said before, this is hardly best practice but, still, it will help you get back to work until a more suitable solution comes around.

No comments:

Post a Comment