PSI Prj2007 Create/Update CalendarExceptions

W

winnes

Getting :
"System.Web.Services.Protocols.SoapException: ProjectServerError(s)
LastError=13018 Instructions: Pass this into PSClientError constructor to
access all error information\n at
Microsoft.Office.Project.Server.WebService.Calendar.UpdateCalendars(CalendarDataSet calendarDataSet, Boolean validateOnly, Boolean autoCheckIn)"
When I try:

WebSvcCalendar.ReadCalendars()
NewCalendarExceptionsRow()
assign different columns with values
AddCalendarExceptionsRow()
Either UpdateCalendars() or CreateCalendars()

Found nothing on this errorcode...
 
S

Stephen Sanderlin [MVP]

You need to do what the error says and pass it through the PSClientError
constructor to extract the real error code. Samples are available in the
SDK.

--
Stephen Sanderlin, Project MVP
VP of Technology
MSProjectExperts

For Project Server Consulting: http://www.msprojectexperts.com
For Project Server Training: http://www.projectservertraining.com

Read our blog at: http://www.projectserverhelp.com

Learn | Connect | Grow @ The Microsoft Project Conference
Phoenix, AZ - September 14-17, 2009
 
W

winnes

Thanks Stephen,

In the meantime, that's what I did... turned out I needed to provide a
suitable filter for ReadCalendars()... now sorting out all different
combinations for calendar exceptions...
 
F

faisal

Hi,

How is it possible to pass the exception to PSClientError class and get
the real error code ?. I did exactly as described by the SDK. the exception
is passed as constructor to the PSClientError class but still what i get is
just a number that is Last Error : 13018 and again it says that in order to
get all the error pass this exception to PSClientError class.

Can anyone help me in this regards ?

Waiting for your replies. thanks

faisal
 

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