A Freaky Microsoft Dynamics CRM Blog

Live and direct from California!

Exception from HRESULT: 0x8004020F

Exception from HRESULT: 0x8004020F

  • Comments 8

Since as of the 1st of May I am not only competing against Ben Vollmer, John Straumann, Simon Hutson and several other good CRM bloggers but I am now also facing a Team blog of the CRM Program Managers.

So I hope I dont loose you guys as my regular readers. I will do even harder my best to post items that can compete with them. So for today I have a nice item which happend to me a few times and I also face these questions during a Demo.

The Microsoft Dynamics
CRM 3.0 installation of SFO runs an error.
The Client setup fails and generates this error:
Action Microsoft.
Crm.Setup.Client.InstallAbpAction failed.
Exception from HRESULT: 0x8004020F.

08:59:27| Info| Executing Install action: Microsoft.
Crm.Setup.Client.InstallAbpAction
08:59:27| Info| MAPISVC.INF: C:\Program Files\Common Files\SYSTEM\MSMAPI\1035\mapisvc.inf
08:59:27| Info| Starting CrmForOutlookInstaller process. Log file is located at: C:\Documents and Settings\username\Application Data\Microsoft\MSCRM\Logs\crm30foroutlookinstaller- 2-18-2006.log
08:59:28| Info| Outlook Installer process Complete
08:59:28| Error| Outlook installer failed with hr = 8004010F
08:59:28| Info| Starting CrmForOutlookInstaller process. Log file is located at: C:\Documents and Settings\username\Application Data\Microsoft\MSCRM\Logs\crm30foroutlookinstaller- 2-18-2006.log
08:59:28| Info| Outlook Installer process Complete
08:59:28| Error| Outlook installer failed with hr = 8004010F
08:59:28| Error| LaunchOutlookInstallerProcess failed.(HRESULT = 0x8004010F) (abpinstaller.cpp:CAbpInstaller::DoInstallAbp:136).


The cause of this problem is that the SFO setup is trying to use the same language code of MAPISVC.INF on the environment to be installed. In this case, we try to install SFO v3 EN (1033) and the finding of the setup is the MAPISVC.INF Finnish (1035): so the matching is wrong and the installation failed.

This problem occurs because the Office 2003
MUI is installed before the Microsoft CRM client for Outlook.

Please, follow these steps to solve the problem:
1. Uninstall the Office 2003
MUI.
2. Start Outlook to verify that it works as expected.
3. Install the Microsoft
CRM client for Outlook. After the installation is completed, start the Microsoft CRM client for Outlook, and then verify that it works as expected.
4. Reinstall the Office 2003
MUI for the appropriate language.

  • What I did was to copy the MAPISVC.INF file from

    c:\Program Files\Common Files\System\MSMAPI\1031\
    to:
    c:\WINDOWS\System32

    after that the installation succeeded.
  • Thank you Mario for your solution/workaround. I hope that all people that are reading this and have similair or even better solutions will post it here as a comment.

    Cheers
    Tha Freak
  • Cool, but what is SFO?
  • SFO = Sales For Outlook. This was the name we used in version 1.2 and we kinda still use it. Officially it is now the Microsoft Dynamics CRM desktop or laptop Client.
  • I've not got this directory:

    C:\Program Files\Common Files\System\MSMAPI\1031\

    I tried instead to copy:

    C:\Program Files\Common Files\System\MSMAPI\1033\MAPISVC.INF
    C:\WINDOWS\system32\MAPISVC.INF

    Install (laptop client) continues to fail on Windows XP.
  • Exception from HRESULT: 0x8004010F
    I get the same error when trying to run the rule deployment wizard on a particular user.
    any ideas?

    <?xml version="1.0" ?>
    - <ArrayOfRequestResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <RequestResult>
     <RequestAction>DeployRule</RequestAction>
     <RequestStatus>Failure</RequestStatus>
     <ExceptionInfo>Microsoft.Crm.Tools.ExchangeConnectorDeployment.RuleDeploymentException: Failed to access the default store for the user. ---> System.Runtime.InteropServices.COMException (0x8004010F): Exception from HRESULT: 0x8004010F. at Microsoft.Crm.Tools.RulesWrapper.RulesClass.SetFolderToInbox(String bstrExchangeStoreDn, String bstrExchangeMailboxDn, LAST_ACTION& pnLastActionInfo) at Microsoft.Crm.Tools.ExchangeConnectorDeployment.RuleDeploymentSession.GetInboxRules(DirectoryEntry userDirectoryEntry) --- End of inner exception stack trace --- at Microsoft.Crm.Tools.ExchangeConnectorDeployment.RuleDeploymentSession.GetInboxRules(DirectoryEntry userDirectoryEntry) at Microsoft.Crm.Tools.ExchangeConnectorDeployment.RuleDeploymentSession.DeployRule(DirectoryEntry userDirectoryEntry, String crmEmailAddress, Boolean disabledMode) at Microsoft.Crm.Tools.ExchangeConnectorDeployment.RuleDeploymentRequest.ProcessNext()</ExceptionInfo>
  • Wierd. I've been looking at this.
    According to this article: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B915191 it should be possible to install CRM without uninstalling MUI's. The solutions does not work in our setup. But: If i go to Control Panel-->Regional Settings and set everyting to English, then it is possible for me to do the install.

    I'm working on a way to do this via scrips (change and change back to the original), but i'm not yet entirely sure of which settings to set.

    Does anyone have an idea?
  • I tried all these solutions but still get the problem - very strange.
Page 1 of 1 (8 items)
Leave a Comment
  • Please add 2 and 5 and type the answer here:
  • Post