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))

Advertisement

5 thoughts on “Error Creating Publishing Sites In SharePoint 2013

  1. finarne

    Hi Richard, what service pack or CU have you installed? I’m seeing (what I think) is this issue trying to create sites via New-SPSite. Specifically I’m seeing if I try to create a site using a template such as SRCHCEN#0 which itself uses publishing. I’ve got SP1 installed (the slipstreamed version that has always been available, not the retracted then re-released standalone SP1). I’ve got a SharePoint 2013 farm with up to the August 2013 CU installed, I’m going to check that farm and respond later.

    Reply
  2. Anatoly Mironov

    I got this error, too. In our SharePoint 2013 test environment SP1 and July 2014 CU are installed. In another test environment where only October 2013 CU is installed, where users have the same permissions, the error does not occur. Because this issue only exists on Publishing Sites and there are few user who can create sites, we are giving them Site Collection Administrator Rights. It is easier than giving permissions on particular libraries using SharePoint Designer. I hope a fix will be released in the next CU.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s