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.

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.

Click on Permissions for this list.

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

Next, repeat the process for the DeviceChannels folder.

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”. 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))
Like this:
Like Loading...