Monthly Archives: April 2014

Viewing SharePoint 2013 Search Duplicates

SharePoint 2013 search hides duplicate results by default.  In order to view duplicate search results following the following steps.

Edit the search result page and edit the Search Results web part

SearchDuplicates1

 

Expand the Settings section and tick the box for “Show View Duplicates link”.

SearchDuplicates2

Save the setting and publish the page.  When you search for a term, hover over a search result.  In the panel that loads click on VIEW DUPLICATES.

SearchDuplicates3

 

For information on how SharePoint calculates duplicates see this blog post.

Improve Virtual Machine Migration Performance

During the migration from a Windows Server 2008 R2 Hyper-V cluster to one based on Windows Server 2012 R2 I have had to migrate a lot of virtual machines.  The migration speed was lower than I expected given the available source and destination disk performance.  On a 1 Gbps network connection, the migration was only using about 25% of the available bandwidth.

In order to improve the performance I disabled TCP Connection Offload (TOE) on the source hosts.  This is because TOE can slow down the VM migration process, which takes place over BITS using HTTPS.  The screenshot below shows the setting in the Broadcom software.  Having disabled TOE the migration used anything up to 80% of the available bandwidth, significantly improving the migration times.

VMMigrationSpeed

 

 

Error Creating Publishing Sites In SharePoint 2013

I’ve come across an issue in SharePoint 2013 related to the creation of Publishing Sites.  Instead of the site being created, the user is confronted with the error below.

PublishingSiteError1

A list of errors logged in the ULS is at the end of this post, but the issue is due to access being denied to __DeviceChannelMappings.aspx.

To resolve the error use SharePoint Designer to assign the Restricted Read access to _catalogs/masterpage and DeviceChannels.

Within SharePoint Designer, right-click on masterpage and choose properties.

PublishingSiteError2

Click on Permissions for this list.

PublishingSiteError3

Assign Restricted Read permissions to the appropriate user, or group.

PublishingSiteError4

Next, repeat the process for the DeviceChannels folder.

PublishingSiteError5

List of ULS error messages:

<nativehr>0x81070211</nativehr><nativestack></nativestack>Cannot open file “_catalogs/masterpage/__DeviceChannelMappings.aspx”.

System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), 

Unexpected error when trying to populate mobile mappings file ‘_catalogs/masterpage/__DeviceChannelMappings.aspx’ in web ‘/SITENAME’: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

A runtime exception was detected. Details follow.  Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))  Technical Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))    

Watson Reporting Cancelled) System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))   

Event log message was: ‘Failed to initialize some site properties for Web
at Url: ‘http://SITENAME&#8221;. Exception was: ‘System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Publishing Feature activation failed. Exception: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to initialize some site properties for Web
at Url: ‘SITENAME’ OriginalException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) —> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Event ID 17140 & 15030 On Windows Server 2012 R2 Hyper-V

Looking through the Event Logs on a Windows Server 2012 R2 Hyper-V host I could see multiple entries for event IDs 17140 & 15030 as below

17140 – The specified account name is not valid: ‘%USER SID%’.

15030 – ‘%SERVER NAME%’ failed to modify settings. (Virtual machine ID %VM ID%)

These errors can occur if you’re using System Center Virtual Machine Manager (SCVMM).  In the SCVMM console, open Settings -> Security -> User Roles.  Right-click on each user role and choose Properties.  Open the Members tab and look for the user SID you see in event ID 17140.

SCVMM SID

Highlight the SID and click Remove.

SharePoint 2013 SP1 Issue

If you haven’t already installed SharePoint 2013 SP1, don’t as there’s a packaging issue, read KB 2817429 for more information.

We have recently uncovered an issue with this Service Pack 1 package that may prevent customers who have Service Pack 1 from deploying future public or cumulative updates. As a precautionary measure, we have deactivated the download page until a new package is published.

 

Windows Server 2012 R2 Update – Hyper-V Backup Issue

UPDATE 1

Veeam have confirmed that this issue is related to Veeam Backup & Replication.  They’re working on a fix for the general availability (GA) release of the Windows Server 2012 R2 Update.  Follow this link on the Veeam forum for updates.

UPDATE 2

Veeam have released the hotfix and it’s available through support.

UPDATE 3

Veeam have identified a second issue.  Restoring Windows 2008 and earlier backups made on an updated Hyper-V 2012 R2 host fails.  The Veeam KB article is available here 

Having installed the Windows Server 2012 R2 Update, my Veeam Hyper-V backups failed with errors as shown below.

03/04/2014 20:58:28 :: Processing ‘SERVERNAME’ Error: Client error: The system cannot find the file specified.

Failed to open file [\\?\Volume{36db85be-bb6a-11e3-80ce-000af72f0333}\SERVERNAMEWINDOWS SERVER 2012 R2 STANDARD_DISK_1_117A5A0B-5976-4766-B256-3707A2D8CFA7-AutoRecovery.avhdx] in readonly mode.

Veeam Error

The engineer at Veeam (Anatoly) was excellent and was able to prove that the error wasn’t related to Veeam by running Windows backup commands using PowerShell.  Following the uninstall of KB 2919355, the only one of the six hot fixes comprising the Windows Server 2012 R2 Update listed in Add Remove Programs, I was able to run backups as before.  If you’re thinking of installing this update ensure you test it well.

For reference the configuration is:

  • 4x Hyper-V 2012 R2 hosts
  • Dell EqualLogic SAN 6.0.7
  • HIT Kit 4.7 EPA
  • Veeam Backup & Replication 7.0.0.839

Installing Microsoft Office Through Office 365 Error Code 30125-4

Power Map, which is part of Microsoft’s Power BI, requires an Office 365 version of Excel.  When attempting to install Excel via Office 365 on a server I ran into the error:

Error Code 30125-4 when installing Office 365 Something went wrong. Sorry, we ran into a problem

Although the proxy was configured in Control Panel -> Internet Options, I had to enable the proxy via an elevated command prompt.  Type: netsh winhttp set proxy %Address of proxy server% bypass-list=(local)

This will configure the proxy server and setup proxy bypass for local addresses.