none
ProjectServerError(s) LastError=ProjectDoesNotExist - Project Server 2010 RRS feed

  • Question

  • We have an application that builds projects via the psi web services. The application:

    1. Deletes the existing project if it exists

    2. Creates a new project from a template

    3. Adds tasks

    4. Publishes and checks in

    Everthing has been working perfectly in our dev and test systems but on our production system the process dies with the following error:

    ProjectServerError(s) LastError=ProjectDoesNotExist Instructions: Pass this into PSClientError constructor to access all error information (Fault Detail is equal to SvcProject.ServerExecutionFault).

    Our code is designed to handle the fact that a project might not exist when attempting to delete, so this error should never kill our process (and it doesn't in our other environments). So it must be something environmental. 

    Any ideas if there is a environmental setting that could be causing this error to kill our project generation process?

    This is what I see in the ULS logs, no errors:

    • PWA:http://*****/PWA, ServiceApp:Project Server Application, User:*****, PSI: Start checkout of project 'a550fb68-161a-4a24-b5a3-02b95f469f64' by resource 'c8434eff-da3a-477a-9333-b3e2b67fb690' to store 'WorkingStore'.
    • request channel state after Close(): Closed

    Edit. Project server was returning the guid for the archive database and this was causing the error when trying to delete.


    Wednesday, January 20, 2016 3:23 PM

All replies

  • Facing same issue in Project Server 2013 on-Premise while project project creation custom page..

    System.Web.Services.Protocols.SoapException: ProjectServerError(s) LastError=ProjectDoesNotExist Instructions: Pass this into PSClientError constructor to access all error information
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at SvcProject.Project.CheckOutProject(Guid projectUid, Guid sessionUid, String sessionDescription)
       at EPMCreatePage.VisualWebPart1.VisualWebPart1.ProCreate_Click(Object sender, EventArgs e)


    sandeep


    Monday, October 24, 2016 8:55 AM