Sharepoint 2010, I'm using the project web service to publish projects (the QueuePublish method). On one of the installations, projects aren't published properly. Managers approve users time reports and the code is running but these reports aren't published. The data is published only when the projects' owners manually publish the projects. The server holds projects upgraded from 2003 version.
The method call is under try-catch but there are not exceptions.
This is how I call the method:
proj.QueuePublish(jobId, projUID, true,wssURL);
Any idea why I get this behavior?
2012年4月5日 0:19所有者It should work, have you debugged your code in a live environment? Not sure how your custom code runs but please note since SP1 you can create auto-publish rules and hence your customer code might not be needed.
I didn't debug the code as Its on customer site which I don't have access to yet. Regarding the auto-publish of SP1, I have additional rules to apply before the publish so I do need my code.
Yes I'm checking and running this method on checked in projects.