ReadResources and BaseCalendarUniqueIdColumn

  • Thread starter Volkhard VV. Vogeler
  • Start date
V

Volkhard VV. Vogeler

Hello,

i have the following Code for an Project Server 2007 application:

ResourceDataSet dsRes=new ResourceDataSet();
filter.FilterTableName = dsRes.Tables[0].TableName;
filter.Fields.Add(new
Filter.Field(dsRes.Resources.WRES_ACCOUNTColumn.ColumnName));
// filter.Fields.Add(new
Filter.Field(dsRes.Resources.BaseCalendarUniqueIdColumn.ColumnName));
dsRes = Resource.ReadResources(url, filter.GetXml());

with Resource.ReadResources implemented as following:

public static ResourceDataSet ReadResources(string url, string
filter)
{
PSResources.Resource resource = new
PSUtils.PSResources.Resource();
ResourceDataSet result;
resource.Url=url+privateUrl ;
resource.Credentials = CredentialCache.DefaultCredentials;
result = resource.ReadResources(filter, false);
return result;
}

Zhis code works well.
If the field BaseCalendarUniqueIdColumn is added to the filter, then an
SoapException occurs, which i translated with PSClientError to an
GeneralUnhandledException with ErrUid={5c4e748d-220a-416a-8d21-8b8f9ed8fedb}


can anyone help?

best regards

Volkhard
 
P

Paul Conroy

Volkhard, you're better off posting this question in the Project Developer
forum.

Paul
 

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