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
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