A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

80004005 Getting Body



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 20th 07, 01:31 AM posted to microsoft.public.outlook.program_vba
oorexxpert
external usenet poster
 
Posts: 8
Default 80004005 Getting Body

Hello all. First time posting. I am using Outlook 2003 on Windows
XP. I have an application that scans emails in a particular folder.
The folder has about 900 emails in it. The program gets about half
way throught the emails and all of a sudden, it starts getting
80004005 codes when trying to get the body of an email. The program
is written in REXX instead of VB but I don't think that matters.

Does any one have any idea of what could be wrong or how I would go
about figuring out what is wrong?

Thanks,

John

  #2  
Old February 20th 07, 05:41 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 80004005 Getting Body

Sounds like you assare running out of 255 RPC channels limit imposed by
Exchange.
How (if at all) do you release messages in the loop?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"oorexxpert" wrote in message
ups.com...
Hello all. First time posting. I am using Outlook 2003 on Windows
XP. I have an application that scans emails in a particular folder.
The folder has about 900 emails in it. The program gets about half
way throught the emails and all of a sudden, it starts getting
80004005 codes when trying to get the body of an email. The program
is written in REXX instead of VB but I don't think that matters.

Does any one have any idea of what could be wrong or how I would go
about figuring out what is wrong?

Thanks,

John



  #3  
Old February 28th 07, 12:17 AM posted to microsoft.public.outlook.program_vba
oorexxpert
external usenet poster
 
Posts: 8
Default 80004005 Getting Body

On Feb 19, 11:41 pm, "Dmitry Streblechenko"
wrote:
Sounds like you assare running out of 255 RPC channels limit imposed by
Exchange.
How (if at all) do you release messages in the loop?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"oorexxpert" wrote in message

ups.com...

Hello all. First time posting. I am using Outlook 2003 on Windows
XP. I have an application that scans emails in a particular folder.
The folder has about 900 emails in it. The program gets about half
way throught the emails and all of a sudden, it starts getting
80004005 codes when trying to get the body of an email. The program
is written inREXXinstead of VB but I don't think that matters.


Does any one have any idea of what could be wrong or how I would go
about figuring out what is wrong?


Thanks,


John


I didn't. I saw no method that would allow me to free the message.
I'm sure you right because I watch the memory usage of outlook rising
as my program runs. Not only are there many messages, but each one is
fairly big (1,000 lines). Can you tell me how to release the message?

Thanks,

John

  #4  
Old March 1st 07, 06:42 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 80004005 Getting Body

I know nothing about REXX.
In C++, you need to call Release() or set the object to null if you are
using smart pointers
In VB, set the object to Nothing
In .Net, set the object to null, then call Marshal.ReleaseCOMObject()

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"oorexxpert" wrote in message
oups.com...
On Feb 19, 11:41 pm, "Dmitry Streblechenko"
wrote:
Sounds like you assare running out of 255 RPC channels limit imposed by
Exchange.
How (if at all) do you release messages in the loop?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"oorexxpert" wrote in message

ups.com...

Hello all. First time posting. I am using Outlook 2003 on Windows
XP. I have an application that scans emails in a particular folder.
The folder has about 900 emails in it. The program gets about half
way throught the emails and all of a sudden, it starts getting
80004005 codes when trying to get the body of an email. The program
is written inREXXinstead of VB but I don't think that matters.


Does any one have any idea of what could be wrong or how I would go
about figuring out what is wrong?


Thanks,


John


I didn't. I saw no method that would allow me to free the message.
I'm sure you right because I watch the memory usage of outlook rising
as my program runs. Not only are there many messages, but each one is
fairly big (1,000 lines). Can you tell me how to release the message?

Thanks,

John



  #5  
Old March 5th 07, 09:39 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 4
Default 80004005 Getting Body

On Mar 1, 12:42 pm, "Dmitry Streblechenko" wrote:
I know nothing aboutREXX.
In C++, you need to call Release() or set the object to null if you are
using smart pointers
In VB, set the object to Nothing
In .Net, set the object to null, then call Marshal.ReleaseCOMObject()

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"oorexxpert" wrote in message

oups.com...

On Feb 19, 11:41 pm, "Dmitry Streblechenko"
wrote:
Sounds like you assare running out of 255 RPC channels limit imposed by
Exchange.
How (if at all) do you release messages in the loop?


Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"oorexxpert" wrote in message


roups.com...


Hello all. First time posting. I am using Outlook 2003 on Windows
XP. I have an application that scans emails in a particular folder.
The folder has about 900 emails in it. The program gets about half
way throught the emails and all of a sudden, it starts getting
80004005 codes when trying to get the body of an email. The program
is written inREXXinstead of VB but I don't think that matters.


Does any one have any idea of what could be wrong or how I would go
about figuring out what is wrong?


Thanks,


John


I didn't. I saw no method that would allow me to free the message.
I'm sure you right because I watch the memory usage of outlook rising
as my program runs. Not only are there many messages, but each one is
fairly big (1,000 lines). Can you tell me how to release the message?


Thanks,


John


I found my problem. It was a problem in the way I was using REXX.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 80004005 On Starting Outlook dmpavlis Outlook Express 4 February 28th 07 10:31 PM
error code 80004005 4 months now dwolf Outlook Express 19 February 27th 07 02:30 AM
error code 80004005 4 months now hayat Outlook Express 0 February 2nd 07 04:16 PM
Hotmail error code 80004005 dwolf Outlook Express 2 October 30th 06 11:32 PM
Outlook Express error 80004005 chasse//casse.700250amp Outlook Express 7 January 22nd 06 04:31 AM


All times are GMT +1. The time now is 07:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.