![]() |
| |||
| Hi, I'm new to this forum. Ok, in this moment I think everybody is new to this place . I got a problem with adding tasks to an existing project using PSI. I use the AddPositionType.Middle and set the "AddAfterTaskUID" to a correct value. All works fine, if adding only a few task, but, if I try to add more tasks, say about 40, I get the queue error "TaskUnableToInsert". if tried lots of things, like: QueueAddToProject in small blocks (after 1,2,5,10,900 tasks added to the update dataset) QueueAddToProject, then wait for jobdone state. and other debugging thinks, but none of them works ... Here is some code: PHP Code: PHP Code: ![]() ![]() |
| Sponsored links |
| |
| ||||
| Welcome to the Forum! Can you provide the full detail from the Queue error?
__________________ Stephen Sanderlin Founder/Owner - EPMFAQ VP of Technology - MSProjectExperts Microsoft Project MVP If you found this message useful, please click the Thanks button in the post! This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly. |
| |||
| Yes, for sure. Here it is. I add tasks in blocks of ten with calling "queueAddToProject", then wait for job complete state from the queue system, then I read the project dataset again. After 3 to 4 updates I get this error: PHP Code: |
| ||||
| Quote:
What version of Project Server 2007 are you working with?
__________________ Stephen Sanderlin Founder/Owner - EPMFAQ VP of Technology - MSProjectExperts Microsoft Project MVP If you found this message useful, please click the Thanks button in the post! This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly. |
| |||
| I solved it! Install the post service pack 1 hotfix (kb941426) and all goes well ... thanks to Heiner Eichmann. |
| ||||
| Quote:
Thanks for letting us know!
__________________ Stephen Sanderlin Founder/Owner - EPMFAQ VP of Technology - MSProjectExperts Microsoft Project MVP If you found this message useful, please click the Thanks button in the post! This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|