Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

How to complete a transaction in Project Server 2010?

$
0
0

Hello,

we're running Project Server 2010 and submitted actual work for a specific assignment via a StatusingClient using the methods UpdateStatus() and SubmitStatusForResource(), which works well. 

Lately, however we discovered a message box while opening some of our projects in Project Professional saying something like:

"There are updates for this project. Would you like to close it and apply those updates?"

When we click on "yes", the Project client closes and nothing happens (verified by SQL Profiler). When clicking on "no" we can open and edit the project as before, but the message box turns up again at the next start.

Further research with the SQL Profiler took me to understand why this message box shows up. The program executes the MSP_WEB_SP_QRY_ReadTransactionsForProject stored procedure in the published database. This returns an open transaction as stored in the MSP_ASSIGNMENT_TRANSACTIONS table of the published database. Now this transaction has ASSN_TRANS_STATE_ENUM = 2, which means (according to Project SDK) "inProcess". 

I already tried to change this property via PSI (statusing client -> ReadStatusApprovalsInProcess()) but that does not work for me since I'm not the owner of this assignment.

Additionally, when initially submitting the status update via PSI, the server log shows "OK", so there weren't any problems at this point. There were 6 more status updates which went through pretty well. Also, the project server queue has no entry for this project and the user's approval center is empty.

Why is this task update still in procress? How can I force it to reenter the queue? I don't want to set the ASSN_TRANS_STATE_ENUM via SQL manually on "3" since I'm not aware of any consequences.

Thank you for your help! Happy Easter holidays.. Tom


Viewing all articles
Browse latest Browse all 5347

Trending Articles