Opening an Enterprise Project using COM

C

Cory K. Walker

I'm having trouble programmatically opening an enterprise project with
Project Professional 2003 directly from Project Server 2003. The problem is
caused by Project Professional not recognizing the custom entperprise fields
and outline codes.

Examining the "FileOpen" method of the "Application" object, I see that it
is possible to open a project directly from a file or from a database.

So, I created a DSN that points right to the Project Server database and
opened it with the following line of code:

Application.FileOpen "<project-dsn>\My Project.Published"

The projects opens without an error. However, the enterprise fields and
codes do not appear in the "Project Information" list when selected. This is
verified when I try to publish all information using "PublishAllInformation,"
returning an error message similar to "Can not publish a non-enterprise
project to the server. " I have verified that users do have permissions to
publish non-enterprise projects.

I need to know if there is a special syntax for opening enteprise projects
directly from the Project Server using the "FileOpen" method, or if there
exists a special open method.
 

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