none
PS 10 PSI / API - General Permissions Error when trying to update project information RRS feed

  • Question

  • Hello,

    We have a developer working to create an application which will write information from one database to our our Projects in Project Server 2010 using the SDK / PSI.

    I originally asked this same question in Partner support for Project... but was directed here.

    The account which the application will be using to access the projects using the PSI has been temporarily given full administrative rights (added to the Administrator group in PWA).

    The application can successfully check out the project file using the PSI... but the moment it tries to update any information, the following error comes up:

    <s:Body>
    <s:Fault>
    <faultcode>s:Server</faultcode>
    <faultstring xml:lang=\"en-US\">ProjectServerError(s) LastError=GeneralSecurityAccessDenied Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
    <detail>
    <errinfo>
    <general>
    <class name=\"Project\">
    <error id=\"20010\" name=\"GeneralSecurityAccessDenied\" uid=\"0105213a-a11e-4083-a1c7-01361a037e7f\"/>
    </class>
    </general>
    </errinfo>
    </detail>
    </s:Fault>
    </s:Body>

    </s:Envelope>

    ------

    This is the POST body according to the developer:

    <?xml version=\"1.0\" encoding=\"utf-8\"?>
    <soap:Body>
    <jobUid>334614F3-F0F0-4433-853F-1AD6E1EC35C6</jobUid>
    <sessionUid>0CAE912C-15AE-444A-AB5A-F6B1ABCA81ED</sessionUid>
    <dataset>
    <diffgr:diffgram xmlns:diffgr=\"urn:schemas-microsoft-com:xml-diffgram-v1\" xmlns:msdata=\"urn:schemas-microsoft-com:xml-msdata\">
    <ProjectDataSet xmlns=\"http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/\">\n    <TaskCustomFields diffgr:id=\"TaskCustomFields713\" msdata:rowOrder=\"712\">\n    <CUSTOM_FIELD_UID>54e2f79b-f017-4123-89d1-88ce854ed59a</CUSTOM_FIELD_UID>\n    <PROJ_UID>7c2fc8ac-1dde-4e28-a935-e620737b6879</PROJ_UID>\n    <TASK_UID>fbf058a3-1aad-496e-b2f2-4ff3231eeeeb</TASK_UID>\n    <MD_PROP_UID>488c7037-1205-46a8-8f69-f9617d5b43e2</MD_PROP_UID>\n    <MD_PROP_ID>188776472</MD_PROP_ID>\n    <FIELD_TYPE_ENUM>9</FIELD_TYPE_ENUM>\n    <NUM_VALUE>23000.000000</NUM_VALUE>\n    </TaskCustomFields>
    </ProjectDataSet>\n    </diffgr:diffgram>
    </dataset>
    <validateOnly>false</validateOnly>
    </QueueUpdateProject>
    </soap:Body>

    </soap:Envelope>

    Any help with this error please?

    Edit: We have verified that the account has permissions to check out / edit / save / publish in PWA.

    We have also tested this using the Farm Admin account... it provides the same error.


    Daniel E Crabtree

    Friday, September 28, 2012 8:15 PM

All replies

  • Daniel,

    have you been able to resolve this issue?

    I'm facing the same problem (although I'm updating a Task instead of TaskCustomFields)

    Thursday, June 6, 2013 2:20 PM