I'm trying to create a scheduled task that updates less than 5% of the tasks on project server but am having a problem with the ReadProject method taking way too long to complete;
Essentially because this is happening over web services a gigantic 200MB xml file is generated to represent the task data which is then only converted back to objects; The call can take up to 2 minutes to run.
I've had a poke around in the database and can get at the data I need with a quick query and get the data back in a reported 0ms (probably somewhere between 0 and 16ms ?); however; I do need to update some of the task data's custom fields and I'd rather not do this via the database unless I have to.
Are there any better ways to access projects; return only a specific set of tasks; update those and check them back into the project?
Many thanks in advance, Chris