locked
Error creating PWA site RRS feed

  • Question

  • Hello,

    I installed Project Server 2010 on our Sharepoint 2010 server and we are running into an issue with it creating the PWA site.  In the application event viewer, we are seeing the following errors:

    Failed to provision site pwa with error: Microsoft.SharePoint.SPException: The template you have chosen is invalid or cannot be found. ---> System.Runtime.InteropServices.COMException (0x81071E44): <nativehr>0x81071e44</nativehr><nativestack></nativestack>The template you have chosen is invalid or cannot be found.

    at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)

    at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, 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, String& bstrWebTemplate, Int32& plWebTemplateId)

    at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)

    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)

    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)

    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)

    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateWSSSite(ProjectProvisionSettings provset, SPWebApplication parentWebApp, String adminName, String adminEmail, String secondaryAdminLogin, String secondaryAdminName, String secondaryAdminEmail, SPSiteStatus& siteStatus)

     

     

    AND

     

    Provisioning 'pwa': Failed to create WSS site. Exception 'Microsoft.SharePoint.SPException: The template you have chosen is invalid or cannot be found. ---> System.Runtime.InteropServices.COMException (0x81071E44): <nativehr>0x81071e44</nativehr><nativestack></nativestack>The template you have chosen is invalid or cannot be found.

    at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)

    at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, 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, String& bstrWebTemplate, Int32& plWebTemplateId)

    at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)

    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPContentDatabase database, SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, String quotaTemplate, String sscRootWebUrl, Boolean useHostHeaderAsSiteName)

    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteSubscription siteSubscription, String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)

    at Microsoft.SharePoint.Administration.SPSiteCollection.Add(String siteUrl, String title, String description, UInt32 nLCID, String webTemplate, String ownerLogin, String ownerName, String ownerEmail, String secondaryContactLogin, String secondaryContactName, String secondaryContactEmail, Boolean useHostHeaderAsSiteName)

    at Microsoft.Office.Project.Server.Administration.PsiServiceApplication.CreateWSSSite(ProjectProvisionSettings provset, SPWebApplication parentWebApp, String adminName, String adminEmail, String secondaryAdminLogin, String secondaryAdminName, String secondaryAdminEmail, SPSiteStatus& siteStatus)'.

     

    I have tried going into the "Project Server Service Application" and I clicked "Retry", but it still won't create the PWA site.  Any ideas are greatly appreciated since there is not much information on this error since both products are still in beta form.

    Thanks in advance!

    Wednesday, April 21, 2010 6:24 PM

Answers

  • Hello Redoplh,

    Make sure that the SharePoint services account has rights to create a database on the SQL Server.  I usually use an account called FarmAdmin, for creating and managing the sharepoint site collections. Check the installation notes, but I believe the account needs server roles  dbcreator and sysadmin.

    Michael Wharton, MBA, PMP, MCT


    Sincerely, Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA www.WhartonComputer.com
    Thursday, April 22, 2010 1:49 AM

All replies

  • Hello Redoplh,

    Make sure that the SharePoint services account has rights to create a database on the SQL Server.  I usually use an account called FarmAdmin, for creating and managing the sharepoint site collections. Check the installation notes, but I believe the account needs server roles  dbcreator and sysadmin.

    Michael Wharton, MBA, PMP, MCT


    Sincerely, Michael Wharton, MBA, PMP, MCT, MCSD, MCSE+I, MCDBA www.WhartonComputer.com
    Thursday, April 22, 2010 1:49 AM
  • I'm curious as to what your installation steps were. Have you tried running SharePoint Technologies configuration wizard? Does that resolve the issue?
    Gary Chefetz, MCITP, MCP, MVP msProjectExperts
    Project and Project ServerFAQs
    Project Server Help BLOG
    Thursday, April 22, 2010 1:07 PM
  • Redolphn:

    We haven't heard back from you, so I'm assuming that you got past this problem, so I am marking the thread as answered. Please re-open it if you wish to continue the discussion.


    Gary Chefetz, MCITP, MCP, MVP msProjectExperts
    Project and Project ServerFAQs
    Project Server Help BLOG
    Wednesday, April 28, 2010 1:24 PM