Access authorisation failed calling the ReadCalendars() PSI web me

M

Melt16

I am connecting to my Project Server 2007 server.

I am accessing the PSI web methods, Project.ReadProjectList() and
Calendar.ReadCalendars().

Is there any reason why ReadProjectList() allows me access, but then returns
404 not found, while ReadCalendars() returns request failed with HTTP status
401: Unauthorized.

Just wondering why I would receive two different error messages calling two
different web servers.

Thanks
 
R

Ray McCoppin

If you read the SDK documentation it will tell you the permissions needed to
access this methods. For example:

ReadProjectStatus should be used to get a list of projects. ReadProjectList
is intended for use with administrative utilities and requires a high level
of permissions.

ReadProjectList() requires Manage the Queuing Service. Global permission.
and Manage security settings. Global Permission.


ReadCalendars() requires Manage enterprise calendars. Global permission.

You may not have these permissions.


Hope this helps
--
Ray McCoppin

http://www.randsmanagement.com
Project Server 2007 Automation Tools
Project Server 2007 Archive Tool
SRS gantt charts
 

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