Code error

A

Adrian

Hello,

We are creating projects through XML code but we keep getting an error 1202
which is listed as rsProjectTaskNoWorkOnMilestone.

By definition we would not expect any work to be allocated to milestones in
a project so why would this error even be necessary ?

It prevents the project plan from being created correctly too...

Would anyone have a view on this ?

Thanks

Adrian
 
R

Rod Gill

The only thing I can think of is to carefully check all milestone tasks for
correct format and make sure that all other tasks have a duration>0 and no
Task is Milestone flag set.

To debug, try deleting the last half of the tasks in the xml file then
importing. Then try half of a half and so on until you get the culprit xml
code.

--

Rod Gill
Project MVP
Visit www.msproject-systems.com for Project Companion Tools and more

NEW!! Project VBA Book now in stock, for details visit:
www.projectvbabook.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top