locked
Consuming the ProjectServer.svc RRS feed

  • Question

  • Hi,

    I'm following (with some changes to fit to my needs) the "Walkthrough: Developing PSI Applications Using WCF article (http://msdn.microsoft.com/en-us/library/ee767691.aspx#pj14_DevelopingUsingWCF_ConsoleApp) trying to use the project 2010 psi. I'm at procedure 3 stage testing the application. When I call a method (in my case the "

    GetProjectNameFromProjectUid" I'm getting the following execption:

    "Unhandled Communication Fault occurred". The application event log shows the following error:

    "Failed to get language information for Project Server "

    I'm pretty new to wcf so I have no idea what is wrong and googling didn't help much either.

    Can any one help please?


    Id
    Saturday, July 17, 2010 7:49 PM

Answers

  • Got it.

    I don't know why but the enum backendproject.datastoreenum.reportingstore is the one causing the problem

    guid projuid =

     

    new guid("31b50902bc474759a4cd08d549805500");

     

     

    string projname = projectclient.getprojectnamefromprojectuid(projuid, backendproject.datastoreenum.reportingstore);

    I tried other functions and they do work.

     

     

     


    Id
    • Marked as answer by Dharm Patel Wednesday, July 21, 2010 8:28 AM
    Sunday, July 18, 2010 5:40 PM