![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
i have develop a webservice which write date in a taskitem. the webservice run on a windows 2003 R2 server and works fine. when i launch the webservice (with a button) from a personalized taskitemform and immediately after i save the taskitem, i receive a conflict-message. I think this, because my webservice save the taskitem and immediately after on the client i save the taskitem in outlook, too. Here the code of the webservice: --- Private Function AktualisierungMahnbriefstufe(ByVal Source_OL_URL As String, ByVal aktMahnstufe As Char) As String Dim RetMessage As String = "" Dim sExchangeServer As String = "EXCH2003" Dim sEmailAddress As String = " Dim text5 As String = Me.SMTPToMailboxURL(sExchangeServer, sEmailAddress, False) Dim message As Message = New MessageClass Dim sourceURL As String = (text5 & "Aufgaben/Inkassi/" & Source_OL_URL) Try message.DataSource.Open(sourceURL, Nothing, ConnectModeEnum.adModeReadWrite, RecordCreateOptionsEnum.adFailIfNotExists, Not RecordOpenOptionsEnum.adOpenRecordUnspecified, userName, userPwd) Dim message3 As Message = Message message3.Fields.Item("DAV:contentclass").Value = "urn:content-classes:message" message3.Fields.Item("http://schemas.microsoft.com/exchange/outlookmessageclass").Value = "IPM.Task.(p) Aufgabe" If aktMahnstufe = "1" Then message3.Fields.Item("http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/MB1").Value = DateTime.UtcNow ElseIf aktMahnstufe = "2" Then message3.Fields.Item("http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/MB2").Value = DateTime.UtcNow End If message3.Fields.Update() message3.DataSource.Save() message3 = Nothing RetMessage = "OK" Catch exception1 As Exception ProjectData.SetProjectError(exception1) Dim exception As Exception = exception1 RetMessage = exception.Message ProjectData.ClearProjectError() End Try Return RetMessage End Function --- how can i avoid the conflict? thx & bye Oskar |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
outlook 2003 disconnected from Exchange 2003 after Exchange reboo | mrTibbs | Outlook - Installation | 0 | June 29th 07 01:34 PM |
Conflicts with Norton Systemworks, Outlook 2003 ? | derider | Outlook - Using Contacts | 2 | April 26th 07 01:12 AM |
Outlook 2003 at home to view work email from Exchange server 2003 | mnudel | Outlook - General Queries | 1 | April 22nd 07 05:13 AM |
Outlook 2003 VSTO framework conflicts with other apps using MAPI | Sanjay | Add-ins for Outlook | 5 | January 26th 07 09:50 PM |
Outlook 2003: No alert for conflicts with recurring meetings | James.Brown | Outlook - Calandaring | 0 | May 23rd 06 07:11 PM |