Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 13 Jun 2008 18:12:00 -0700,    group: microsoft.public.platformsdk.mapi        back       


MAPI Logon Limitation?   
Hi All

I just create a service in my machine, and want to logon to different user 
account in exchange2007 server, and try to get inbox list. My problem is that 
only 33 acounts works fine, and when I try to logon the 34th account, it 
always fail.
Then I stop logon the 33th account, 34th account is OK.
Is there any limitaion for MAPI application to logon to accounts in 
exchange2007 serverat the same time?

Thanks a lot.

leslie
date: Fri, 13 Jun 2008 18:12:00 -0700   author:   Leslie Xia

Re: MAPI Logon Limitation?   
Yes, there is a limitation on the number of mailbox you can open at a time.

refer to
http://support.microsoft.com/kb/q194627/
http://support.microsoft.com/default.aspx?scid=kb;en-us;200160

Are you keeping all 33 mailbox open?? If so, close the mailbox as soon 
as you are done with it, then hopefully you will be able to open all the 
mailbox.

Regards,
Ashutosh Bhawasinka

Leslie Xia wrote:
> Hi All
> 
> I just create a service in my machine, and want to logon to different user 
> account in exchange2007 server, and try to get inbox list. My problem is that 
> only 33 acounts works fine, and when I try to logon the 34th account, it 
> always fail.
> Then I stop logon the 33th account, 34th account is OK.
> Is there any limitaion for MAPI application to logon to accounts in 
> exchange2007 serverat the same time?
> 
> Thanks a lot.
> 
> leslie
date: Sun, 15 Jun 2008 13:40:40 +0530   author:   Ashutosh Bhawasinka

Re: MAPI Logon Limitation?   
Do not create/use multiple profiles to connect to differnt mailboxes.
Connect to the current user's mailbox, you can then open other mailboxes 
using IExchangeManageStore

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia"  wrote in message 
news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> Hi All
>
> I just create a service in my machine, and want to logon to different user
> account in exchange2007 server, and try to get inbox list. My problem is 
> that
> only 33 acounts works fine, and when I try to logon the 34th account, it
> always fail.
> Then I stop logon the 33th account, 34th account is OK.
> Is there any limitaion for MAPI application to logon to accounts in
> exchange2007 serverat the same time?
>
> Thanks a lot.
>
> leslie
date: Mon, 16 Jun 2008 09:48:28 -0700   author:   Dmitry Streblechenko

Re: MAPI Logon Limitation?   
Why? Is there any limitation?

Actually, when I change code to logon and do work, then logout ASAP after 
done, there is memory leak problem. Even I just invoke MAPILogonEx, and then 
logoff MAPISession, the leak problem still happens.

leslie

"Dmitry Streblechenko" wrote:

> Do not create/use multiple profiles to connect to differnt mailboxes.
> Connect to the current user's mailbox, you can then open other mailboxes 
> using IExchangeManageStore
> 
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Leslie Xia"  wrote in message 
> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> > Hi All
> >
> > I just create a service in my machine, and want to logon to different user
> > account in exchange2007 server, and try to get inbox list. My problem is 
> > that
> > only 33 acounts works fine, and when I try to logon the 34th account, it
> > always fail.
> > Then I stop logon the 33th account, 34th account is OK.
> > Is there any limitaion for MAPI application to logon to accounts in
> > exchange2007 serverat the same time?
> >
> > Thanks a lot.
> >
> > leslie 
> 
> 
>
date: Mon, 16 Jun 2008 12:15:02 -0700   author:   Leslie Xia

Re: MAPI Logon Limitation?   
are you calling Release on all the interfaces you retrieved??

also, you need to free the SRow/SRowSet when done - for these the MAPI 
system allocates the memory and you need to free them!

Regards,
Ashutosh


