none
GeneralQueueJobFailed after changing the project site URL RRS feed

  • Question

  • Hello! I can't publish project after unlinking a linked project site and linking it to another site.

    Given: Project Server 2013 and two projects inside one PWA.

    PWA were located at https://<projecturl>/PWA (and two projects inside it)

    Project1 was linked to project site:  https://<projecturl>/PWA/ProjectSite1

    Project2 was linked to project site:  https://<projecturl>/PWA/ProjectSite2

    I would like to Project2 being linked to ProjectSite1.

    So i went to Manage connected SharePoint sites page and: 

    • unlink ProjectSite1 from Project1 
    • unlink ProjectSite2 from Project2 
    • Then i changed the Project2 site URL to the new URL: PWA/ProjectSite1 (relative link).

    Everything seemed ok until i tried to publish Project2 (with newly linked ProjectSite1).

    On publishing i received error 26000:

    <errinfo>
      <general>
        <class name="Queue">
          <error id="26000" name="GeneralQueueJobFailed" uid="bffddefc-776d-e411-9452-005056825888" JobUID="f0b529bc-776d-e411-9452-005056825888" ComputerName="06edd070-7763-407a-89a7-b2aae272bd78" GroupType="PreparePSProjectPermissionSynchronization" MessageType="PreparePSProjectPermissionSynchronizationMessage" MessageId="1" Stage="" CorrelationUID="aea3cc9c-7c5a-401d-2bd7-838ad02bcf31" />
        </class>
      </general>
    </errinfo>

    I went to ULS and find that server can't sync Project permissions with my new ProjectSite1:

    Unable to find top level site associated with project site ProjectSite1 System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/ProjectSite1". at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal

    and that's more interesting, project triying to open this web from top-level site, not from my /PWA site:

    SPRequest.OpenWebInternal: UserPrincipalName=, AppPrincipalName= ,bstrUrl=https://<projecturl>/ProjectSite1

    (ProjectSite1 in fact located at  https://<projecturl>/PWA/ProjectSite1).

    Though i specified PWA/ProjectSite1 when link site to project and tested my new link, everything opened correctly.

    Where else i need to type new url to project site?



    • Edited by Lehus Sunday, November 16, 2014 10:40 AM
    Sunday, November 16, 2014 10:38 AM

All replies

  • That error message is a bit unusual...a couple questions:

    1) Are you sure you didn't try to move the site using PowerShell or some other method to extract it from the content db?  That would explain this error message.

    2) Reconfirm the site address in the manage linked page.  Run the sync from that page.


    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

    Sunday, November 16, 2014 2:55 PM
    Moderator
  • Thank you for reply, Andrew!

    Of course, i'm sure, i'm using GUI only, following article http://technet.microsoft.com/en-us/library/gg982977(v=office.15).aspx. Before this i tested procedure on my test projects and project sites, everything went smoothly with no errors at all.

    I'm already tried to change web URL, "rebind" this, manually run synchronize from the same page, still no luck..

    Also tried to find some clues in database: by looking in [dbo].[MSP_EpmProject] table i find strange that my old Project1 (MSP_EpmProject.ProjectName field) still "linked" at one row with ProjectSite1 (MSP_EpmProject.ProjectWorkspaceInternalHRef field).

    New Project2 also has ProjectSite2 url in MSP_EpmProject.ProjectWorkspaceInternalHRef field.

    May i manually clear (set to NULL) this field for Project1?

    Added: found same problem in another PWA with different project, whose site hasn't been changed or unlinked. So i think, this is common project server problem.. And probably bug arised after installing Sept2014 CU.

    But question still the same, how to solve it? :)


    • Edited by Lehus Monday, November 17, 2014 7:52 AM additional info
    Monday, November 17, 2014 3:28 AM
  • Hi,

    similar issue.
    after installing November 2014 CU 

    An unexpected exception occured while processing queue messages of type PreparePSProjectPermissionSynchronization System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named "/1726".    
     at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppInstanceId, String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime& pdtReminderDate, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, UInt64& pmaskDeny)    
     at Microsoft.SharePoint.Library.SPRequest.OpenWebInternal(String bstrUrl, Guid& pguidID, DateTime& pdtTimeCreated, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl, UInt32& pnLanguage, UInt32& pnLocale, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String& pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl, String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, Int32& plSiteFlags, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& plSiteSchemaMajorVersion, Int32& plSiteSchemaMinorVersion, Int32& plSiteSchemaBuildVersion, Int32& plSiteSchemaRevisionVersion, Int32& puiVersion, Int16& pnClientTag, Boolean& pfIsEvalSite, Guid& pgSourceSiteId, DateTime& pdtExpirationDate, Guid& pgEvalSiteId, Guid& pguidAppInstanceId, String& pbstrRemoteAppUrl, String& pbstrOAuthAppId, String& pbstrAppDatabaseName, Guid& pgAppDatabaseServerReferenceId, String& pbstrAppDatabaseTargetApplicationId, String& pbstrAppWebDomainId, Int32& plUpgradeFlags, DateTime& pdtReminderDate, DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, UInt64& pmaskDeny)    
     at Microsoft.SharePoint.SPWeb.InitWebPublic()    
     at Microsoft.SharePoint.SPWeb.get_AppInstanceId()    
     at Microsoft.SharePoint.SPWeb.get_Url()    
     at Microsoft.Office.Project.Server.BusinessLayer.SharePointSecurityHelper.TruncateGroupByName(SPWeb web, String groupName)    
     at Microsoft.Office.Project.Server.BusinessLayer.SharePointSecurityHelper.TruncateSPGroupByPermissionUID(SPWeb web, Guid feaActUid, String projName)    
     at Microsoft.Office.Project.Server.BusinessLayer.PSPermissionSynchronizer.TruncateSyncSensitiveGroupsForProject(IEnumerable`1 permissions, Guid projUid, String projSiteName, Guid projSiteId)    
     at Microsoft.Office.Project.Server.BusinessLayer.PSPermissionSynchronizer.SynchronizeProjectSites(SPWeb pwaWeb, Boolean async)    
     at Microsoft.Office.Project.Server.BusinessLayer.PSPermissionSynchronizer.<>c__DisplayClass1.<SynchronizeUsers>b__0()    
     at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
     at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)    
     at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
     at Microsoft.Office.Project.Server.BusinessLayer.PSPermissionSynchronizer.SynchronizeUsers(Boolean async)    
     at Microsoft.Office.Project.Server.BusinessLayer.PSPermissionSynchronizer.QueueSynchronizeUsers()    
     at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessPreparePSPermissionSynchronizationMessage.HandlePreparePSProjectPermissionSynchronizationMessage(PreparePSProjectPermissionSynchronizationMessage msg, MessageContext mContext)    
     at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessPreparePSPermissionSynchronizationMessage.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) StackTrace: 
     at Microsoft.Office.Project.Server.Native.dll: (sig=99d3985b-4d5d-40b7-b923-c3c9b89d0202|2|microsoft.office.project.server.native.pdb, offset=3C1E)
     at Microsoft.Office.Project.Server.Native.dll: (offset=1255D) 

    The Site Collection is missing

    path should be  /SC/1726

    in "Connected SharePoint Sites" i can see the correct path https://project.domain.com/SC/1726

    >"Synchronize" does not work



    • Edited by ProjectR Wednesday, December 17, 2014 8:09 PM
    Wednesday, December 17, 2014 3:49 PM