Importing addresses from Public Folders generate error

P

pro_me

I import emailaddresses from Outlook in my application. This addresses are
stored in Contact Item Folders. When this folders are stored in my personal
folder I have no problems. But when they are stored in the Public Folder, I
receive errors after a while. I can import a number of addresses and receive
then the error ‘The operation failed, error code : 0x80004005’. The number of
addresses I can import varies. Sometimes about 250, sometimes just 10.

I work with Outlook 2003 and Exchange 2003. I tried this also at a customer
site, with the same result. Also Outlook 2002 generates this error.

Any ideas?
Tnhx.
 
K

Ken Slovak

What language are you using? Is it a .NET language? If so you might be
running into the 250 RPC channel limit. Every object you instantiate causes
a new RPC channel to be opened and once you hit the limit you must
explicitly release your objects and call the garbage collector on them to
free those channels.
 
M

M.E.

I use Progress, but for the use of MAPI it's very simular to VB.
So your solution to release the object works fine.
Many thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top