Leslie Xia wrote:
> Why? Is there any limitation?
> 
> Actually, when I change code to logon and do work, then logout ASAP after 
> done, there is memory leak problem. Even I just invoke MAPILogonEx, and then 
> logoff MAPISession, the leak problem still happens.
> 
> leslie
> 
> "Dmitry Streblechenko" wrote:
> 
>> Do not create/use multiple profiles to connect to differnt mailboxes.
>> Connect to the current user's mailbox, you can then open other mailboxes 
>> using IExchangeManageStore
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia"  wrote in message 
>> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>>> Hi All
>>>
>>> I just create a service in my machine, and want to logon to different user
>>> account in exchange2007 server, and try to get inbox list. My problem is 
>>> that
>>> only 33 acounts works fine, and when I try to logon the 34th account, it
>>> always fail.
>>> Then I stop logon the 33th account, 34th account is OK.
>>> Is there any limitaion for MAPI application to logon to accounts in
>>> exchange2007 serverat the same time?
>>>
>>> Thanks a lot.
>>>
>>> leslie 
>>
>>
date: Tue, 17 Jun 2008 01:31:46 +0530   author:   Ashutosh Bhawasinka

Re: MAPI Logon Limitation?   
Memory leak is is one of the reasons.
Secondly, the EX provider uses the identity of the current Windows user to 
authenticate with the server, so the rule of thumb is to open the current 
user's mailbox.
Thirdly, being able to open the mailbox and tread the contnets of the Inbox 
folder requires fewer priviledges than logging as that particular user.
And last, you woul not need to create that many profiles manually.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia"  wrote in message 
news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
> Why? Is there any limitation?
>
> Actually, when I change code to logon and do work, then logout ASAP after
> done, there is memory leak problem. Even I just invoke MAPILogonEx, and 
> then
> logoff MAPISession, the leak problem still happens.
>
> leslie
>
> "Dmitry Streblechenko" wrote:
>
>> Do not create/use multiple profiles to connect to differnt mailboxes.
>> Connect to the current user's mailbox, you can then open other mailboxes
>> using IExchangeManageStore
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia"  wrote in message
>> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>> > Hi All
>> >
>> > I just create a service in my machine, and want to logon to different 
>> > user
>> > account in exchange2007 server, and try to get inbox list. My problem 
>> > is
>> > that
>> > only 33 acounts works fine, and when I try to logon the 34th account, 
>> > it
>> > always fail.
>> > Then I stop logon the 33th account, 34th account is OK.
>> > Is there any limitaion for MAPI application to logon to accounts in
>> > exchange2007 serverat the same time?
>> >
>> > Thanks a lot.
>> >
>> > leslie
>>
>>
>>
date: Mon, 16 Jun 2008 13:58:03 -0700   author:   Dmitry Streblechenko

Re: MAPI Logon Limitation?   
Thank you guys very much. And only logon current user and logon to other 
mailbox is better.
BTW, it is difficult to find out a full help file for all MAPI, do yo know 
where to download the MAPI help?

Thanks again.

leslie


"Dmitry Streblechenko" wrote:

> Memory leak is is one of the reasons.
> Secondly, the EX provider uses the identity of the current Windows user to 
> authenticate with the server, so the rule of thumb is to open the current 
> user's mailbox.
> Thirdly, being able to open the mailbox and tread the contnets of the Inbox 
> folder requires fewer priviledges than logging as that particular user.
> And last, you woul not need to create that many profiles manually.
> 
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Leslie Xia"  wrote in message 
> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
> > Why? Is there any limitation?
> >
> > Actually, when I change code to logon and do work, then logout ASAP after
> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and 
> > then
> > logoff MAPISession, the leak problem still happens.
> >
> > leslie
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Do not create/use multiple profiles to connect to differnt mailboxes.
> >> Connect to the current user's mailbox, you can then open other mailboxes
> >> using IExchangeManageStore
> >>
> >> -- 
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy  - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "Leslie Xia"  wrote in message
> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> >> > Hi All
> >> >
> >> > I just create a service in my machine, and want to logon to different 
> >> > user
> >> > account in exchange2007 server, and try to get inbox list. My problem 
> >> > is
> >> > that
> >> > only 33 acounts works fine, and when I try to logon the 34th account, 
> >> > it
> >> > always fail.
> >> > Then I stop logon the 33th account, 34th account is OK.
> >> > Is there any limitaion for MAPI application to logon to accounts in
> >> > exchange2007 serverat the same time?
> >> >
> >> > Thanks a lot.
> >> >
> >> > leslie
> >>
> >>
> >> 
> 
> 
>
date: Tue, 17 Jun 2008 11:03:40 -0700   author:   Leslie Xia

