Hi,
in PROJECT SERVER 2013, after following the Prasanna Adavi posts on "Setting up an alert for Project Site Issue (and Risk) Alerts using SharePoint Designer Workflow" i've saved the site template.
If i create a site from the template the site creates correctly and workflow Issue Alert works fine. BUT if i add the new template in an EPT, when i create a new Project i receive error in ProjectSiteUpdate (Failedbutnot blocking) and the site failed to be created.
This is the error:
General•CreateWssSiteContent: Creating project site failed! Project Uid=6fc7f531-8ad7-e311-9415-005056ab29ed, site URL=https://project.companygroup.org/PWA/20140509-TestIssueAlert10, site name=20140509-TestIssueAlert10. System.Runtime.InteropServices.COMException
(0x8107058A): <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.SharePoint.SPException: We_re sorry, we weren_t able to complete the operation, please try again in a few minutes. If you see this message repeatedly,
contact your administrator. ---> System.Data.SqlClient.SqlException:
The EXECUTE permission was denied on the object _proc_AM_PutAppPrincipal_, database _App_Management_db8e4bc2-bb34-4cc7-be57-a3b620a3abc5_, schema _dbo_. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1
wrapClos at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate,
Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String&
bstrWebTemplate, Int32& plWebTemplateId)Microsoft.SharePoint.SPException: Microsoft.SharePoint.SPException: We_re sorry, we weren_t able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
---> System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object _proc_AM_PutAppPrincipal_, database _App_Management_db8e4bc2-bb34-4cc7-be57-a3b620a3abc5_, schema _dbo_. at System.Data.SqlClient.SqlConnection.OnError(SqlException
exception, Boolean breakConnection, Action`1 wrapClos ---> System.Runtime.InteropServices.COMException: <nativehr>0x8107058a</nativehr><nativestack></nativestack>Microsoft.SharePoint.SPException: We_re sorry, we weren_t able to complete
the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator. ---> System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object _proc_AM_PutAppPrincipal_, database _App_Management_db8e4bc2-bb34-4cc7-be57-a3b620a3abc5_,
schema _dbo_. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapClos at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb,
Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb,
Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String
bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate
webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate
webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) at Microsoft.SharePoint.SPSite.CreateWeb(String strUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate,
Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid webId, Guid rootFolderId, Boolean createSystemCatalogs, Guid appInstanceId, String appWebDomainId) at Microsoft.SharePoint.SPSite.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle,
String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId) at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String
strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId) at Microsoft.Office.Project.Server.BusinessLayer.AdminProjectSiteAllocator.CreateSPWeb(ProjectSiteConfigurationInfo configInfo, SPSite topSite):?WSSCreateSiteFailure
(16400). Details: id='16400' name='WSSCreateSiteFailure' uid='cb09143a-8ad7-e311-9415-005056ab29ed' projectUID='6fc7f531-8ad7-e311-9415-005056ab29ed' workspaceUrl='https://project.companygroup.org/PWA/20140509-TestIssueAlert10/20140509-TestIssueAlert10' projectWorkspaceName='20140509-TestIssueAlert10'.
•Queue:?GeneralQueueJobFailed (26000) - CreateWssSite.CreateWssSiteMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='cc09143a-8ad7-e311-9415-005056ab29ed' JobUID='bcc7f531-8ad7-e311-9415-005056ab29ed' ComputerName='4c7454d7-d6c8-42e7-a071-01921e89dbd5' GroupType='CreateWssSite' MessageType='CreateWssSiteMessage' MessageId='1' Stage='' CorrelationUID='9b3a8f9c-a1f4-e0a1-9dbd-59e8ea307386'. For more details, check the ULS logs on machine 4c7454d7-d6c8-42e7-a071-01921e89dbd5 for entries with JobUID bcc7f531-8ad7-e311-9415-005056ab29ed.
Can someone help me?
Regards
Daniele
Daniele