H
Hugues Perron
Hi all,
I've written an automation application that is quite simple.
get projectcs list (from PDS. About 200 projects)
open MSProject connecting to Project server
for each project
open the project
calculateAll
save the project
close the project
end for
Close MS Project
This application runs in background and start the update every days at a
specified time, or when the user starts it.
The problem is it runs perfectly for 3 to 4 times, then it becomes
erratic. In fact MS Projetct Get stuck (waiting for a user input when
nnormally it should not) during the save or during the close or generate
an exception (like unexpected error) during the update of some random
projects. When this happen, I have to restart MSProject and retry the
update for the project sometimes it works sometimes not. The worst is
that the more the application runs, the more it happens and on
different projects. After 10 or 11 runs, it fails almost for each
project. I have to reboot the server.
I thought it could have been a memory leak or something like that, but
even if I close and restart the application for each run, the same
problem occurs.
Thanks in advance for any help or suggestions
Hugues
I've written an automation application that is quite simple.
get projectcs list (from PDS. About 200 projects)
open MSProject connecting to Project server
for each project
open the project
calculateAll
save the project
close the project
end for
Close MS Project
This application runs in background and start the update every days at a
specified time, or when the user starts it.
The problem is it runs perfectly for 3 to 4 times, then it becomes
erratic. In fact MS Projetct Get stuck (waiting for a user input when
nnormally it should not) during the save or during the close or generate
an exception (like unexpected error) during the update of some random
projects. When this happen, I have to restart MSProject and retry the
update for the project sometimes it works sometimes not. The worst is
that the more the application runs, the more it happens and on
different projects. After 10 or 11 runs, it fails almost for each
project. I have to reboot the server.
I thought it could have been a memory leak or something like that, but
even if I close and restart the application for each run, the same
problem occurs.
Thanks in advance for any help or suggestions
Hugues