Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to join 2 string[] objects Pin
Chesnokov Yuriy1-Jul-10 0:41
professionalChesnokov Yuriy1-Jul-10 0:41 
AnswerRe: How to join 2 string[] objects Pin
Ravi Bhavnani2-Jul-10 4:58
professionalRavi Bhavnani2-Jul-10 4:58 
QuestionConvert 32-bit Bitmap file to 24-bit Pin
Ayman Kouzayha30-Jun-10 22:28
Ayman Kouzayha30-Jun-10 22:28 
QuestionRe: Convert 32-bit Bitmap file to 24-bit Pin
Ayman Kouzayha30-Jun-10 23:21
Ayman Kouzayha30-Jun-10 23:21 
QuestionOnShown event not always triggered Pin
Gonzalo Cao30-Jun-10 21:43
Gonzalo Cao30-Jun-10 21:43 
QuestionHow to Integrate Quick Book With VS08 Pin
kanchan112330-Jun-10 20:32
kanchan112330-Jun-10 20:32 
AnswerRe: How to Integrate Quick Book With VS08 Pin
Richard MacCutchan30-Jun-10 21:41
mveRichard MacCutchan30-Jun-10 21:41 
QuestionEWS attribute 'Value' missing.. ARGG Pin
Jacob Dixon30-Jun-10 9:47
Jacob Dixon30-Jun-10 9:47 
Exchange Web Services API

Well I just can't figure this out. I'm trying to pull a list of contacts located in public folders of exchange. I used this code before and it isn't work now.

String fpfolderPath = path;
Folder PfRoot = Folder.Bind(exh, WellKnownFolderName.PublicFoldersRoot);

String[] faFldArray = fpfolderPath.Split('/');
Folder tfTargetFolder = PfRoot;
for (int lint = 1; lint < faFldArray.Length; lint++)
{
    FolderView fview = new FolderView(1);
    SearchFilter sf = new SearchFilter.IsEqualTo(FolderSchema.DisplayName, faFldArray[lint]);
    FindFoldersResults ffResult = exh.FindFolders(tfTargetFolder.Id, sf, fview);
    if (ffResult.TotalCount == 0)
        tfTargetFolder = null;
    else
        tfTargetFolder = ffResult.Folders[0];
}


It fails here:
FindFoldersResults ffResult = exh.FindFolders(tfTargetFolder.Id, sf, fview);


With:
Exception Details: Microsoft.Exchange.WebServices.Data.ServiceResponseException: The request failed schema validation: The required attribute 'Value' is missing.


I've searched and searched google and came up with nothing. I did found an article talking about how Microsoft changes something from the RTM version and the SP1 version? I am running the latest Exchange 2007 and downloaded the latest Exchange Web Services API

Any ideas?
QuestionLABEL for X and Y Axis Pin
It_tech30-Jun-10 8:51
It_tech30-Jun-10 8:51 
AnswerRe: LABEL for X and Y Axis Pin
JF201530-Jun-10 18:11
JF201530-Jun-10 18:11 
GeneralRe: LABEL for X and Y Axis Pin
It_tech30-Jun-10 19:12
It_tech30-Jun-10 19:12 
GeneralRe: LABEL for X and Y Axis Pin
JF201530-Jun-10 19:23
JF201530-Jun-10 19:23 
GeneralRe: LABEL for X and Y Axis Pin
It_tech1-Jul-10 0:22
It_tech1-Jul-10 0:22 
Questionclient/server periodic data transfer Pin
teknolog12330-Jun-10 7:59
teknolog12330-Jun-10 7:59 
AnswerRe: client/server periodic data transfer Pin
Richard MacCutchan30-Jun-10 8:32
mveRichard MacCutchan30-Jun-10 8:32 
AnswerRe: client/server periodic data transfer Pin
Luc Pattyn30-Jun-10 8:33
sitebuilderLuc Pattyn30-Jun-10 8:33 
GeneralRe: client/server periodic data transfer Pin
teknolog12330-Jun-10 8:40
teknolog12330-Jun-10 8:40 
GeneralRe: client/server periodic data transfer Pin
Luc Pattyn30-Jun-10 10:50
sitebuilderLuc Pattyn30-Jun-10 10:50 
GeneralRe: client/server periodic data transfer Pin
PIEBALDconsult30-Jun-10 17:01
mvePIEBALDconsult30-Jun-10 17:01 
AnswerRe: client/server periodic data transfer Pin
Laxman Auti30-Jun-10 8:38
Laxman Auti30-Jun-10 8:38 
GeneralRe: client/server periodic data transfer Pin
teknolog12330-Jun-10 8:42
teknolog12330-Jun-10 8:42 
GeneralRe: client/server periodic data transfer Pin
Laxman Auti30-Jun-10 22:03
Laxman Auti30-Jun-10 22:03 
AnswerRe: client/server periodic data transfer Pin
Mirko198030-Jun-10 22:57
Mirko198030-Jun-10 22:57 
QuestionHow to Install an application on client-side with WPF application in C# Pin
jrobbie30-Jun-10 7:33
jrobbie30-Jun-10 7:33 
Questionneed a clarification Pin
prasadbuddhika30-Jun-10 6:41
prasadbuddhika30-Jun-10 6:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.