![]() |
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
|
|||
|
|||
![]()
Hello,
I writing a small program to copy messages of a mailbox folder into a .pst file. It works fine but sometime i receive a PartialCompletion error from the CopyMessages method on the IMAPIFolder. Does anyone knows why this occurs? What are the consequences of such an error/warning? Thanks for your help, Robbert |
Ads |
#2
|
|||
|
|||
![]()
How many messages do you copy? Have you tried to copy one message at a time?
Do the messages actually get copied? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "rvangeldrop" wrote in message ... Hello, I writing a small program to copy messages of a mailbox folder into a .pst file. It works fine but sometime i receive a PartialCompletion error from the CopyMessages method on the IMAPIFolder. Does anyone knows why this occurs? What are the consequences of such an error/warning? Thanks for your help, Robbert |
#3
|
|||
|
|||
![]()
Hello Dimitri,
Your questions are a bit irrelevant. Let me rephrase my question so you can help me better: I'm looking for functions in MAPI to call to get the exact cause for the 'PartialComplete' result. One cause is 'lack of diskspace' but we are running tests on a system with plenty of diskspace. How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead "Dmitry Streblechenko" wrote: How many messages do you copy? Have you tried to copy one message at a time? Do the messages actually get copied? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "rvangeldrop" wrote in message ... Hello, I writing a small program to copy messages of a mailbox folder into a .pst file. It works fine but sometime i receive a PartialCompletion error from the CopyMessages method on the IMAPIFolder. Does anyone knows why this occurs? What are the consequences of such an error/warning? Thanks for your help, Robbert |
#4
|
|||
|
|||
![]()
One of the things Dmitry is getting at is the RPC channel limit on
connections to the server, so not really an irrelevant question. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "rvangeldrop" wrote in message ... Hello Dimitri, Your questions are a bit irrelevant. Let me rephrase my question so you can help me better: I'm looking for functions in MAPI to call to get the exact cause for the 'PartialComplete' result. One cause is 'lack of diskspace' but we are running tests on a system with plenty of diskspace. How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead |
#5
|
|||
|
|||
![]()
Dear Ken,
I'm running the code on the same machine as where Exchange is running. One of the mailbox items (being 'Sent Items) on which this call fails contains 14.000 messages. Still, if there is a limit considering this RPC interface surely there must be a way by code to find out the exact cause of the PartialComplete? How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead "Ken Slovak - [MVP - Outlook]" wrote: One of the things Dmitry is getting at is the RPC channel limit on connections to the server, so not really an irrelevant question. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "rvangeldrop" wrote in message ... Hello Dimitri, Your questions are a bit irrelevant. Let me rephrase my question so you can help me better: I'm looking for functions in MAPI to call to get the exact cause for the 'PartialComplete' result. One cause is 'lack of diskspace' but we are running tests on a system with plenty of diskspace. How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead |
#6
|
|||
|
|||
![]()
Have you tried to call IMAPIFolder::GetLastError?
I don't see how this is an irrelevant question - what is the end result of that call? Do any messages get copied? All of them? None at all? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "rvangeldrop" wrote in message ... Hello Dimitri, Your questions are a bit irrelevant. Let me rephrase my question so you can help me better: I'm looking for functions in MAPI to call to get the exact cause for the 'PartialComplete' result. One cause is 'lack of diskspace' but we are running tests on a system with plenty of diskspace. How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead "Dmitry Streblechenko" wrote: How many messages do you copy? Have you tried to copy one message at a time? Do the messages actually get copied? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "rvangeldrop" wrote in message ... Hello, I writing a small program to copy messages of a mailbox folder into a .pst file. It works fine but sometime i receive a PartialCompletion error from the CopyMessages method on the IMAPIFolder. Does anyone knows why this occurs? What are the consequences of such an error/warning? Thanks for your help, Robbert |
#7
|
|||
|
|||
![]()
Hello Dmitry,
I did not try GetLastError yet. To answer your other questions: the function call returns with a PartialCompletion result almost immediately, so for my feeling none of the items is copied. The target is an empty, existing PST. Kind regards, rvangeldrop "Dmitry Streblechenko" wrote: Have you tried to call IMAPIFolder::GetLastError? I don't see how this is an irrelevant question - what is the end result of that call? Do any messages get copied? All of them? None at all? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "rvangeldrop" wrote in message ... Hello Dimitri, Your questions are a bit irrelevant. Let me rephrase my question so you can help me better: I'm looking for functions in MAPI to call to get the exact cause for the 'PartialComplete' result. One cause is 'lack of diskspace' but we are running tests on a system with plenty of diskspace. How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead "Dmitry Streblechenko" wrote: How many messages do you copy? Have you tried to copy one message at a time? Do the messages actually get copied? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "rvangeldrop" wrote in message ... Hello, I writing a small program to copy messages of a mailbox folder into a .pst file. It works fine but sometime i receive a PartialCompletion error from the CopyMessages method on the IMAPIFolder. Does anyone knows why this occurs? What are the consequences of such an error/warning? Thanks for your help, Robbert |
#8
|
|||
|
|||
![]()
The best way I know of is to use GetLastError.
Certainly when iterating 14000 items you could run into the 256 RPC channel limit. After how many items does your code fail? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "rvangeldrop" wrote in message ... Dear Ken, I'm running the code on the same machine as where Exchange is running. One of the mailbox items (being 'Sent Items) on which this call fails contains 14.000 messages. Still, if there is a limit considering this RPC interface surely there must be a way by code to find out the exact cause of the PartialComplete? How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead |
#9
|
|||
|
|||
![]()
I tried to call GetLastError and this is the result:
Component: Microsoft Exchange Server Information Store Error: there is not enough memory available to perform this operation LowLevelError: 1009 I cannot find any resources that describe this error or how to handle it. Any ideas on what causes the Information Store to run out of memory? It is strange, too, since this call returns with this error instantly. Thanks ahead. "Ken Slovak - [MVP - Outlook]" wrote: The best way I know of is to use GetLastError. Certainly when iterating 14000 items you could run into the 256 RPC channel limit. After how many items does your code fail? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "rvangeldrop" wrote in message ... Dear Ken, I'm running the code on the same machine as where Exchange is running. One of the mailbox items (being 'Sent Items) on which this call fails contains 14.000 messages. Still, if there is a limit considering this RPC interface surely there must be a way by code to find out the exact cause of the PartialComplete? How can I drill down in the MAPI interface after I get this PartialComplete to find more details on why this result was returned? Thanks ahead |
#10
|
|||
|
|||
![]()
It could be caused by the lack of available RPC channels.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "rvangeldrop" wrote in message ... I tried to call GetLastError and this is the result: Component: Microsoft Exchange Server Information Store Error: there is not enough memory available to perform this operation LowLevelError: 1009 I cannot find any resources that describe this error or how to handle it. Any ideas on what causes the Information Store to run out of memory? It is strange, too, since this call returns with this error instantly. Thanks ahead. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calling a Contact using VOIP | Scott | Outlook - Using Contacts | 1 | September 20th 07 10:27 PM |
Calling an Add-in method from another Application | David | Add-ins for Outlook | 1 | March 17th 07 06:33 PM |
contacts calling | Jeff | Outlook - Using Contacts | 3 | March 1st 07 10:39 PM |
Calling all MVPs | Rob | Outlook - General Queries | 1 | July 25th 06 04:04 AM |
Calling For Backup! | Ron | Outlook Express | 2 | July 14th 06 05:42 PM |