Problems to get list of project with PDS

A

Asim Qazi

Hi All
I am new to Project Professional and Server 2003
I had successfully installed both of them and made two test projects and
successfully published them to server, i can see them in MSP_WEB_PROJECTS
with id 2 and 3 respectively, I am using PDSTest.net sample to get the
project details

if i request this to server, it replies with all the details of Project
status

<Request>
<ProjectsStatus>
<ProjectID>3</ProjectID>
</ProjectsStatus>
</Request>


what should I request Project Server to get list of all projects , I am
logined with Administrator account.

Qazi.
 
A

Asim Qazi

As u told me and also after looking this in PDS refrence

i requested

<Request>
<ProjectsStatus>
</ProjectsStatus>
</Request>

with Administrator account. but i got this reply with no projects detauils

<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Administrator</UserName>
<ProjectsStatus />
</Reply>

Qazi Asim
 
J

Jim Corbin [MSFT]

The parameters to ProjectsStatus are just filters for data the method
returns. You say you get project details when you use
<ProjectID>3</ProjectID>
.... but no project details when that parameter is removed -- using the same
administrator logon? If that is the case, it is very strange.

For testing these things, it is useful to install the sample database,
available on the Project Server 2003 installation CD. When I run
ProjectsStatus with no parameters on the sample, I get the following:
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Administrator</UserName>
<ProjectsStatus>
<Project>
<ProjectID>5</ProjectID>
<ProjectName>16 Exabyte Desktop Drive.Published</ProjectName>
<ProjectType>0</ProjectType>
<ProjectPrefix>&lt;&gt;\16 Exabyte Desktop
Drive</ProjectPrefix>
<ProjectVersion>Published</ProjectVersion>
<ProjectCheckedout>1</ProjectCheckedout>
<ProjectCheckedoutUser>Jim Corbin</ProjectCheckedoutUser>
<Access>1</Access>
<ProjectUserWrite>1</ProjectUserWrite>
<LastModified>20040325134600</LastModified>
<ReplyStatus>0</ReplyStatus>
</Project>
<Project>
<ProjectID>6</ProjectID>
<ProjectName>16 Exabyte Desktop Drive.Target</ProjectName>
<ProjectType>0</ProjectType>
. . .
and so on, for all of the projects in the sample db.
 
A

Asim Qazi

Hi Jim Corbin
the problem was on my end i did not Published them in Enterprise mode,
thats y i was unable to see them in MSP_Projects table, no its working fine
thanks for u help, i will be back if i got some other problems. thankx a lot

Qazi Asim




Jim Corbin said:
The parameters to ProjectsStatus are just filters for data the method
returns. You say you get project details when you use
<ProjectID>3</ProjectID>
... but no project details when that parameter is removed -- using the same
administrator logon? If that is the case, it is very strange.

For testing these things, it is useful to install the sample database,
available on the Project Server 2003 installation CD. When I run
ProjectsStatus with no parameters on the sample, I get the following:
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Administrator</UserName>
<ProjectsStatus>
<Project>
<ProjectID>5</ProjectID>
<ProjectName>16 Exabyte Desktop
 

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