Wednesday, 4 April 2012 7:42 PM
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?
Thursday, 5 April 2012 12:19 AMOwnerIt 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.
Thursday, 5 April 2012 8:00 PM
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.
Friday, 13 April 2012 12:46 PMModerator
Saturday, 14 April 2012 2:13 PM
Yes I'm checking and running this method on checked in projects.