SharePoint Install Issues

Here's what i encountered in the latest install, hope this benefits the community 

Error Encountered:

Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: unable to open shim database version registry key-v2.0.50727.00000.

Resolution:  https://support.microsoft.com/kb/918642

As already stated earlier in this thread giving  user-rights onto the key "v2.0.50727.00000" in [HKLM\Software\Microsoft\.NETFramework\Policy\AppPatch] should solve the issue. I granted users Read/Write and the problem has not re-occured since then.

Error:

A runtime exception was detected. Details follow.

Message: Access Denied! Only site admin can access Data Source object from user profile DB.

Techinal Details:

System.UnauthorizedAccessException: Access Denied! Only site admin can access Data Source object from user profile DB.

   at Microsoft.Office.Server.UserProfiles.SRPSite.AdminCheck(String message)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(IDataRecord rec)

   at Microsoft.Office.Server.UserProfiles.DataSource._LoadDataSourceDef(String strDSName)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site, Boolean fAllowEveryoneRead)

   at Microsoft.Office.Server.UserProfiles.DataSource..ctor(SRPSite site)

   at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.GetDataSource()

   at Microsoft.Office.Server.UserProfiles.BDCConnector.RefreshConfiguration(String sspName)

Resolution:

Grant the following rights in shared services  

Default Content Access Account:Manage Analytics, Manage Audiences, Manage User Profiles, Personal Features, Personal Site, Set Permissions

Search Service Account: Manage Analytics, Manage Audiences, Manage User Profiles, Personal Features, Personal Site, Set Permission