<?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 Administration</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/bkr_sharepoint/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/bkr_sharepoint/feed.xml</link>
    <description>For everyday SharePoint administration</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:08:21 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>SharePoint 2013 Search Topology Activation Error: "Unable to retrieve topology component health states. This may be because of the admin component is not up and running"</title>
      <link>https://docs.microsoft.com/archive/blogs/bkr_sharepoint/sharepoint-2013-search-topology-activation-error-unable-to-retrieve-topology-component-health-states-this-may-be-because-of-the-admin-component-is-not-up-and-running</link>
      <pubDate>Mon, 09 Jun 2014 00:47:00 GMT</pubDate>
      <dc:creator><![CDATA[BK_R]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/bkr_sharepoint/2014/06/09/sharepoint-2013-search-topology-activation-error-unable-to-retrieve-topology-component-health-states-this-may-be-because-of-the-admin-component-is-not-up-and-running/</guid>
      <description><![CDATA[Scenario

In a newly deployed farm, creating new search service application (SSA) via PowerShell...]]></description>
      <content:encoded><![CDATA[<div class="securebody" style="word-wrap: break-word;">
<h2 class="subHeading">Scenario</h2>
<div class="section"><ol>
<li><span>In a newly deployed farm, creating new search service application (SSA) via PowerShell or GUI of SharePoint 2013. </span></li>
<li><span>The SSA gets created, however, topology in SSA will show</span></li>
</ol>
<p><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>"Unable to retrieve topology component health states. This may be because of the admin component is not up and running."&nbsp;&nbsp;</p>
<ol type="1">
<li value="3"><span>The trial to create and activate topology fails immediately<span>&nbsp; </span>and sends an event ID to application event as follows&nbsp;</span>&nbsp;</li>
</ol>
<p>Event ID: 6482</p>
<p>Description:<br />Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance&nbsp;<br />Reason: A call to SSPI failed, see inner exception.<br />Technical Support Details:<br />System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception. ---&gt; System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---&gt; System.ComponentModel.Win32Exception: No authority could be contacted for authentication.</p>
</div>
</div>
<div class="securebody" style="word-wrap: break-word;">
<h2 class="subHeading">Possible Reasons:</h2>
<div class="section">
<p>1. The timer service account is trying to communicate with HostController service<span>&nbsp; </span>and generates 'SSPI<span>&nbsp; </span>Connect' call<span>&nbsp;</span>demanding SPN to be created for target services Identity, if no SPN is found.</p>
<p>2. The Hostcontroller service's NodeRunner process is limited to use restricted amount of RAM</p>
</div>
</div>
<div class="securebody" style="word-wrap: break-word;">
<h2 class="subHeading">Possible Solutions:</h2>
<div class="section"><ol>
<li>Check which account is running the<span>&nbsp; </span>Timer Service account.</li>
<li><span>Check which account is running HostController Service<span>&nbsp; </span>(From Services.msc<span>&nbsp; </span>or<span>&nbsp; </span>Central Administration &gt; Security &gt; manage Service Accounts)<br /><br />Use SetSPN -L<span>&nbsp; </span>&lt;Domain\Accountname&gt;<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>to list<span>&nbsp; </span>active SPNs for these two accounts<br /></span></li>
<li>
<p>We have to set<span>&nbsp; </span>a dummy SPN for Timer Service and HostController service account.</p>
</li>
<li>
<p><span>Set<span>&nbsp; </span>an SPN<span>&nbsp;&nbsp; </span>SP/SPTEST<span>&nbsp;&nbsp; </span>-- this is a dummy SPN<span>&nbsp; </span>for Timer Service account.</span></p>
</li>
<li>
<p><span>Set an SPN<span>&nbsp;&nbsp;&nbsp; </span>SP/SPTEST1 -- this is a dummy SPN, for service account of Host Controller Service also.</span>&nbsp;</p>
</li>
<li>
<p><span>Do IIS Reset.</span></p>
</li>
</ol></div>
</div>
<div class="securebody" style="word-wrap: break-word;"><strong>About the above issue:</strong></div>
<div class="securebody" style="word-wrap: break-word;">
<div class="section"><ol>
<li>
<div style="font-size: 11pt; font-family: calibri; margin: 0in;"><span>During activation of topology via PowerShell, you may observe error,<span>&nbsp; </span></span></div>
</li>
</ol>
<p>System.Management.Automation.MethodInvocationException:<br />Exception calling "Activate" with "0" argument(s): <br />"Could not connect to the HostController service on server &lt;ServerName&gt; Topology Activation could not be started"</p>
<p>Du<span>ring topology activation, If opened task manager and checked status of<span>&nbsp; </span>HostController.exe - It will be running always , during the activation of topology. However, NO NODERUNNER.EXE will be<span>&nbsp; </span>found<span>&nbsp; </span>in<span>&nbsp; </span>process list.<span>&nbsp; </span>No attempt to activate topology will be observed in ULS.</span></p>
<p>Application Event will show error below&nbsp;</p>
<p>Source: Microsoft-SharePoint Products-SharePoint Server<br />Event ID: 6482<br />Task Category: Shared Services<br />Level: Error<br />Keywords:&nbsp;<br />User: Timer Service Account<br />Computer: &lt;Server name&gt;<br />Description:<br />Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (Service instance GUID).&nbsp;</p>
<p>Reason: A call to SSPI failed, see inner exception.&nbsp;</p>
<p>Technical Support Details:<br />System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception. ---&gt; System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---&gt; System.ComponentModel.Win32Exception: No authority could be contacted for authentication<br />&nbsp;&nbsp;&nbsp;--- End of inner exception stack trace ---<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)<br />&nbsp;&nbsp;&nbsp;at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty&amp; remoteSecurity)<br />&nbsp;&nbsp;&nbsp;--- End of inner exception stack trace ---&nbsp;</p>
<p>Server stack trace:&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty&amp; remoteSecurity)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.StreamSecurityUpgradeInitiatorBase.InitiateUpgrade(Stream stream)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ConnectionUpgradeHelper.InitiateUpgrade(StreamUpgradeInitiator upgradeInitiator, IConnection&amp; connection, ClientFramingDecoder decoder, IDefaultCommunicationTimeouts defaultTimeouts, TimeoutHelper&amp; timeoutHelper)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper&amp; timeoutHelper)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper&amp; timeoutHelper)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)<br />&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)</p>
<p>Exception rethrown at [0]:</p>
<p>&nbsp;&nbsp;&nbsp;at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()<br />&nbsp;&nbsp;&nbsp;at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)</p>
<p>ULS will have evidence<span>&nbsp; </span>for<span>&nbsp; </span>Timer Service account trying to contact HostController Service and fails trying to authenticate.</p>
<p>Once the activation of topology is failed, we can<span>&nbsp; </span>see detailed exception in ULS:&nbsp;</p>
<p>OWSTIMER.EXE&nbsp; SharePoint Server Search Administration aizcv Exception Failed to update hostcontroller primary repository<span>&nbsp; </span>version System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception. ---&gt; System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---&gt; System.ComponentModel.Win32Exception: No authority could be contacted for authentication<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>--- End of inner exception stack trace ---<span>&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p>at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)<span>&nbsp;</span> System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span>at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty&amp; remoteSecurity)<span>&nbsp;&nbsp;&nbsp;&nbsp; </span></p>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2010: Resolving A UserProfile Service Application connecting to WCF endpoint: System.TimeoutException error</title>
      <link>https://docs.microsoft.com/archive/blogs/bkr_sharepoint/sharepoint-2010-resolving-a-userprofile-service-application-connecting-to-wcf-endpoint-system-timeoutexception-error</link>
      <pubDate>Mon, 09 Jun 2014 00:41:00 GMT</pubDate>
      <dc:creator><![CDATA[BK_R]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/bkr_sharepoint/2014/06/09/sharepoint-2010-resolving-a-userprofile-service-application-connecting-to-wcf-endpoint-system-timeoutexception-error/</guid>
      <description><![CDATA[Scenarios:
A) ...&nbsp; Every morning UPA worker process becomes unresponsive or web requests...]]></description>
      <content:encoded><![CDATA[<div class="section">
<div class="sbody">
<div><strong>Scenarios:</strong></div>
<div>A) ...&nbsp; Every morning UPA worker process becomes unresponsive or web requests get queued for minutes and subsequently time out. Users of consuming farm experiences errors on their site pages while loading sites which require information from UPA. <br /><br />B)... Users experiencing slowness while site load. SharePoint server with UPS SA service running, shows large number of connection requests queued in UPS SA worker process. These connection requests gets timeout after every 20 seconds.&nbsp; <br /><br />C).... ULS shows timeout for any connection requests made to UPS SA (May be a request from client accessing sites, consuming farm or Newsgator social sites) <br /><br />We see the following messages in the ULS logs when we try to access the site from the server that has the&nbsp;User Profile Service&nbsp;running. <br /><br />Exception occurred while connecting to WCF endpoint: System.TimeoutException: The request channel timed out while waiting for a reply after 00:00:20. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---&gt; System.TimeoutException: The HTTP request to 'https://servername:32843/UPSSCEndPointGUID/ProfilePropertyService.svc' has exceeded the allotted timeout of 00:00:20. The time allotted to this operation may have been a portion of a longer timeout. ---&gt; System.Net.WebException: The operation has timed out&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Net.HttpWebRequest.GetResponse()&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; <br />System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; --- End of inner exception stack trace ---&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div>System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)&nbsp;&nbsp;&nbsp;&nbsp; <br />System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)&nbsp;&nbsp;&nbsp; <br />System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; --- End of inner exception stack trace ---&nbsp;&nbsp;&nbsp; Server stack trace:&nbsp;&nbsp;&nbsp;&nbsp; <br />System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div>System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)&nbsp; <br />System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)&nbsp;&nbsp;&nbsp; <br />System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)&nbsp;&nbsp;&nbsp;&nbsp; <br />System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)&nbsp;&nbsp;&nbsp; Exception rethrown at [0]:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&nbsp;&nbsp;&nbsp; System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)&nbsp;&nbsp;&nbsp;&nbsp; <br />Microsoft.Office.Server.UserProfiles.IProfilePropertyService.GetProfileProperties()&nbsp;&nbsp;&nbsp;&nbsp; <br />Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.&lt;&gt;c__DisplayClass1.&lt;GetProfileProperties&gt;b__0(IProfilePropertyService channel)&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div>Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock) <br /><br /><br />UserProfileApplicationProxy.InitializePropertyCache: Microsoft.Office.Server.UserProfiles.UserProfileException: System.TimeoutException&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.Office.Server.UserProfiles.MossClientBase`1.ExecuteOnChannel(String operationName, CodeBlock codeBlock)&nbsp;&nbsp;&nbsp;&nbsp; Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.ExecuteOnChannel(String operationName, CodeBlock codeBlock)&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.Office.Server.UserProfiles.ProfilePropertyServiceClient.GetProfileProperties()&nbsp;&nbsp;&nbsp;&nbsp; Microsoft.Office.Server.Administration.UserProfileApplicationProxy.RefreshProperties(Guid applicationID)</div>
<div>Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div>Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous)&nbsp;&nbsp;&nbsp;</div>
<div>Microsoft.Office.Server.Administration.UserProfileApplicationProxy.InitializePropertyCache() <br /><br /><br /></div>
</div>
</div>
<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">Cause </span></h2>
<div class="sbody">
<div id="
              trans_body_1">We have added&nbsp; too many accounts (Users/Groups) to User Profile Service Application&nbsp; Administrators group. Each item in this ACL increases the time taken for ACL resolution and results in WCF endpoint timeout if ACL resolution takes more than 10-15 seconds. Default WCF end point timeout is 20 seconds. <br /><br />Customer has multiple domains (child + Parent) and has to add too many users to &nbsp;User Profile Service Application Administrators group to grant required permissions for consuming farm.&nbsp;</div>
</div>
</div>
<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">Resolution </span></h2>
<div class="sbody">
<div id="
              trans_body_2"><strong>WorkAround 1 </strong></div>
<div>Use universal group in UPA Admin ACL in publishing farm. Nest all other groups and accounts in this Universal group. Add the universal group&nbsp; to User Profile Service application ACL. <br /><br />Details: <br /><br />Go to SharePoint Central administration, Manage Service Applications &gt; Highlight UserProfile Service Apllication &gt; Select Administrators from ribbon &gt; Remove users/groups found in this ACL.&nbsp; <br /><br />Create universal group (UG) in parent domain of SharePoint server.&nbsp;Add all removed users/groups to this UG.&nbsp;Add this Universal group to UPA SA Admin ACL in SharePoint.&nbsp; <br /><br /><br /><strong>Workaround 2 </strong><br /><br />Increase WCF EndPoint timeout&nbsp;from 20 seconds to 60 seconds.&nbsp;&nbsp; Also, start User profile Service on multiple servers to load balance WCF requests.&nbsp;This should help reducing connection timeouts. For permanent fix, customer should remove user/group items and add few Universal groups only to UPS SA administratot ACL.&nbsp;</div>
</div>
</div>
<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">More Information </span></h2>
<div id="
              trans_body_3"><br /><br />Use PowerShell script to check timeout when resolving UPS SA ACL on problem app servers . This script will tell the time taken for validating items in UPS SA Administrators ACL. If the value is more than 4-6 seconds then it can cause WCF timeouts at large connection requests from client.&nbsp; <br /><br />The script as given below</div>
<div><br /># $upa&nbsp;&nbsp; must have your desired service application name.&nbsp;</div>
<div class="sbody">
<div><br />Add-PSSnapin microsoft.sharepoint.powershell -erroraction silentlycontinue <br />$upa = get-spserviceapplication | ? {$_.TypeName.ToString().Equals("User Profile Service Application")} <br />$starttime = [system.DateTime]::Now <br />$acl = $upa.GetAdministrationAccessControl() <br />$accessRules = $acl.accessRules <br />$endTime = [system.DateTime]::Now <br />$elapsedTime = $endTime.subtract($startTime).seconds <br /><br />Write-Host "Start Time: $StartTime End Time:$endTime Duration: $elapsedTime Seconds" <br />Write-Host ""</div>
</div>
</div>]]></content:encoded>
    </item>
    <item>
      <title>Resolving 'Duplicate mapping' error (Event 6301) for 'Title' property in SharePoint user Profile Service Application property Mapping</title>
      <link>https://docs.microsoft.com/archive/blogs/bkr_sharepoint/resolving-duplicate-mapping-error-event-6301-for-title-property-in-sharepoint-user-profile-service-application-property-mapping</link>
      <pubDate>Sun, 08 Jun 2014 23:47:00 GMT</pubDate>
      <dc:creator><![CDATA[BK_R]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/bkr_sharepoint/2014/06/08/resolving-duplicate-mapping-error-event-6301-for-title-property-in-sharepoint-user-profile-service-application-property-mapping/</guid>
      <description><![CDATA[How to edit Sharepoint user profile property mapping alias:&nbsp; Changing 'SPS-JobTitle' to 'Title'...]]></description>
      <content:encoded><![CDATA[<p><br /><span style="font-size: medium;"><strong>How to edit Sharepoint user profile property mapping alias:&nbsp; Changing 'SPS-JobTitle' to 'Title' property&nbsp; mapping</strong></span> <br /><br />Consider the following scenario: <br /><br />In an existing User Profile Service Application (UPSA) with a synchronization connection to AD, you map 'SPS-JobTitle' to import 'Employee Type' (or any other AD attribute) and then map 'Title' property in UPSA to import an attribute in AD (for example 'Title'). <br /><br />You then run a full profile synchronization and wait for it to complete. The expected result is to get new values as per mapped attributes imported for 'Title' property in the SharePoint User Profiles. However, you observe that the 'Title' value of existing users is never changed and newly added users get a 'Duplicate mapping' error (Event 6301) for 'Title' property in MIISCLIENT.exe during 'SD_DeltaSync' and 'MOSS_DeltaSync' stages. Existing users having 'Title' values show no errors in FIM or ULS. However, the new attribute mapping value will not be updated. <br /><br />New users will get duplicate mapping errors in Event logs. <br /><br /><span style="font-size: xx-small;"><em>Log Name: Application </em></span><br /><span style="font-size: xx-small;"><em>Source: FIMSynchronizationService </em></span><br /><span style="font-size: xx-small;"><em>Date: [ Date and Time ] </em></span><br /><span style="font-size: xx-small;"><em>Event ID: 6301 </em></span><br /><span style="font-size: xx-small;"><em>Task Category: Server </em></span><br /><span style="font-size: xx-small;"><em>Level: Error </em></span><br /><span style="font-size: xx-small;"><em>Keywords: Classic </em></span><br /><span style="font-size: xx-small;"><em>User: N/A </em></span><br /><span style="font-size: xx-small;"><em>Computer: &lt; servername &gt; </em></span><br /><span style="font-size: xx-small;"><em>Description: </em></span><br /><span style="font-size: xx-small;"><em>The server encountered an unexpected error in the synchronization engine: </em></span><br /><br /><span style="font-size: xx-small;"><em>"BAIL: MMS(24436): eafam.cpp(1298): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): eafam.cpp(946): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): eafam.cpp(1013): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): amexec.cpp(1701): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): amexec.cpp(2086): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): eaf.cpp(1417): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): eaf.cpp(657): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>ERR: MMS(24436): synccoreimp.cpp(5271): 0x80230304 - export-flow failed 0x80230304 </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(5272): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(4863): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(10889): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(10573): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(2547): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(4375): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(10072): 0x80230304 (The image or dimage already has an attribute with that name.) </em></span><br /><span style="font-size: xx-small;"><em>BAIL: MMS(24436): synccoreimp.cpp(3837) </em></span><br /><br /><span style="font-size: xx-small;"><em>Note: Skipping additional xml data; this data will show 'Title' property as the duplicate.</em></span> <br /><br />Reason behind this error: <br /><br />In UPSA, following the first full sync, the 'SPS-Title' imports 'Title' from AD. 'Title' in SharePoint uses the value provided by 'SPS-JobTitle'. So, both properties in SharePoint will show the same value. Once a value is assigned to 'JobTitle', any new import mapping without clearing the existing projection (in FIM metaverse) fails to edit the existing value in FIM. This results in Sync errors on user objects affected by the mapping change. <br /><br /><br /><br />A workaround is to first run a full sync without any mapping for 'Title' and 'JobTitle', and then map the properties as desired to AD. Run a full sync again. The steps required are listed below: <br /><br /><br /><br /><br />To map the 'SPS-JobTitle' property and &lsquo;Title&rsquo; to different attributes in AD. Follow the steps given below for a new UPA <br /><br />A. Create a new UPA SA using new ProfileDB, SocialDB and SyncDB. <br />B. Create UPSA Sync connections. <br />C. Edit &lsquo;SPS-JobTitle&rsquo; and remove import mapping to &lsquo;Title&rsquo; <br />D. Run a full sync without any mapping for the &lsquo;Job Title and &lsquo;Title&rsquo;. <br />E. Add Title =Import Title <br />F. Run full sync again <br />G. Add SPS-JobTitle = Import &lsquo;Employee Type&rsquo; <br />H. Run Full Syc <br />I. Open test users profile and observe changes. <br /><br />Follow the steps given below for an existing UPA&nbsp; &nbsp;<br /><br />A. Remove existing mapping for &lsquo;Job Title and &lsquo;Title&rsquo;. <br />B. Run a full sync without any mapping for the &lsquo;Job Title and &lsquo;Title&rsquo;. <br />C. Add Title =Import Title <br />D. Run full sync again <br />E. Add SPS-JobTitle = Import &lsquo;Employee Type&rsquo; <br />F. Run Full Syc <br />G. Open test users profile and observe changes. The changes should take effect as required. <br /><br /><br /><br /><strong>About &lsquo;Title&rsquo; and Job Title:</strong> <br /><br /><br />In SharePoint 2010, the &lsquo;Job Title (SPS-JobTitle)&rsquo; property imports &lsquo;Title&rsquo; attribute value from AD by default. This import mapping is created by SharePoint immediately after the creation of AD sync connection in UPSA. The &lsquo;Title&rsquo; property uses 'SPS-JobTitle' value as primary property in UPSA. If a full sync runs, both properties in User Profile get the &lsquo;Title&rsquo; value from AD.</p>
<p>&nbsp;</p>
<p>Similar issue [https://blogs.technet.com/b/steve_chen/archive/2010/10/11/user-profile-import-from-bdc-fails-on-sharepoint-server-2010-with-event-id-6301.aspx] </p>]]></content:encoded>
    </item>
    <item>
      <title>No XsltTransformTimeOut    property found in SharePoint farm</title>
      <link>https://docs.microsoft.com/archive/blogs/bkr_sharepoint/no-xslttransformtimeout-property-found-in-sharepoint-farm</link>
      <pubDate>Sun, 08 Jun 2014 23:28:00 GMT</pubDate>
      <dc:creator><![CDATA[BK_R]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/bkr_sharepoint/2014/06/08/no-xslttransformtimeout-property-found-in-sharepoint-farm/</guid>
      <description><![CDATA[Scenario 

In Production , you have an XSLT list view web part displaying a list&nbsp; This web...]]></description>
      <content:encoded><![CDATA[<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">Scenario </span></h2>
<div class="sbody">
<div id="
              trans_body_0">In Production , you have an XSLT list view web part displaying a list&nbsp; This web part returns timeout errors when loaded page initially, when refreshed, error disappears and page loads successfully. An error "Unable to display this Web Part. To troubleshoot the problem open this Web page using Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer"&nbsp; is displayed when error occurs on page load.</div>
</div>
</div>
<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">A Possible reason<br /></span></h2>
<div class="sbody">
<div id="
              trans_body_1">if we have&nbsp; many columns added to the&nbsp; target form library, which when opened using XSLT web parts was hitting a timeout error which took more time than what is set for&nbsp;XSLT timeout . In my case, the timeout value was set to 1 second. Using developer dashboard, we can&nbsp; see the timeout error comes if page refresh takes more than 1 second.</div>
</div>
</div>
<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">A Possible Resolution<br /></span></h2>
<div class="sbody">
<div id="
              trans_body_2">1. Install February 2012 CU for SharePoint if you do not have&nbsp;XsltTransformTimeOut &nbsp; setting in farm. <br /><br />Or <br /><br /><br />2. Increase timeout to 5 in $farm = Get-SPFarm $farm.XsltTransformTimeOut using following PS commands. <br />You have to use DeveloperDashboard on problem pages and determine average time taken for page load. Then use that time to increase the timeout.</div>
</div>
</div>
<div class="section">
<h2 id="tocHeadRef"><span id="trans_h2">About XsltTransformTimeOut <br /></span></h2>
<div id="
              trans_body_3"><br id="
              trans_body_3" />I had tested XsltTransformTimeOut in test farm. This is set to 1 second by default. Increasing this timeout can affect performance during large form rendering. To use as a workaround for customer's issue, suggested to increase timeout to5 second. I had tested it and found working if timeout increased to 2 or 5.</div>
<div class="sbody">
<div>Increased timeout to 5 in $farm = Get-SPFarm $farm.XsltTransformTimeOut using following PS commands. <br /><br />Steps to follow <br />========== <br /><br />Check Current Setting <br /><br />$farm = Get-SPFarm <br />$farm.XsltTransformTimeOut <br /><br />The default setting is 1 second. The PowerShell code below changes it to 2 seconds which should be sufficient for your farm. Developer dashboard returned average 1 to 1.3 seconds delay in your production farm. So, I&rsquo;m choosing 5 seconds timeout. <br /><br />Change Setting to 5 Seconds <br /><br />$farm = Get-SPFarm <br />$farm.XsltTransformTimeOut = 5<br />$farm.Update() <br /><br /></div>
</div>
</div>]]></content:encoded>
    </item>
  </channel>
</rss>