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: Thu, 20 Dec 2007 15:09:01 -0800,    group: microsoft.public.platformsdk.mapi        back       


2 Profiles, use 2 services (MSEMS and MSUPST)   
Hello,

I have a mapi wrapper class. During the lifetime of the object, it creates a 
new profile adds either the MSEMS or the MSUPST service, makes the calls to 
read / write messages and when closing deletes the profile.
In the scenario where 2 objects of the class are instantiated at the same 
time, one foe MSEMS ( to read from the exchange mailbox) and one for MSUPST 
(to save to PST), if the object for PST is instantiated (the profile created 
with the service added) before the mailbox, then all works fine.
However, if I instantiate the mapi wrapper with mailbox before PST, the 
creation is fine (CreateMsgService and ConfigureMsgService return S_OK) 
however MapiLogonEx fails with 0x8004011C  (Unconfigured ).
Upon further examination in the profile using MFCMapi.exe I see that 2 tags 
which are usually created are not created in this instance (0x3D13001F and 
0x67700003). 
Any idea what these are?
Any explaination why the store stays unconfigured when MSEMS is being used 
on some other profile?
Or am I missing anything?

Any help is greatly appreciated!
date: Thu, 20 Dec 2007 15:09:01 -0800   author:   Swati

Re: 2 Profiles, use 2 services (MSEMS and MSUPST)   
0x67700003 = Property tag 0x67700003 = (ptagNoLocalDelivery), 
(ptagXrefComplete), (ptagSoftDeleted) - PROP_TYPE 0x3 = PT_LONG
0x3D13001F = Unknown
-- 
This posting is provided "AS IS" with no warranties, and confers no rights.

Dgoldman
http://blogs.msdn.com/dgoldman
Download OABInteg 
(http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A2338E73-F521-4071-9B1D-AAF49C346ACD)


"Swati"  wrote in message 
news:D9D8EFA1-CD6E-4204-816C-D5D09187F509@microsoft.com...
> Hello,
>
> I have a mapi wrapper class. During the lifetime of the object, it creates 
> a
> new profile adds either the MSEMS or the MSUPST service, makes the calls 
> to
> read / write messages and when closing deletes the profile.
> In the scenario where 2 objects of the class are instantiated at the same
> time, one foe MSEMS ( to read from the exchange mailbox) and one for 
> MSUPST
> (to save to PST), if the object for PST is instantiated (the profile 
> created
> with the service added) before the mailbox, then all works fine.
> However, if I instantiate the mapi wrapper with mailbox before PST, the
> creation is fine (CreateMsgService and ConfigureMsgService return S_OK)
> however MapiLogonEx fails with 0x8004011C  (Unconfigured ).
> Upon further examination in the profile using MFCMapi.exe I see that 2 
> tags
> which are usually created are not created in this instance (0x3D13001F and
> 0x67700003).
> Any idea what these are?
> Any explaination why the store stays unconfigured when MSEMS is being used
> on some other profile?
> Or am I missing anything?
>
> Any help is greatly appreciated!
date: Mon, 31 Dec 2007 08:42:30 -0500   author:   Dgoldman [MSFT]

Re: 2 Profiles, use 2 services (MSEMS and MSUPST)   
Thanks!

Just in case anyone comes across the same problem, I found resolution to my 
problem via this post.
http://groups.google.com/group/microsoft.public.win32.programmer.messaging/browse_thread/thread/de835f422221837c/23dbce4e9be87b33?hl=en&lnk=gst&q=0x8004011C+





"Dgoldman [MSFT]" wrote:

> 0x67700003 = Property tag 0x67700003 = (ptagNoLocalDelivery), 
> (ptagXrefComplete), (ptagSoftDeleted) - PROP_TYPE 0x3 = PT_LONG
> 0x3D13001F = Unknown
> -- 
> This posting is provided "AS IS" with no warranties, and confers no rights.
> 
> Dgoldman
> http://blogs.msdn.com/dgoldman
> Download OABInteg 
> (http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A2338E73-F521-4071-9B1D-AAF49C346ACD)
> 
> 
> "Swati"  wrote in message 
> news:D9D8EFA1-CD6E-4204-816C-D5D09187F509@microsoft.com...
> > Hello,
> >
> > I have a mapi wrapper class. During the lifetime of the object, it creates 
> > a
> > new profile adds either the MSEMS or the MSUPST service, makes the calls 
> > to
> > read / write messages and when closing deletes the profile.
> > In the scenario where 2 objects of the class are instantiated at the same
> > time, one foe MSEMS ( to read from the exchange mailbox) and one for 
> > MSUPST
> > (to save to PST), if the object for PST is instantiated (the profile 
> > created
> > with the service added) before the mailbox, then all works fine.
> > However, if I instantiate the mapi wrapper with mailbox before PST, the
> > creation is fine (CreateMsgService and ConfigureMsgService return S_OK)
> > however MapiLogonEx fails with 0x8004011C  (Unconfigured ).
> > Upon further examination in the profile using MFCMapi.exe I see that 2 
> > tags
> > which are usually created are not created in this instance (0x3D13001F and
> > 0x67700003).
> > Any idea what these are?
> > Any explaination why the store stays unconfigured when MSEMS is being used
> > on some other profile?
> > Or am I missing anything?
> >
> > Any help is greatly appreciated! 
> 
> 
>
date: Mon, 31 Dec 2007 09:56:03 -0800   author:   Swati

Google
 
Web ureader.com


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