none
Project in My Queue JOb not displayed in project center in rpoject server 2010 RRS feed

  • Question

  • hello all...

    i have created console application in visual studio by following the below link..

    http://msdn.microsoft.com/en-us/library/aa568853.aspx

    the project give output that project saved successfully..

    i found the project in my queued jobs in this link..

    http://ServerName/ProjectServerName/MyJobs.aspx

    but i can not found this project in project center...

    Any suggestion for that??

    regards Kartik 

    Friday, February 24, 2012 2:39 PM

Answers

  • yes it is possible.

    The code you need to do this is inside the sample code for the ProjTool. You can download the VS project for ProjTool and you could find it there.


    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn

    Saturday, February 25, 2012 7:10 AM
    Moderator
  • Hey Karthik,

    You may need to open the code & find if you are using the Project.QueuePublish method, if the code doesn't have the method, You may need to use QueuePublish to move the project which is created but not published.
    http://msdn.microsoft.com/en-us/library/gg177147.aspx

    jobId = Guid.NewGuid();
                projectSvc.QueuePublish(jobId, projectId, true, String.Empty);
                WaitForQueue(q, jobId);


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Monday, February 27, 2012 6:38 AM

All replies

  • Hi Kartik,

    a project will only be displayed in Project Center after publishing, or better, when it was published at least once. Have you done this?

    Regards
    Barbara

    Friday, February 24, 2012 3:35 PM
    Moderator
  • hi Barbara..

    thanks for reply

    but from where i have to publish the project which is not in project center but only in the my queued job???

    what should i write for publishing the project which is in my queued job programmatically????

    Kartik

    Saturday, February 25, 2012 6:19 AM
  • Check out the ProjTool sample code here:

    http://msdn.microsoft.com/en-us/library/gg446880.aspx

    It should help you with the full range of accessing, updating and publishing of projects.


    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn

    Saturday, February 25, 2012 6:59 AM
    Moderator
  • hello Brian

    i have use this projTool to crate project and publish them but i want to know is there any way to publish my project from vs 2010 without using ProjTool.

    I want to know is it possible or not.

    Kartik

    • Proposed as answer by Amit Kasundra Wednesday, March 7, 2012 10:51 AM
    Saturday, February 25, 2012 7:08 AM
  • yes it is possible.

    The code you need to do this is inside the sample code for the ProjTool. You can download the VS project for ProjTool and you could find it there.


    Brian Kennemer – DeltaBahn Senior Architect
    endlessly obsessing about Project Server…so that you don’t have to.
    Blog | Twitter | LinkedIn

    Saturday, February 25, 2012 7:10 AM
    Moderator
  • Karthik, you can easily write a console application for the project creation\updation with visual studio...the easier method to use VS is refer the msdn post - http://msdn.microsoft.com/en-us/library/gg223766.aspx 

    Hope the above post helps and pl let me know for any further clarification...


    B Rajasekhar Reddy

    Sunday, February 26, 2012 6:31 PM
  • Hey Karthik,

    You may need to open the code & find if you are using the Project.QueuePublish method, if the code doesn't have the method, You may need to use QueuePublish to move the project which is created but not published.
    http://msdn.microsoft.com/en-us/library/gg177147.aspx

    jobId = Guid.NewGuid();
                projectSvc.QueuePublish(jobId, projectId, true, String.Empty);
                WaitForQueue(q, jobId);


    Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Monday, February 27, 2012 6:38 AM