<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SharePoint Forum Support Team</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/spsforum/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/spsforum/feed.xml</link>
    <description>We are a frontline support team in Microsoft SharePoint forums, striving to help individuals, developers and customers address their technical pains on SQL Server.</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:17:36 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Quick Solution 8: The located assembly's manifest definition does not match the assembly reference while managing User Profile Service</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-8-the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference-while-managing-user-profile-service</link>
      <pubDate>Sat, 26 May 2012 00:21:21 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2012/05/26/quick-solution-8-the-located-assemblys-manifest-definition-does-not-match-the-assembly-reference-while-managing-user-profile-service/</guid>
      <description><![CDATA[&nbsp;Symptoms
After started the User Profile Synchronization Service, when you try to manage the...]]></description>
      <content:encoded><![CDATA[<p><b>&nbsp;</b><span style="font-size: large;"><b>Symptoms</b></span></p>
<p>After started the User Profile Synchronization Service, when you try to manage the User Profile Service, you encounter an error, and the following error is logged in the SharePoint Unified Logging Service (ULS).</p>
<p><span style="font-size: large;"><b>Error Message</b></span>&nbsp;</p>
<p>&lt;date time&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w3wp.exe (0x1F88)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x1AA4 SharePoint Portal Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User Profiles&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp; et8j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; High&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:0x80131040)&nbsp;&nbsp;&nbsp;&nbsp; <br />at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.InitializeIlmClient(String ILMMachineName, Int32 FIMWebClientTimeOut)&nbsp;&nbsp;&nbsp;&nbsp;<br />at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager..ctor(UserProfileApplicationProxyuserProfileApplicationProxy, Guid partitionID)&nbsp;&nbsp;&nbsp;&nbsp; <br />at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)</p>
<p><span style="font-size: large;"><b>Causes</b></span>&nbsp;</p>
<p>The issue is caused by that, the UserProfileConfigManager adds a reference to Microsoft.ResourceManagement, but the located Microsoft.ResourceManagement assembly's manifest definition does not match the assembly reference.</p>
<p>&nbsp;</p>
<p><span style="font-size: large;"><b>Solutions</b></span></p>
<p>To fix the issue, please restart the Internet Information Server(IIS) by running command iisreset.</p>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 7: UserProfileApplication.SynchronizeMIIS Failed to configure MOSS initial MAs, will attempt during next rerun</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-7-userprofileapplication-synchronizemiis-failed-to-configure-moss-initial-mas-will-attempt-during-next-rerun</link>
      <pubDate>Sat, 26 May 2012 00:18:18 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2012/05/26/quick-solution-7-userprofileapplication-synchronizemiis-failed-to-configure-moss-initial-mas-will-attempt-during-next-rerun/</guid>
      <description><![CDATA[&nbsp;
Symptoms
When you try to start the User Profile Synchronization Service from Central...]]></description>
      <content:encoded><![CDATA[<p><b>&nbsp;</b></p>
<p><span style="font-size: large;"><b>Symptoms</b></span></p>
<p>When you try to start the <b>User Profile Synchronization Service</b> from Central Administration, the <b>User Profile Synchronization Service</b> is <b>Starting</b>, and then <b>Stop</b> after 5 to 10 minutes. Meanwhile, the following error message is logged in the SharePoint Unified Logging Service (ULS) log.</p>
<p><span style="font-size: large;"><b>Error Message</b></span>&nbsp;</p>
<p>&lt;date time&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OWSTIMER.EXE (0x1E38)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0F80&nbsp; SharePoint Portal Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User Profiles&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>g145</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maximum number of retries done for starting FIM SpService. Please look at ULS logs and event viewer to look for the root cause of the failure.</p>
<p>&lt;date time&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OWSTIMER.EXE (0x1E38)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x1ADC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SharePoint Portal Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User Profiles&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>9q18</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; High&nbsp;&nbsp;<br />UserProfileApplication.SynchronizeMIIS: Failed to configure MOSS initial MAs, will attempt during next rerun.<br />Exception: System.Management.ManagementException: <b>Generic failure</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatuserrorCode)&nbsp;&nbsp;&nbsp;&nbsp; <br />at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()&nbsp;&nbsp;&nbsp;&nbsp; <br />at Microsoft.Office.Server.UserProfiles.Synchronization.ManagementAgent.ManagementAgentCollection.ManagementAgentEnumerator.MoveNext()&nbsp;&nbsp;&nbsp;&nbsp;<br /> at Microsoft.Office.Server.UserProfiles.UserProfileConfigManager.IsMossMaConfigured(UserProfileApplication<br />application)&nbsp;&nbsp;&nbsp;&nbsp; <br />at Microsoft.Office.Server.Administration.UserProfileApplication.SetupSynchronizationService(ProfileSynchronizationServiceInstance<br />profileSyncInstance).</p>
<p>&nbsp;</p>
<p><span style="font-size: large;"><b>Causes</b></span>&nbsp;</p>
<p>The issue is caused by insufficient privilege to get Management Agents from WMI.</p>
<p>SharePoint tries to list the Management Agents that were created in the MIIS server. It uses WMI, and query class MIIS_ManagementAgent from namespace root\MicrosoftIdentityIntegrationServer to get the management agents. Without sufficient privilege to query the class, there will have a 0x80041001 Generic failure be from WMI:</p>
<ol>
<li>Click Start &gt; Run</li>
<li>Type wbemtest</li>
<li>Click Connect , and then type root\MicrosoftIdentityIntegrationServer and follow by clicking Connect</li>
<li>Click Query</li>
<li>Type the WQL: SELECT * FROM MIIS_ManagementAgent</li>
<li>Click Apply to execute the query</li>
</ol>
<p>If you use Process Monitor to monitor process &ldquo;wmiprvse&rdquo; at the same time, you will see lots of &ldquo;Access Denied&rdquo; on C:\Program Files\Microsoft Office Servers\14.0. The processing account is <strong>Network Service<br /></strong></p>
<p><span style="font-size: large;"><b>Solutions</b>&nbsp;</span></p>
<ol>
<li>On the SharePoint server(s), open &ldquo;Local Users and Groups&rdquo;</li>
<li>Select Groups</li>
<li>Double-click &ldquo;WSS_WPG&rdquo; group</li>
<li>Add the Network Service account to this group</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 6 : Group Cannot be found</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-6-group-cannot-be-found</link>
      <pubDate>Fri, 09 Dec 2011 01:49:01 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2011/12/09/quick-solution-6-group-cannot-be-found/</guid>
      <description><![CDATA[Error Message&nbsp;
&lt;date time&gt;&nbsp; w3wp.exe...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: large;"><b>Error Message</b>&nbsp;</span></p>
<p>&lt;date time&gt;&nbsp; w3wp.exe (0x2EF0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x4084 SharePoint Foundation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Runtime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tkau Unexpected Microsoft.SharePoint.SPException: Group cannot be found.&nbsp;&nbsp;&nbsp; at Microsoft.SharePoint.ApplicationPages.PeoplePage.get_CurrentGroup()&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.SharePoint.ApplicationPages.PeoplePage.OnLoad(EventArgs e)&nbsp;&nbsp;&nbsp;&nbsp; at System.Web.UI.Control.LoadRecursive()&nbsp;&nbsp;&nbsp;&nbsp; at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2a23135d-6a07-4230-b2bf-d3a03f0acafc<br />&lt;date time&gt;&nbsp; w3wp.exe (0x2EF0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x4084 SharePoint Foundation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Monitoring&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b4ly Medium&nbsp;&nbsp; Leaving Monitored Scope (Request (GET:https://&lt;site&gt;:80/_layouts/people.aspx?MembershipGroupId=&lt;group id&gt;)). Execution Time=37.5787984227046 2a23135d-6a07-4230-b2bf-d3a03f0acafc<br />&nbsp;</p>
<p><span style="font-size: large;"><b>Causes</b></span>&nbsp;</p>
<p>The issue happens when the current group(MembershipGroupId from query string) is not in the web associated groups. SharePoint uses the following way to check if a group is existing in the web associated groups.</p>
<ol>
<li>Get a dictionary named &ldquo;ReferencedGroups&rdquo;</li>
<ol>
<li>Get a semicolon spited string(strAssociatedGroups) that indicate the groups that are associated with current web:<br />&nbsp;&nbsp;&nbsp; string strAssociatedGroups = Web.AllProperties[&ldquo;vti_associategroups&rdquo;] as string</li>
<li>Get all unique Ids(groupIds) from the AssociatedGroupsString, and store them in a collection.</li>
<li>Get the associated groups based on the collection we got from step 2:<br />&nbsp;&nbsp;&nbsp; Web.SiteGroups.GetCollection(groupIds.ToArray())</li>
<li>Use a Dictionary to store the groups with groupId(SPGroup.Id) as key and group(SPGroup) as value.</li>
</ol>
<li>Check if the current group is existing in the ReferencedGroups dictionary.<ol>
<li>ReferencedGroups.TryGetValue(GroupId, out m_currentGroup). The parameter GroupId is got from the query string &ldquo;MembershipGroupId&rdquo;.</li>
<li>If m_currentGroup is null, the &ldquo;Group cannot be found&rdquo; will be shown</li>
</ol></li>
</ol>
<p><span style="font-size: large;">&nbsp;<b>Solutions</b></span>&nbsp;</p>
<p>Add the group to associated groups using the following code:</p>
<pre class="scroll"><code class="csharp">SPSite site = new SPSite("site&rsquo;s URL");<br /> SPWeb web = site.OpenWeb();<br /> SPUser user = web.CurrentUser;<br /> web.SiteGroups.Add("group name", user, user, "description");<br /> SPGroup g = web.SiteGroups["group name"];<br /> web.AssociatedGroups.Add(g);<br /> web.Update();</code></pre>
<p>Or, add the group&rsquo;s id to the associategroups property directly using PowerShell: </p>
<pre class="scroll"><code class="csharp">$site = Get-SPSite &lt;site&rsquo;s URL&gt;<br /> $web = $site.OpenWeb()<br /> $associategroups = $web.Properties["vti_associategroups"]<br /> $web.Properties["vti_associategroups"] = $associategroups + &ldquo;;&rdquo; + &lt;the group&rsquo;s id&gt;<br /> $web.Properties.Update()</code></pre>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 5 : Requested registry access is not allowed</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-5-requested-registry-access-is-not-allowed</link>
      <pubDate>Wed, 02 Nov 2011 07:08:02 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2011/11/02/quick-solution-5-requested-registry-access-is-not-allowed/</guid>
      <description><![CDATA[Error Message
The timer job completed, but failed on one or more machines in the farm
SharePoint...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: large;"><b>Error Message</b></span></p>
<p>The timer job completed, but failed on one or more machines in the farm</p>
<p><strong>SharePoint ULS:</strong><br />&lt;date time&gt;&nbsp;OWSTIMER.EXE (0x06C0)&nbsp;0x07E4&nbsp;SharePoint Foundation&nbsp;Timer&nbsp;6398&nbsp;Critical&nbsp;The Execute method of job definition Microsoft.SharePoint.Administration.SPServiceApplicationInstanceProvisioningJobDefinition (ID 94bba7da-a1d1-4416-8b29-90097d834a3b) threw an exception. More information is included below.&nbsp; <strong>Requested registry access is not allowed</strong>.&nbsp;d76d33cf-1737-48b9-b880-6d4561081fa2</p>
<p>Exception stack trace:&nbsp;&nbsp; <br />&nbsp;<strong>at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)&nbsp;&nbsp;</strong>&nbsp; <br />&nbsp;at Microsoft.Office.Server.Utilities.SetupUtility.get_InstallLocation()&nbsp;&nbsp;&nbsp; <br />&nbsp;at Microsoft.Office.Server.Administration.UserProfileApplication.get_InstallPath()&nbsp;&nbsp;&nbsp; <br />&nbsp;at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.ProvisionApplicationInstance()&nbsp;&nbsp;&nbsp; <br />&nbsp;at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)&nbsp;</p>
<p><strong>System Log:</strong><br />Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<br />Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-SharePoint Products-SharePoint Foundation<br />Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;date time&gt;<br />Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6398<br />Task Category: Timer<br />Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Critical<br />Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;user alias&gt;<br />Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;computer name&gt;<br />Description:<br />The Execute method of job definition Microsoft.SharePoint.Administration.SPServiceApplicationInstanceProvisioningJobDefinition (ID 94bba7da-a1d1-4416-8b29-90097d834a3b) threw an exception. More information is included below.</p>
<p><strong>Requested registry access is not allowed.</strong><br />Event Xml:<br />&lt;Event xmlns="<a href="https://schemas.microsoft.com/win/2004/08/events/event">https://schemas.microsoft.com/win/2004/08/events/event</a>"&gt;<br />&nbsp; &lt;System&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;EventID&gt;6398&lt;/EventID&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Version&gt;14&lt;/Version&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Level&gt;1&lt;/Level&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Task&gt;12&lt;/Task&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Opcode&gt;0&lt;/Opcode&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Keywords&gt;0x4000000000000000&lt;/Keywords&gt;<br />&nbsp;&nbsp;&nbsp; &lt;TimeCreated SystemTime="2011-03-08T03:16:46.198079000Z" /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;EventRecordID&gt;26617&lt;/EventRecordID&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Correlation ActivityID="{D76D33CF-1737-48B9-B880-6D4561081FA2}" /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Execution ProcessID="1728" ThreadID="2020" /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Channel&gt;Application&lt;/Channel&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Computer&gt;SPS2010-01.contoso.com&lt;/Computer&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Security UserID="S-1-5-21-3468372412-3115835394-1960983456-1105" /&gt;<br />&nbsp; &lt;/System&gt;<br />&nbsp; &lt;EventData&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Data Name="string0"&gt;Microsoft.SharePoint.Administration.SPServiceApplicationInstanceProvisioningJobDefinition&lt;/Data&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Data Name="string1"&gt;94bba7da-a1d1-4416-8b29-90097d834a3b&lt;/Data&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Data Name="string2"&gt;Requested registry access is not allowed.&lt;/Data&gt;<br />&nbsp; &lt;/EventData&gt;<br />&lt;/Event&gt;</p>
<p><b></b>&nbsp;</p>
<p><span style="font-size: large;"><b>Causes</b></span></p>
<p>The issue is caused by the insufficient permission on registry key:&nbsp;</p>
<p><em>at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)&nbsp;&nbsp;&nbsp;</em></p>
<p><em></em></p>
<p><span style="font-size: large;"><b>Solutions</b></span>&nbsp;</p>
<p>To solve the issue, please follow these steps:</p>
<ol>
<li>Use the Process Monitor to monitor the registry, once you get the following ACCESS DENIED message(You can filter the result with &ldquo;Result contains Access Denied&rdquo;): &nbsp;<br /><br />
<p>Date &amp; Time:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;date time&gt;</p>
<p>Event Class:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registry</p>
<p>Operation: RegOpenKey</p>
<p>Result:&nbsp; ACCESS DENIED</p>
<p>Path:&nbsp;&nbsp;&nbsp;&nbsp; HKLM\SOFTWARE\Microsoft\Office Server\14.0</p>
<p>TID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2020</p>
<p>Duration:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0000297</p>
<p>Desired Access:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Read</p>
</li>
<li>Open Registry Editor (Start &gt; Run, type regedit)</li>
<li>Open key: HKLM\SOFTWARE\Microsoft\Office Server\14.0(got from Process Monitor from step 1)</li>
<li>Assign the SharePoint Timer Service account the Read permission to this key</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 4 : File Not Found. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-4-file-not-found-at-microsoft-sharepoint-library-sprequestinternalclass-createlistfromformpost</link>
      <pubDate>Wed, 02 Nov 2011 06:51:00 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2011/11/02/quick-solution-4-file-not-found-at-microsoft-sharepoint-library-sprequestinternalclass-createlistfromformpost/</guid>
      <description><![CDATA[Error Message
&nbsp;
 File Not Found. at...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: large;"><b>Error Message</b></span></p>
<p>&nbsp;</p>
<pre class="scroll"><code class="cplusplus"> File Not Found. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String bstrUrl, String&amp; pbstrGuid, String&amp; pbstrNextUrl)<br /> <br /> at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String&amp; pbstrGuid, String&amp; pbstrNextUrl)<br /> <br /> at Microsoft.SharePoint.SPListCollection.CreateListFromRpc(NameValueCollection queryString, Uri&amp; nextUrl)<br /> <br /> at Microsoft.SharePoint.ApplicationPages.NewListPage.BtnOk_Click(Object sender, EventArgs args)<br /> <br /> at System.Web.UI.WebControls.Button.OnClick(EventArgs e)<br /> <br /> at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)<br /> <br /> at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)<br /> <br /> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<br /> <br /> &lt;date time&gt; w3wp.exe (0x06EC) 0x0D6C Windows SharePoint Services General <strong>72lu</strong> High Cannot find doc &lt;document&gt;? <br /> &lt;date time&gt; w3wp.exe (0x06EC) 0x0D6C Windows SharePoint Services General <strong>8z1w</strong> High Failed to upload document library template type "101" for list "&lt;listName&gt;" in web "https://server". <br /> &lt;date time&gt; w3wp.exe (0x06EC) 0x0D6C Windows SharePoint Services Fields <strong>88yg</strong> High Failed to instantiate list 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\DocumentLibrary\doclib' <br /> <br /> </code>&nbsp;</pre>
<p><span style="font-size: large;"><b>Causes</b></span></p>
<p>The issue happens while trying to upload a ghosted document template file to the being created list/document library.</p>
<p>When create a list/library, SharePoint need to:</p>
<ol>
<li>Instantitate the list in store</li>
<li>Upload the ghosted document template file to the list/document library&nbsp;</li>
</ol>
<p>When upload the file, the SharePoint need to check if the ghosted DocumentTemplateFile is a validate file. If it is not a validate file, the following error will be thrown:</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; <strong>72lu&nbsp;&nbsp;&nbsp;</strong>High&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cannot find doc &lt;documentName&gt;&nbsp;</p>
<p>The DocumentTemplateFile is defined in the site definition in onet.xml file.</p>
<p>&nbsp;</p>
<p><span style="font-size: large;"><b>Solutions</b></span>&nbsp;</p>
<p>You can follow these steps to solve the issue:</p>
<ol>
<li>Connect to SQL Server database that is stored the SharePoint content databases&nbsp;using SQL Server Management Studio(SSMS)</li>
<li>Query the table "dbo.Webs" from the current content database (the database for the site collection)</li>
<li>Check the WebTemplate id from the result</li>
<li>Find the associated site template with the id follow this article: <a href="https://praveenbattula.blogspot.com/2010/08/know-site-template-used-for-sharepoint.html">https://praveenbattula.blogspot.com/2010/08/know-site-template-used-for-sharepoint.html</a></li>
<li>Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\SiteTemplates\&lt;the templatename got from the previous step&gt;\XML</li>
<li>Open the Onet.xml</li>
<li>Get the DocumentTemplateFile element that has Type=&lt;Id of the type of the list/document library that is mentioned in the error log&gt;" <br /><em>Failed to upload document library template type "&lt;Id of the type of the list/document library&gt;" for list "&lt;listName&gt;" in web <a href="https://server">https://server</a></em></li>
<li>Ensure its &ldquo;Name&rdquo; attribute points to a validate file (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\1033\STS\&lt;the value for Name here&gt;)</li>
</ol>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 3 : SharePoint User Profile Synchronization fail to start with event Id 10016</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-3-sharepoint-user-profile-synchronization-fail-to-start-with-event-id-10016</link>
      <pubDate>Wed, 02 Nov 2011 03:13:00 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2011/11/02/quick-solution-3-sharepoint-user-profile-synchronization-fail-to-start-with-event-id-10016/</guid>
      <description><![CDATA[Error Message
&nbsp;
 Log Name: System  Source: Microsoft-Windows-DistributedCOM  Date: 4/8/2011...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: large;"><b>Error Message</b></span></p>
<p>&nbsp;</p>
<pre class="scroll"><code class="cplusplus"> Log Name: System <br /> Source: Microsoft-Windows-DistributedCOM <br /> Date: 4/8/2011 10:49:29 AM <br /> Event ID: 10016 <br /> Task Category: None <br /> Level: Error <br /> Keywords: Classic <br /> User: NETWORK SERVICE <br /> Computer: &lt;server name&gt; <br /> Description: <br /> The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {000C101C-0000-0000-C000-000000000046} and APPID {000C101C-0000-0000-C000-000000000046} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.</code></pre>
<p>Or</p>
<pre class="scroll"><code class="cplusplus"> Log Name: System <br /> Source: Microsoft-Windows-DistributedCOM <br /> Date: 4/8/2011 10:49:29 AM <br /> Event ID: 10016 <br /> Task Category: None <br /> Level: Error <br /> Keywords: Classic <br /> User: NETWORK SERVICE <br /> Computer: &lt;server name&gt; <br /> Description: <br /> The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {A0A8C0AC-FC70-4EE2-93A8-4A2257AE8619} and APPID {38AFE312-B8E5-4354-A11F-9224307B28AC} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool. </code></pre>
<p><strong><span style="font-size: large;">Causes</span></strong></p>
<p>The issue is caused by the user NT AUTHORITY\NETWORK SERVICE SID does not have permissions to activate the DistributedCOM locally.</p>
<p><span style="font-size: large;"><b>Solutions</b></span></p>
<p>In order to solve the issue, please grant Local Activation permission for the COM Server applications to the user NT AUTHORITY\NETWORK SERVICE. By default, the group <b>Distributed COM Users</b> has the permissions. So, please add <b>NT AUTHORITY\NETWORK SERVICE</b> to <b>Distributed COM Users</b> directly to fix the issue:</p>
<ol>
<li>Open <b>Computer Management</b>(Administrative Tools &gt; Computer Management)</li>
<li>Double-click <b>Local Users and Groups</b></li>
<li>Click <b>Groups</b></li>
<li>Double-click<b> Distributed COM Users</b></li>
<li>Click <b>Add</b></li>
<li>Set the location to be local machine by clicking <b>Locations</b></li>
<li>Type <b>Network Service</b> in <b>the Enter the object name to select</b> textbox</li>
<li>Click <b>OK </b>to apply</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 2 : The trust relationship between the primary domain and the trusted domain failed</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-2-the-trust-relationship-between-the-primary-domain-and-the-trusted-domain-failed</link>
      <pubDate>Wed, 02 Nov 2011 01:24:00 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2011/11/02/quick-solution-2-the-trust-relationship-between-the-primary-domain-and-the-trusted-domain-failed/</guid>
      <description><![CDATA[Error Message&nbsp;
[OWSTIMER][ProfileDatabaseSequence] [ERROR] [4/5/2011 10:45:25 AM]: Action...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: large;"><b>Error Message</b>&nbsp;</span></p>
<p>[OWSTIMER][ProfileDatabaseSequence] [ERROR] [4/5/2011 10:45:25 AM]: Action 14.0.17.0 of Microsoft.Office.Server.Upgrade.ProfileDatabaseSequence failed.<br />[OWSTIMER] [ProfileDatabaseSequence] [ERROR] [4/5/2011 10:45:25 AM]: Exception:The trust relationship between the primary domain and the trusted domain failed.<br />[OWSTIMER] [ProfileDatabaseSequence] [ERROR] [4/5/2011 10:45:25 AM]: at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean&amp; someFailed)<br />at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)<br />at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)<br />at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()<br />at Microsoft.Office.Server.Upgrade.UserProfileAclUpgrader.DoUpgrade()<br />at Microsoft.Office.Server.Upgrade.ProfileDatabaseAction.Upgrade()<br />at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:Begin Rollback()<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:End Rollback()<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:Begin Dispose()<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:End Dispose()<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:SQL Query Count=8<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:SPRequest Objects=4<br />[OWSTIMER] [UserProfileAclUpgrader (14.0.17.0)] [DEBUG] [4/5/2011 10:45:25 AM]:Execution Time=598.815491913078<br />[OWSTIMER] [SPUpgradeSession] [ERROR] [4/5/2011 10:45:25 AM]: Upgrade [ProfileDatabase Name=SharedService00_UserProfile_43a8a0e5322149d...] failed.<br />[OWSTIMER] [SPUpgradeSession] [ERROR] [4/5/2011 10:45:25 AM]: Inner Exception:The trust relationship between the primary domain and the trusted domain failed.</p>
<p>&nbsp;</p>
<p><span style="font-size: large;"><b>Causes</b></span>&nbsp;</p>
<p>While upgrading from SharePoint Server 2007 to SharePoint Server 2010, the upgrade process will check the user permissions for personalization. In the verification, the upgrade process gets each account&rsquo;s SID from the database, and then tries to translate it to NTAccount.</p>
<p>The general steps are:</p>
<ol>
<li>The upgrade process get all Shared Service Provide(SSP) user permissions' settings&nbsp;for personalization from the SSP database using stored procedure dbo.proc_MIP_GetObject(You could use parameter 1F4CF7D3-51DC-49CB-8A5B-E05C5EAF318A to execute the stored procedure)<br />
<p>The returned ACEs should be like:<code class="cplusplus">&nbsp;<br />&nbsp;<br /> &lt; ?xml version="1.0" encoding="utf-16"?&gt;<br /> &lt; Acl&gt;<br /> &lt; Ace IdentityName="NIHAO\administrator" DisplayName="NIHAO\administrator" SID="AQUAAAAAAAUVAAAAPrara24ehw3RvYe99AEAAA==" Rights="63" /&gt;<br /> &lt; Ace IdentityName="NT AUTHORITY\Authenticated Users" DisplayName="NTAUTHORITY\Authenticated Users" SID="AQEAAAAAAAULAAAA" Rights="3" /&gt;<br /> &lt; Ace IdentityName="NTAUTHORITY\NETWORK SERVICE" DisplayName="NT AUTHORITY\NETWORK SERVICE" SID="AQEAAAAAAAUUAAAA" Rights="63" /&gt;<br /> &lt; /Acl&gt;<br /> </code></p>
</li>
<li>The upgrade process uses the SID from the returned ACEs to translate the account to NTAccount using method TranslateToNTAccounts.</li>
</ol>
<p>&nbsp;</p>
<p>If the SID is invalid, the translation will fail, and you may encounter the error as shown in the error message.&nbsp;</p>
<p><span style="font-size: large;"><b>Solutions</b></span>&nbsp;</p>
<p>To fix the issue, please follow these steps:</p>
<ol>
<li>Open the SSP</li>
<li>Click the "Personalization services permissions"</li>
<li>Remove the user or group that is invalid</li>
</ol>
<p>&nbsp;</p>
<p>In order to confirm which account caused the issue, you can use the following code:</p>
<div>
<pre class="scroll"><code class="csharp">SecurityIdentifier identity = new SecurityIdentifier(Convert.FromBase64String("&lt;SID got from the database&gt;"), 0);<br /> <br /> string str = ((NTAccount)identity.Translate(typeof(NTAccount))).ToString();<br /> </code></pre>
<p>&nbsp;</p>
</div>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Quick Solution 1 : New-SPTrustedIdentityTokenIssuer  Exception of type 'System.ArgumentException' was thrown</title>
      <link>https://docs.microsoft.com/archive/blogs/spsforum/quick-solution-1-new-sptrustedidentitytokenissuer-exception-of-type-system-argumentexception-was-thrown</link>
      <pubDate>Sun, 30 Oct 2011 05:57:00 GMT</pubDate>
      <dc:creator><![CDATA[Jinchun Chen]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/spsforum/2011/10/30/quick-solution-1-new-sptrustedidentitytokenissuer-exception-of-type-system-argumentexception-was-thrown/</guid>
      <description><![CDATA[Error Message&nbsp;
New-SPTrustedIdentityTokenIssuer: Exception of type 'System.ArgumentException'...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: large;"><b>Error Message</b></span>&nbsp;</p>
<p>New-SPTrustedIdentityTokenIssuer: Exception of type 'System.ArgumentException' was thrown.</p>
<p>Parameter name: newObj</p>
<p>At line:1 char:33</p>
<p>+ New-SPTrustedIdentityTokenIssuer<br />&lt;&lt;&lt;&lt;&nbsp; -Name "&lt;name&gt;"<br />-Description "&lt;description&gt;" -Realm &lt;realm&gt;<br />-ImportTrustCertificate &lt;certificate&gt; -ClaimsMapping &lt;mappings&gt;<br />-SignInUrl &lt;url&gt; -IdentifierClaim &lt;IdentityClaim&gt;<br />&nbsp;&nbsp;&nbsp;<br />+ CategoryInfo : InvalidData: (Microsoft.Share...dentityProvider:SPCmdletNewSPIdentityProvider) [New-SPTrustedIdentityTokenIssuer],argumentException&nbsp;&nbsp;&nbsp;<br />+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPIdentityProvider</p>
<p><span style="font-size: large;"><b>Causes</b></span>&nbsp;</p>
<p>The <strong>New-SPTrustedIdentityTokenIssuer</strong> will create a SPTrustedLoginProvider named newObj.</p>
<p>The error can occur in the following scenarios:</p>
<ul>
<li>The newObj SPTrustedLoginProvider is null</li>
<li>The name(parameter Name) of the SPTrustedLoginProvider has been used</li>
<li>The length of the name(parameter Name) of the SPTrustedLoginProvider is larger than 50</li>
<li>The certificate(parameter ImportTrustCertificate) for the SPTrustedLoginProvider has been used</li>
</ul>
<p>&nbsp;</p>
<p><span style="font-size: large;"><b>Solutions<br /></b></span><br />In order to fix the issue, please ensure:</p>
<ol>
<li>The name of the SPTrustedLoginProvider is not been using</li>
<li>The length of the name is less than 50</li>
<li>The certificate is not been using</li>
</ol>]]></content:encoded>
    </item>
  </channel>
</rss>