.net - EWS error when updating an item Category -


i following error when calling update() method on item in vb .net application using ews (logged on exchange 2007 sp1):

property update did not succeed

what cause?

i'm hoping not due ews requiring exchange 2010 update categories on item. update made item add category.

edit:

also, following code, makes copy of message , updates category works fine. looks it's changing category property existing messages that's problem.

dim itmmessage2 = itmmessage.copy(itmmessage.parentfolderid) itmmessage2.categories.add(strcategoryname) itmmessage2.update(conflictresolutionmode.alwaysoverwrite) 

cheers, dave

i have no idea why solution worked, makes me think broken either api installation, or on exchange 2007 sp 1 server i'm connecting to:

i sent through bind() request asking every itemschema property exchange 2007 supports (so not uniquebody etc. 2010 specific).

now original code working fine.

and stays working fine after remove property requests!

go figure. :|


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -