none
Error ID 7952: PSI Auth: Username 'Domain\username' passed in is not valid is project database. RRS feed

  • Question

  • Hello,

    I have a setup of Project Server 2007 and SQL Server 2005.

    Few days back I have developed an EventHandler on TaskSubmitted event to Auto Approve the task updates and for approving the tasks I am using Impersonation to impersonate with Satus Manager.

    But whenever there is bulk update of tasks(80+)(can say Submit All), I see following errors together in my event logs.

    Error ID 7952 PSI Auth: Username 'Domain\username' passed in is not valid is project database.

    And

    Error ID 1033 The request failed with HTTP status 401: Unauthorized.Log on, or check the Project Server Queuing Service

    And At last below

    Event Type:    Error
    Event Source:    Office SharePoint Server
    Event Category:    (1163)
    Event ID:    6663
    Date:        07/18/2012
    Time:        2:27:01 AM
    User:        N/A
    Computer:    -------------------
    Description:
     Facilitator_Automation.FacAuto, The request failed with HTTP status 401: Unauthorized.,    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 Facilitator_Automation.Statusing.QueueApplyStatusApprovals(Guid jobID, String comment) in C:-------------------\Projects\StatusingProxy.cs:line 391
       at Facilitator_Automation.FacAuto.ApplyTaskUpdate(String ProjName) in         C---------------------\Projects\FacAuto.cs:line 188
       at Facilitator_Automation.FacAuto.OnStatusSubmitted(PSContextInfo contextInfo, StatusSubmitPostEventArgs e) in C---------------------\Projects\FacAuto.cs:line 170.

    But when there is Submit Selected can say 10-15 tasks max, then Event Handler is executing perefectly fine

    Here not able to find what goes wrong when there is bulk updates from user, why some-time application does not auto approve the tasks?

    So please share some thoughts on the same and let me know in case need further information

    Thanks in advance





    Sachin Vashishth MCTS

    Thursday, July 19, 2012 10:26 AM

All replies