MS Project opens a project from the server in read only

A

Alex

We are using “Microsoft Project Server 2007†and “Microsoft Project
Professional Client 2007â€.The code we are writing is in C# using “Microsoft
Visual Studio 2008â€.

Most of the work is done in PSI but the connecting project to master project
and adding some dependencies is done in VBA/OLE Automation code (All in
C#.NET).
What we are doing in general is opening a master project with the action
app.FileOpenEx()
then we are adding all the sub projects with the action
app.ConsolidateProjects
And in the end we are finishing with those actions
app.FileSave();WaitForJob();
app.Publish();WaitForJob();
app.FileCloseEx();WaitForJob();

The action WaitForJob is added for sync, cose the code keeps on running
while the server jobs are on the queue, and that is why we are waiting for
the jobs to finish before any action.

All this code does the job correctly and the master project is checked in
along with all the sub projects. But, afterwards when I’m opening the project
again with the same action

app.FileOpenEx();

the project for some reason is opened in readonly mode ( without any dialong
about it ) and when it try to save it opens a dialog “Save To Project†that
lets me save only to a new project co’s the current project is asumed to be
checked out by another user (me).
And I did checked it in the server’s setting the project was checked out by
me ( currently I’m the only user so there is no posible way of it to be
checked out by another user )

I’ve also tried the same action manually directly on the Project
Professional and I got the same result, after closing the project, I tried to
open it and it was opened in read only, unable to save any modification been
done to the project.

I did all updates required for the server and also for the client, but still
the problem occurs.
What can be the cause for this and how can I fix this?
 
D

Dale Howard [MVP]

Alex --

You might want to repost this message in the
microsoft.public.project.developer newsgroup and let your software developer
friends try to help you solve your problem. Hope this helps.
 
A

Alex

Dale,

Thanks for advice.

Dale Howard said:
Alex --

You might want to repost this message in the
microsoft.public.project.developer newsgroup and let your software developer
friends try to help you solve your problem. Hope this helps.
 

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