Re: MAPI Logon Limitation?   
This newsgroup and the MAPI list - 
http://peach.ease.lsoft.com/Archives/mapi-l.html - are your only MAPI help.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia"  wrote in message 
news:785EA52E-FDA9-493B-AA2F-931334D04B59@microsoft.com...
> Thank you guys very much. And only logon current user and logon to other
> mailbox is better.
> BTW, it is difficult to find out a full help file for all MAPI, do yo know
> where to download the MAPI help?
>
> Thanks again.
>
> leslie
>
>
> "Dmitry Streblechenko" wrote:
>
>> Memory leak is is one of the reasons.
>> Secondly, the EX provider uses the identity of the current Windows user 
>> to
>> authenticate with the server, so the rule of thumb is to open the current
>> user's mailbox.
>> Thirdly, being able to open the mailbox and tread the contnets of the 
>> Inbox
>> folder requires fewer priviledges than logging as that particular user.
>> And last, you woul not need to create that many profiles manually.
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia"  wrote in message
>> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
>> > Why? Is there any limitation?
>> >
>> > Actually, when I change code to logon and do work, then logout ASAP 
>> > after
>> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and
>> > then
>> > logoff MAPISession, the leak problem still happens.
>> >
>> > leslie
>> >
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Do not create/use multiple profiles to connect to differnt mailboxes.
>> >> Connect to the current user's mailbox, you can then open other 
>> >> mailboxes
>> >> using IExchangeManageStore
>> >>
>> >> -- 
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy  - Outlook, CDO
>> >> and MAPI Developer Tool
>> >> -
>> >> "Leslie Xia"  wrote in message
>> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>> >> > Hi All
>> >> >
>> >> > I just create a service in my machine, and want to logon to 
>> >> > different
>> >> > user
>> >> > account in exchange2007 server, and try to get inbox list. My 
>> >> > problem
>> >> > is
>> >> > that
>> >> > only 33 acounts works fine, and when I try to logon the 34th 
>> >> > account,
>> >> > it
>> >> > always fail.
>> >> > Then I stop logon the 33th account, 34th account is OK.
>> >> > Is there any limitaion for MAPI application to logon to accounts in
>> >> > exchange2007 serverat the same time?
>> >> >
>> >> > Thanks a lot.
>> >> >
>> >> > leslie
>> >>
>> >>
>> >>
>>
>>
>>
date: Tue, 17 Jun 2008 15:21:29 -0700   author:   Dmitry Streblechenko

Re: MAPI Logon Limitation?   
=?Utf-8?B?TGVzbGllIFhpYQ==?=  wrote
in news:785EA52E-FDA9-493B-AA2F-931334D04B59@microsoft.com: 
> BTW, it is difficult to find out a full help file for all MAPI, do yo
> know where to download the MAPI help?

 It's part of the online MSDN:

 http://msdn.microsoft.com/en-us/library/ms529058(EXCHG.10).aspx

 (then look in the table of contents on the left). 

 Or if you can find a copy of Inside MAPI (paper or buy the downloadable 
version) that's another good place to start.

 -- dan
date: Thu, 19 Jun 2008 08:10:09 -0700   author:   Dan Mitchell

Re: MAPI Logon Limitation?   
Hi 

I have another question, when I try to delete a Message through MAPI, there 
is a warning code "MAPI_W_PARTIAL_COMPLETION", what that mean? and the 
message is still in inbox

leslie

"Dmitry Streblechenko" wrote:

