Asked by:
Site owners can't create subsites with custom site template

Question
-
Out of a sudden, the site owners informed that they are not able to create subsites and they received Access Denied message.
I noticed that they are using custom site template created by external developer, and they were using the same template when creating new subsites for months, but until few days ago something happened and they can't create any subsites with that particular site template.
Only the site collection administrator can create subsites now... although the site owners has full control rights...
Anybody has idea where to start troubleshooting?
I'm kind of stuck in here.
Thanks
Nikola_Macedonia
Tuesday, October 11, 2016 9:24 PM
All replies
-
Tuesday, October 11, 2016 9:54 PM
-
Can they still create subsites using the default templates like "Team Site"?
The Site Owners probably have full control to their own sites, but do not have the needed permissions to the Solutions Gallery in the top level site of the Site Collection.
Got to the top level site of the Site Collection, go to the Site Settings page and click the Solutions gallery. From there check the permissions of the gallery to see who has access. (Steps will vary depending on the version of SharePoint.)
Which version of SharePoint are you using?
Mike Smith TechTrainingNotes.blogspot.com
Books: SharePoint 2007 2010 Customization for the Site Owner, SharePoint 2010 Security for the Site OwnerTuesday, October 11, 2016 10:25 PM -
Here is what i discovered in the ULS log
Applying web template '{09D700D6-0F3A-4437-BB1C-BC12EC4D48FD}#ProjectSiteTemplate_v8' on web url 'http://projects.coatings.com/GPB/radix2' 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.14 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 85m7 Medium Actual web template to apply to Url 'http://projects.coatings.com/GPB/radix2' is 'STS#0' 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.16 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General cf0v Medium Setting UIVersionConfigurationEnabled to 'False' on web url 'http://projects.coatings.com/GPB/radix2' 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.17 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 72h7 Medium Applying template "STS#0" to web at URL "http://projects.coatings.com/GPB/radix2". 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.38 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1c Medium Preparing 32 features for activation 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.39 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1d Medium Feature Activation: Batch Activating Features at URL http://projects.coatings.com/GPB/radix2 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'BizAppsListTemplates' (ID: '065c78be-5231-477e-a972-14177cc5b3c7'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668'), 'PremiumWeb' (ID: '0806d127-06e6-447a-980e-2e90b03101b8'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'ReportListTemplate' (ID: '2510d73f-7109-4ccc-8a1c-314894deeb3a'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40f... 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.39* w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1d Medium ...f0b8a81'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8'), 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047... 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.39* w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1d Medium ...ac750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DataConnectionLibrary' (ID: '00bfea71-dbd7-4f72-b8cb-da7ac0440130'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), . 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.47 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1f Medium Feature Activation: Batch Activated Features at URL http://projects.coatings.com/GPB/radix2 'WikiPageHomePage' (ID: '00bfea71-d8fe-4fec-8dad-01c19a6e4053'), 'WebPageLibrary' (ID: '00bfea71-c796-4402-9f2f-0eb9a6e71b18'), 'BizAppsListTemplates' (ID: '065c78be-5231-477e-a972-14177cc5b3c7'), 'IssuesList' (ID: '00bfea71-5932-4f9c-ad71-1557e5751100'), 'MetaDataNav' (ID: '7201d6a4-a5d3-49a1-8c19-19c4bac6e668'), 'PremiumWeb' (ID: '0806d127-06e6-447a-980e-2e90b03101b8'), 'WorkflowHistoryList' (ID: '00bfea71-4ea5-48d4-a4ad-305cf7030140'), 'ReportListTemplate' (ID: '2510d73f-7109-4ccc-8a1c-314894deeb3a'), 'NoCodeWorkflowLibrary' (ID: '00bfea71-f600-43f6-a895-40c0de7b0117'), 'SurveysList' (ID: '00bfea71-eb8a-40b1-80c7-506be7590102'), 'RelatedLinksScopeSettingsLink' (ID: 'e8734bb6-be8e-48a1-b036-5a40ff... 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.47* w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1f Medium ...0b8a81'), 'GridList' (ID: '00bfea71-3a1d-41d3-a0ee-651d11570120'), 'GanttTasksList' (ID: '00bfea71-513d-4ca0-96c2-6a47775c0119'), 'SlideLibrary' (ID: '0be49fe9-9bc9-409d-abf9-702753bd878d'), 'LinksList' (ID: '00bfea71-2062-426c-90bf-714c59600103'), 'MobilityRedirect' (ID: 'f41cc668-37e5-4743-b4a8-74d1db3fd8a4'), 'workflowProcessList' (ID: '00bfea71-2d77-4a75-9fca-76516689e21a'), 'TasksList' (ID: '00bfea71-a83e-497e-9ba0-7a5c597d0107'), 'TeamCollab' (ID: '00bfea71-4ea5-48d4-a4ad-7ea5c011abe5'), 'BaseWeb' (ID: '99fe402e-89a0-45aa-9163-85342e865dc8'), 'AnnouncementsList' (ID: '00bfea71-d1ce-42de-9c63-a44004ce0104'), 'ObaSimpleSolution' (ID: 'd250636f-0a26-4019-8425-a5232d592c01'), 'PictureLibrary' (ID: '00bfea71-52d4-45b3-b544-b1c71b620109'), 'ContactsList' (ID: '00bfea71-7e6d-4186-9ba8-c047a... 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.47* w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8l1f Medium ...c750105'), 'CustomList' (ID: '00bfea71-de22-43b2-a848-c05709900100'), 'DocumentLibrary' (ID: '00bfea71-e717-4e80-aa17-d0c71b360101'), 'DiscussionsList' (ID: '00bfea71-6a49-43fa-b535-d15c05500108'), 'DataSourceLibrary' (ID: '00bfea71-f381-423d-b9d1-da7a54c50110'), 'DataConnectionLibrary' (ID: '00bfea71-dbd7-4f72-b8cb-da7ac0440130'), 'ExternalList' (ID: '00bfea71-9549-43f8-b978-e47e54a10600'), 'EventsList' (ID: '00bfea71-ec85-4903-972d-ebe475780106'), 'XmlFormLibrary' (ID: '00bfea71-1e1d-4562-b56a-f05371bb0115'), . 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.47 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'ProjectSiteTemplate_v8ListInstances' (ID: '057bb171-2bf2-48de-b071-8de308132739') at URL http://projects.coatings.com/GPB/radix2. 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:05.58 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation Template Cache g09v Medium Caching global fields. 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.25 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8kh7 High <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.41 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: _catalogs/masterpage). Execution Time=657.7911 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.87 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.92 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (List Creation: Closure). Execution Time=504.8297 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.92 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation Feature Infrastructure 889w High The element of type 'ListInstance' for feature 'ProjectSiteTemplate_v8ListInstances' (id: 057bb171-2bf2-48de-b071-8de308132739) threw an exception during activation: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.94 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back. Feature 'ProjectSiteTemplate_v8ListInstances' (ID: '057bb171-2bf2-48de-b071-8de308132739'). Exception: System.UnauthorizedAccessException: AccessNikola_Macedonia
Wednesday, October 12, 2016 9:42 AM -
Please have a look on similar post:
Ref: https://social.technet.microsoft.com/Forums/en-US/fc8a7500-eacb-4653-9b26-6fb9c581b9f6/access-denied-while-creating-a-sharepoint-site-by-site-owners?forum=sharepointgeneralprevious
Mahi
Please Mark as answer if found useful :)
Wednesday, October 12, 2016 9:48 AM -
I checked the permissions on the site owners on the solutions gallery and they have full control rights on the solution gallery as well. And yes, they can create subsites with Team site template.
The version in SharePoint 2010.
Nikola_Macedonia
Wednesday, October 12, 2016 9:50 AM -
I went in Central administration site, and in the web application user policy i provided full read rights to the site owners and now they are able to create subsites.
So, from security side this is not so good, but currently it's the only way for the site owners to create subsites with that specific template.
Before adding the site owners in web app user policy, like temporary solution i used the top level site collection admins group and they could create subsites only as site collection administrators.
Nikola_Macedonia
Wednesday, October 12, 2016 3:54 PM -
Providing the users with rights via web app user policy is not exactly permanent fix for this issue, but after hours and days spent googling and investigating i didn't find clear explanation about the root cause for this behavior and permanent solution as well.
So, for now the easiest workaround is giving full read rights in the web application user policy settings, and similar fix was also used in Mahi's proposed post: https://social.technet.microsoft.com/Forums/en-US/fc8a7500-eacb-4653-9b26-6fb9c581b9f6/access-denied-while-creating-a-sharepoint-site-by-site-owners?forum=sharepointgeneralprevious
Thank you all for your help
P.S If somebody has permanent fix for this issue please share it with us
Nikola_Macedonia
Wednesday, October 12, 2016 6:27 PM -
> giving full read rights in the web application user policy settings
Obviously not the best option.
What kind of a template is this? I think we have been talking about a "save site as template' stored in the Template gallery, and not a Site Definition stored in the 12 or 14 hives.
I see two things in the log that might be related:
- _catalogs/masterpage - Was your master page modified lately? Is it checked in and published?
- ProjectSiteTemplate_v8ListInstances - (This may be an autocreated feature that was created with the template.) Are there any custom list
features that have been changed recently? (But all of the listed features look like out of the box features.)
Mike Smith TechTrainingNotes.blogspot.com
Books: SharePoint 2007 2010 Customization for the Site Owner, SharePoint 2010 Security for the Site OwnerThursday, October 13, 2016 9:23 PM -
Hi Nik,
This is what I could see in logs
Monitoring b4ly High Leaving Monitored Scope (List Creation: _catalogs/masterpage). Execution Time=657.7911 4232ee49-1b32-425b-a706-32574ead39b0
w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 8kh7 High <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. 4232ee49-1b32-425b-a706-32574ead39b0
General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.92 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation Feature Infrastructure 889w High The element of type 'ListInstance' for feature 'ProjectSiteTemplate_v8ListInstances' (id: 057bb171-2bf2-48de-b071-8de308132739) threw an exception during activation: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 4232ee49-1b32-425b-a706-32574ead39b0
10/07/2016 09:09:06.94 w3wp.exe (0x27A4) 0x1CF0 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back. Feature 'ProjectSiteTemplate_v8ListInstances' (ID: '057bb171-2bf2-48de-b071-8de308132739'). Exception: System.UnauthorizedAccessException: AccessPossible reasons could be
1. Master page has been edited , but not approved, published or not checkedIn
2. Permissions on master page gallery has been edited. please check and adjust as per standard.
3. Check above see if it resolves, if not, then try to take logs again and let me know if there are any feature errors.
Best Regards, A-Yadala Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.
Friday, October 14, 2016 11:17 AM