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, 14 Mar 2008 13:52:02 +0800,    group: microsoft.public.platformsdk.mapi        back       


Failed to connect to PST file using MAPI   
I am writing program for fetching data from Exchange sever and PST files.
 Program faces following four scenarios for connections
1.	Repeatedly connect to exchange server 
2.	Repeatedly connect to PST file 
3.	First connect to exchange server and then to PST file 
4.	First connect to PST file and then to Exchange server. 

However, third scenario is not working (i.e. After connecting to exchange 
sever, I am not able to connect to PST file). In this scenario, Code to 
connect to PST file, fails in IMsgServiceAdmin::ConfigureMsgService with 
MAPI_E_NO_ACCESS error. Error message displayed is as follows

"The file E:\Outlook.pst has changed since you last run Microsoft Office 
Outlook. The change will take effect next time you start Outlook"

Please Note:
	For each connection, separate temporary MAPI profile and MAPI session is 
created. 	
After each connection termination, all varibles are released, profile is 
deleted, IMAPISession::Logoff  and MAPIUninitialize is called.

        Can anyone help me out why this error comes? 
Any help on this will be greatly appreciated,

Thanks,
Rohit

url:http://www.ureader.com/gp/1651-1.aspx
date: Fri, 14 Mar 2008 13:52:02 +0800   author:   Rohit Gattani

Google
 
Web ureader.com


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