Browse by Tags

Tagged Content List
  • Blog Post: PRXF_IGNORE_SEC_WARNING doesn't work in MAPI \ CDO

    The flag PRXF_IGNORE_SEC_WARNING doesn't work in MAPI \ CDO as it should. The flag was introduced to support RPC over HTTP in the updated MAPI \ CDO that was released around the time of Exchange Server 2013's release. The flag is supposed to instruct the MAPI subsystem to use this flag RPC_C_HTTP_FLAG_IGNORE_CERT_CN_INVALID...
  • Blog Post: How to use CDO 1.2.1 to connect to Exchange 2013 using a dynamic profile

    NOTE: This article only applies to Exchange's MAPI \ CDO download. It doesn't apply to using CDO 1.2.1 with an Outlook 2007 client. I was discussing an issue recently with a customer and I asked him to connect to the Exchange server using CDO 1.2.1. Then I realized that I had never tried that myself...
  • Blog Post: Async MAPI Notifications in Exchange are a problem for MAPI clients that impersonate

    I had a case six months ago where the customer was using Exchange’s MAPI against Exchange 2013 and was seeing a number of MAPI_E_NETWORK_ERRORs in his application. After discussing the issue with him it was determined that the application was running in the security context of Local System but...
  • Blog Post: Exchange's MAPI repeatedly prompts for credentials

    I had a case recently where the customer's symptoms where that his application was causing a security credential dialog over and over again even though correct credentials were supplied. Upon further investigation we found that the LmCompatabilityLevel registry value was set to 1.  Since the application...
  • Blog Post: EXHTTP settings don't appear in Exchange 2013's Autodiscover response

    MAPI clients wishing to get the correct Autodiscover settings for Exchange 2013 need to get the EXHTTP nodes in the Autodiscover response to configure the client correctly. However, the Plain Old XML (POX) Autodiscover will not return this information if the client is not above a certain version of Outlook...
  • Blog Post: Using Basic Authentication for RPC over HTTP with MAPI\CDO

    I had a case recently where the customer was trying to use Basic Authentication for RPC over HTTP with MAPI\CDO. The customer's symptom was that no matter what was entered into the credentials dialog it would not accept the credentials. When I reviewed the IIS logs there wasn't even a request being made...
  • Blog Post: How to create an Outlook profile for Office 365

    I had another case involving creating a profile to an Office 365 mailbox. However, this time it was for Outlook’s MAPI, not Exchange's MAPI as previously documented. After discussing this with the Outlook product team they agreed to document the minimum number of properties to create a profile...
  • Blog Post: How to configure an Outlook profile using MFCMAPI for Exchange 2013

    I had another case involving creating a profile to an Exchange 2013 server.  However, this time it was for Outlook’s MAPI, not Exchange’s MAPI as previously documented.  After discussing this with the Outlook product team they agreed to document the minimum number of properties to create a...
  • Blog Post: A new MAPI interface is available to let you force connections to go to a specific Exchange Server

    NOTE: This interface is only available for Outlook 2010's MAPI subsystem. It will be eventually ported to Outlook 2013's MAPI subsystem. I will update this blog post when that happens. [Edit: 1/23/2014 - This new interface did not ship in the December 2013 CU. I was incorrect. I am currently looking...
  • Blog Post: 9646 still seen on Exchange 2013 even after applying "View Information store status"

    Of course if you have a MAPI application you are most likely familiar with the 9646 errors. Event Type: Error Event Source: MSExchangeIS Event Category: General Event ID: 9646 Description: Mapi session "/o=ExchangeOrg/ou=First Administrative Group/cn=Recipients/cn=User" exceeded the maximum of 32...
  • Blog Post: What happened to PR_RULES_DATA and PR_ACL_DATA in Exchange 2013?

    I had a case recently with a customer where he was calling IMAPIProp::GetProps() asking for, among other things, PR_RULES_DATA and PR_ACL_DATA. This code worked correctly in previous versions of Exchange but these properties are no longer exposed in Exchange 2013. The workaround to this behavior is to...
  • Blog Post: How to use MFCMAPI to create a MAPI profile to connect to Office 365

    I helped in a case recently where the customer needed to use Exchange’s MAPI to connect to Office 365. Now that Exchange’s MAPI supports RPC over HTTP (ROH) this is possible. I used my other post on connecting to Exchange 2013 as a base template and then just changed some things to connect...
  • Blog Post: How to use the same profile to connect to both Exchange 2013 and legacy versions of Exchange Server

    As promised in my previous post , here is an post which walks you through the creation of a profile which can be used to connect to both an Exchange 2013 Server as well as a legacy version of Exchange Server (2007, 2010). The reason why this is needed is because their is an explicit block in place that...
  • Blog Post: How to use MFCMAPI to create a MAPI profile to connect to Exchange 2013

    Well it's finally released.  The long awaited MAPI/CDO download that includes the documentation which outlines how to connect to Exchange 2013.  As a supplement to that I have created this blog post to walk you through the steps of creating a profile using MFCMAPI to troubleshoot issues. ...
  • Blog Post: Coexistence with Exchange 2013

    If you are on Exchange 2010 you will need SP3 to coexist with Exchange 2013. Exchange 2010 SP3 was released yesterday. http://blogs.technet.com/b/exchange/archive/2013/02/12/released-exchange-server-2010-sp3.aspx If you are still on Exchange 2007 you can install RU 10 and coexist with 2013....
  • Blog Post: IMAPISession::OpenAddressBook returns E_NOINTERFACE when providing an IID

    I am currently troubleshooting an issue and wrote some code in an effort to reproduce it. However, when my program called into IMAPISession::OpenAddressBook and gave the IID IID_IAddrBook for the lpInterface parameter it would return E_NOINTERFACE. This puzzled me because the method returns a pointer...
  • Blog Post: Recovering Personal Archive Mailboxes from a Recovery Database

    Personal archive mailboxes are new in Exchange 2010. They are designed to be a replacement for personal PSTs. They are better for Administrators who need to manage end users' personal repositories for email while at the same time ensure compliance and retention polices. The issue happens when an administrator...
  • Blog Post: How to use the Microsoft Exchange Troubleshooting Assistant (ExTra) to troubleshoot RPC Client Access issues

    I often ask customers to use ExTra to troubleshoot RPC Client Access issues. Rather then write this over and over again, here are the steps for using ExTra to troubleshoot a RPC Client Access issue. On the CAS Server that the MAPI client is connecting to run the following at the command prompt...
  • Blog Post: Managing Outlook Security Settings

    I got a question today about if one could set the Outlook Security Settings programmatically instead of requiring the user to go through the dialog in the Outlook UI. The answer is Yes, and the article below describes how to do it: How to Assign an S/MIME Certificate to a MAPI Profile for Use with...
  • Blog Post: Breaking Change : The System Attendant mailbox has been removed from Exchange 2010

    In previous versions of Exchange, the System Attendant (SA) Mailbox was used by the link monitoring service and for publishing Free / Busy information. However, this functionality is no longer needed in Exchange 2010. As such the mailbox has been removed. One catalyst to this change was the new High...
  • Blog Post: MAPI Forms don't launch when dowloaded from the Exchange Org Form Lib on Windows Vista

    After working this issue for just about six months I am finally at the stage where I can blog about this. Windows Vista changed the COM Activation model to prevent activiation of COM components registered in HKEY_CURRENT_USER when the COM client is running with elevated privileges. When a MAPI Form is...
  • Blog Post: MSPST and Session 0 Isolation don't mix

    I had a case recently where a customer was using the Microsoft Personal Storage Provider (MSPST) in a service. Everything was working fine until they moved to Windows Vista, the kernel objects MSPST uses (mutants, file mappings, etc) to allow two processes to synchronize access to the same physical ...
  • Blog Post: Accessing Exchange's Extended MAPI from a 64-bit Process *

    As you know Exchange 2007 has moved to the 64-bit space, however Exchange’s implementation of Extended MAPI did not. You can still download Exchange's Extended MAPI here , however it is only a 32-bit version. If you are moving your Exchange application to 64-bit you have some decisions to make. If...
Page 1 of 1 (23 items)