Unauthorized Error while creating Project Plan using PSI's method CreateProjectFromTemplate RRS feed

  • Question

  • Our requirement is create new project plan from a SharePoint webpart. The new project plan is created from template using the using PSI’s method ‘CreateProjectFromTemplate’. The webpart created is doing the same, but it is not working when any other logged in user, not having admin rights tries to create a new project plan. The error it throws is “GeneralSecurityAccessDenied”. To resolve the issue we tried to impersonate the Project web service, still it is not able to create a new project using template and now it is giving another error i.e. “401 Unauthorized”.

    Also, instead of using Default Credentials when the credentials of logged in user are supplied using network credentials, the user
    is able to create the project plan without any error.

    What could be the possible reason for the error? Any help in this regard would be greatly appreciated.



    Tuesday, May 24, 2011 10:01 AM