> Memory leak is is one of the reasons.
> Secondly, the EX provider uses the identity of the current Windows user to 
> authenticate with the server, so the rule of thumb is to open the current 
> user's mailbox.
> Thirdly, being able to open the mailbox and tread the contnets of the Inbox 
> folder requires fewer priviledges than logging as that particular user.
> And last, you woul not need to create that many profiles manually.
> 
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Leslie Xia"  wrote in message 
> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
> > Why? Is there any limitation?
> >
> > Actually, when I change code to logon and do work, then logout ASAP after
> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and 
> > then
> > logoff MAPISession, the leak problem still happens.
> >
> > leslie
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Do not create/use multiple profiles to connect to differnt mailboxes.
> >> Connect to the current user's mailbox, you can then open other mailboxes
> >> using IExchangeManageStore
> >>
> >> -- 
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy  - Outlook, CDO
> >> and MAPI Developer Tool
> >> -
> >> "Leslie Xia"  wrote in message
> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
> >> > Hi All
> >> >
> >> > I just create a service in my machine, and want to logon to different 
> >> > user
> >> > account in exchange2007 server, and try to get inbox list. My problem 
> >> > is
> >> > that
> >> > only 33 acounts works fine, and when I try to logon the 34th account, 
> >> > it
> >> > always fail.
> >> > Then I stop logon the 33th account, 34th account is OK.
> >> > Is there any limitaion for MAPI application to logon to accounts in
> >> > exchange2007 serverat the same time?
> >> >
> >> > Thanks a lot.
> >> >
> >> > leslie
> >>
> >>
> >> 
> 
> 
>
date: Thu, 19 Jun 2008 12:12:02 -0700   author:   Leslie Xia

Re: MAPI Logon Limitation?   
That means the mesage hasn't been deleted.
Did you open store/folder in the r/w mode? Do you have the right access 
rights?

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Leslie Xia"  wrote in message 
news:DEC024BB-A127-4E60-ACA4-33D4D01BF3A6@microsoft.com...
> Hi
>
> I have another question, when I try to delete a Message through MAPI, 
> there
> is a warning code "MAPI_W_PARTIAL_COMPLETION", what that mean? and the
> message is still in inbox
>
> leslie
>
> "Dmitry Streblechenko" wrote:
>
>> Memory leak is is one of the reasons.
>> Secondly, the EX provider uses the identity of the current Windows user 
>> to
>> authenticate with the server, so the rule of thumb is to open the current
>> user's mailbox.
>> Thirdly, being able to open the mailbox and tread the contnets of the 
>> Inbox
>> folder requires fewer priviledges than logging as that particular user.
>> And last, you woul not need to create that many profiles manually.
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Leslie Xia"  wrote in message
>> news:5622A419-605A-459C-BE1D-6ADBE32BA2CF@microsoft.com...
>> > Why? Is there any limitation?
>> >
>> > Actually, when I change code to logon and do work, then logout ASAP 
>> > after
>> > done, there is memory leak problem. Even I just invoke MAPILogonEx, and
>> > then
>> > logoff MAPISession, the leak problem still happens.
>> >
>> > leslie
>> >
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Do not create/use multiple profiles to connect to differnt mailboxes.
>> >> Connect to the current user's mailbox, you can then open other 
>> >> mailboxes
>> >> using IExchangeManageStore
>> >>
>> >> -- 
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy  - Outlook, CDO
>> >> and MAPI Developer Tool
>> >> -
>> >> "Leslie Xia"  wrote in message
>> >> news:272EE41A-CC47-4336-AA81-34A431630921@microsoft.com...
>> >> > Hi All
>> >> >
>> >> > I just create a service in my machine, and want to logon to 
>> >> > different
>> >> > user
>> >> > account in exchange2007 server, and try to get inbox list. My 
>> >> > problem
>> >> > is
>> >> > that
>> >> > only 33 acounts works fine, and when I try to logon the 34th 
>> >> > account,
>> >> > it
>> >> > always fail.
>> >> > Then I stop logon the 33th account, 34th account is OK.
>> >> > Is there any limitaion for MAPI application to logon to accounts in
>> >> > exchange2007 serverat the same time?
>> >> >
>> >> > Thanks a lot.
>> >> >
>> >> > leslie
>> >>
>> >>
>> >>
>>
>>
>>
date: Thu, 19 Jun 2008 15:10:13 -0700   author:   Dmitry Streblechenko

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us