Hresult 0x80070003
- Right-click the folder that contains the ApplicationHost.config file, or right-click the virtual or application directories that may contain the Web.config file.
- Thanks for your reply but haven't got a file web.config. I eventually even searched my C: for it and didn't find it.
- (Exception from HRESULT: 0x80070003) D:Trial.Deployment. Answered 9 Replies 4850 Views Created by Veena H - Tuesday, December 10, 2013 12:52 PM Last reply by Veena H - Friday, December 13, 2013 8:53 AM. Items 1 to 20 of.
Troubleshooting Office installation failures. 8/14/2020; 12 minutes to read; M; s; C; A; Applies to: Microsoft Office; In this article. This article was written by Eric Ashton, Senior Support Escalation Engineer. Hi, when try w3ith this code to access the remote computer Dim options As ConnectionOptions = New ConnectionOptions options.Username = 'shambhuremote' options.Password.
-->This article was written by Eric Ashton, Senior Support Escalation Engineer.
This article describes techniques on how to determine and fix Microsoft Office installation failures. The techniques can be applied to all Office installations that use Windows Installer (MSI).
Enable verbose logging
When you troubleshoot Office install failures, make sure that MSI verbose logging is enabled. In Office, there's a setup.exe log file that's created by default. However, it doesn't give the detail that's usually required to diagnose an installation failure. With verbose MSI logging enabled, you will get a verbose log file for each component that Office installs. You will have a verbose log for the installation of the Word component, Excel and so on.
To enable verbose logging, set the following registry keys:
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsInstaller
'Debug'=dword:00000007
'Logging'='voicewarmup'
For more information about Windows Installer logging, see How to enable Windows Installer logging.
Perform the installation attempt
If you are running your installation manually on the computer as a signed-in user by double-clicking setup.exe, the log files will be generated in the %temp% directory of the user who performs the installation.
Now that you have enabled verbose logging and know where you should look for the logs, just retry your installation. It's failed previously, expect it to fail again. However, this time, you are ready to capture log files that will be detailed enough to help you diagnose the failure point.
Analyzing logs
After your install attempt, you will find that you have somewhere between 1 and 20 logs from the installation in your temp directory.
Here is a screen shot of the verbose logs from an installation attempt.
When you look through the MSI logs, we will typically want to look for a value 3 entry in the logs. Windows installer returns codes during the installation that indicate if a particular function is successful or not.
- Value 1 = Success
- Value 2 = Cancel
- Value 3 = Error
In a good installation, you will typically not see any value 3 entries in the logs.
Therefore, there are many logs to verify. We recommend that you start with the setup.exe log. This log usually has a value 3 entry in it when there is a failure. However, this log is not clear enough to diagnose the issue. If it doesn't have a value 3 entry, look for the first instance of Rolling back package. Rolling back package indicates that the Office installation has failed and Office is trying to 'roll back' the installation. You should be able to identify the failure immediately at that point. As soon as you find value 3 or Rolling back package in the setup.exe log, you should be able to identify which component is failing, and then from there look for the particular MSI log that corresponds to that component.
There is frequently more than one value 3 or rolling back package entry. You should focus on the first entry that you find.
Here are some examples of Office installation failures and how we can identify the failure point.
Analyze log example 1: Office ProPlus 2010 installation
In this example, you don't find a value 3 entry in the setup.exe log, and then you search the setup.exe log for Rolling back package.
You may find the following error:
Error: Failed to install product: C:MSOCacheAll UsersGUID-CProPlusWW.msi ErrorCode: 1603(0x643).
Log level changed from: Standard to: Verbose
Rolling back chain
Date/Time Rolling back package: ProPlusWW
The error doesn't tell you why the installation failed. But it does tell you that the failure occurred during the installation of the ProPlusWW.msi file. Then, you have to find the verbose MSI log that correlates with ProPlusWW.msi.
Note
- If you know that the failure is in ProPlusWW.msi, but you don't want to waste time finding which MSI log is for ProPlus, it's usually the largest log file.
- If you don't know which log is the correct log for the ProPlusWW.msi component, open each log one at a time and scroll to the bottom. It indicates which component just tried to install or rollback.
For example, from the bottom of the MSIb0bc7.LOG, you see the information that resembles the following:
MSI (s) (50:CC) [Time]: Note: 1: 1724
MSI (s) (50:CC) [Time]: Product: Microsoft Office Outlook MUI (English) 2010 -- Removal completed successfully.
So this is the verbose MSI log for the Office Outlook MUI component, and the component is from the rollback (the installation failure occurred earlier than this rollback).
When you find the ProPlus log (it's the biggest one), you see the following information that indicates it is the ProPlus log:
Product: C:MSOCacheAll UsersGUID-CProPlusWW.msi
When you search the log for a value 3 entry, you may not find one, but you may see the following error at the bottom of the log:
MSI (s) (B0:14) [Time]: Internal Exception during install operation: 0xc0000017 at 0x7C812AFB.MSI (s) (B0:14) [Time]: WER report disabled for silent install.MSI (s) (B0:14) [Time]: Internal MSI error. Installer terminated prematurely.Out of memory. Shut down other applications before retrying.MSI (s) (B0:14) [Time]: MainEngineThread is returning 1603.
This is a known issue about Windows Installer. To fix this issue, install the hotfix. After you install the hotfix and restart, the installation is successful.
Analyze log example 2: Access 2010 stand-alone install
In this example, you don't find a value 3 entry in the setup.exe log, and then you search the setup.exe log for Rolling back package. You may find the following error:
Error: Failed to install product: C:MSOCacheAll UsersGUID-CAccessRWW.msi ErrorCode: 1601(0x641).
Log level changed from: Standard to: Verbose
Rolling back chain
Date/Time Rolling back package: AccessRWW
The error doesn't tell you why the installation failed, but it does tell you that the failure occurred during the installation of the AccessRWW.msi file. Looking through the log files, you may find a log for AccessRWW.msi:
Product: C:MSOCacheAll UsersGUID-CAccessRWW.msi
When you search for a value 3 entry, you find the following error:
CAInitSPPTokenStore.x86: OMSICA : Initializing CustomAction CAInitSPPTokenStore.x86CAInitSPPTokenStore.x86: Error: Failed to initialize the SPP Token store. HResult: 0x80070057.CAInitSPPTokenStore.x86:MSI (s) (2C:D0) [Time]: User policy value 'DisableRollback' is 0MSI (s) (2C:D0) [Time]: Machine policy value 'DisableRollback' is 0Action ended Time: InstallExecute. Return value 3.
To fix this issue, make sure that the network service is running, and then make sure that the following registry keys are present.
- HKEY_USERSS-1-5-20
- HKEY_USERSS-1-5-19
Analyze logs example 3: Office ProPlus 2010
In this next example, you find a value 3 entry in the setup.exe log that resembles the following:
MSI(ERROR): 'Error 1304. Error writing to file: C:WINDOWSwinsxsPoliciesx86_policy.8.0.Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_x-ww_5f0bbcff8.0.50727.4053.policy. Verify that you have access to that directory.'
Log level changed from: Standard to: Verbose
Not showing message because suppress modal has been set. Title: 'Setup', Message: 'Error 1304. Error writing to file: C:WINDOWSwinsxsPoliciesx86_policy.8.0.Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_x-ww_5f0bbcff8.0.50727.4053.policy. Verify that you have access to that directory.'
Message returned: 2
MSI(USER): 'Are you certain you want to cancel?'
MSI(INFO): 'Action ended 14:03:01: InstallExecute. Return value 3.'
When you see a value 3 entry in the setup.exe log, it will sometimes give you enough information to fix the issue without having to view the verbose MSI log. In this case, the verbose MSI log just repeated what we found in the setup.exe log.
In this case, you should consider updating .net framework, and verifying the permissions in c:windowswinsxs.
Known errors from verbose logs and possible resolutions
Hresult 0x80070003 - Error_path_not_found
Some of these suggestions discuss working with registry keys.
Warning
Follow the steps in this section carefully. Serious problems might occur if you change the registry incorrectly. Before you change it, back up the registry for restoration in case problems occur.
Error 1935
Error 1935. An error occurred during the installation of assembly component. HRESULT: 0x80070003. assembly interface: IAssemblyCache, function: CreateAssemblyCacheItem, assembly name: Microsoft.VC90.ATL,version='9.0.30729.4148',type='win32',processorArchitecture='amd64',publicKeyToken='PublicKeyToken'
MSI (s) (1C:9C) [Time]: User policy value 'DisableRollback' is 0
MSI (s) (1C:9C) [Time]: Machine policy value 'DisableRollback' is 0
Action ended Time: InstallExecute. Return value 3.
Solution
This most frequently occurs because of issues when you upgrade Office. First thing to try is to remove the earlier version of Office before you install a new version. You can remove the earlier version of Office automatically by using the appropriate tool from here. After you remove the earlier version of Office, try to install the newer version of Office.
1913
Error 1913: Setup cannot update file C:/windows/win.ini.Verify that the file exists in your system and that you have sufficient permissions to update it.
Cause
There's a known issue with Trend Micro that might be causing this issue and preventing the Office installation.
Solution
If you use Antivirus or other security software, consider uninstalling it, rebooting and trying the installation again.
Error 1714
Error 1714. Setup cannot remove the older version of Microsoft Office Product_Name 2007. Contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS, see C:DOCUME~1usernameLOCALS~1TempSetup00000d64PSS10R.CHM.
Solution
- Method 1: Remove the earlier versions of Office first if you try to perform an upgrade. For more information about how to remove Office, see Uninstall Office from a PC.
- Method 2: Perform a side-by-side installation instead of upgrading. (This is a Customize button).
Error 1719
Error 1719. Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact support personnel for assistance.
Cause
This issue occurs if the registry keys are corrupted or incorrect at HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmsiserver.
Solution
Method 1:
Export the msiserver registry key from a known good computer that uses the same OS and Windows Installer version.
Back up and then delete the existing msiserver key on the bad computer under:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmsiserver
Import the registry file from the known good computer to the bad computer.
Restart and then retry the installation.
Method 2:
Refer to 'The Windows Installer service could not be accessed' error message when you try to install Office.
Error 1406
Error 1406.Setup cannot write the value to the registry key CLSIDGUID. Verify that you have sufficient permissions to access the registry or contact Microsoft Product Support Services (PSS) for assistance. For information about how to contact PSS see C:UsersADMINI~1AppDataLocalTempSetup00000e64PSS10R.CHM.'
Log level changed from: Standard to: Verbose
MSI(INFO): 'Action ended Time: InstallExecute. Return value 3.
Cause
This error indicates incorrect registry permissions. In this example, you would find incorrect registry permissions on HKEY_CLASSES_ROOTCLSIDGUID.
Solution
The user account that's being used to install Office has to have access to the registry key in question. You can also compare registry permissions on a device where the installation is successful.
Error 1920
Hresult File Not Found
Error 1920. Service 'Office Software Protection Platform' (osppsvc) failed to start. Verify that you have sufficient privileges to start system services.
Log level changed from: Standard to: Verbose.
MSI(INFO): 'Action ended Time: InstallExecute. Return value 3.
Cause
This error indicates possible incorrect permissions on the OfficeSoftwareProtectionPlatform folder, or incorrect permissions on HKEY_CLASSES_ROOTAPPID.
Solution
Method 1:
Give the Network Service account full permission on the OfficeSoftwareProtectionPlatform folder.
Method 2:
- Compare the permissions on HKEY_CLASSES_ROOTAPPID from a good computer, with the problem computer.
- Try granting 'Restricted' to the following permissions: Query Value, Enumerate Subkeys, Notify, and Read Control.
Error: IHxRegisterSession::CreateTransaction() returned 8004036e
IHxRegisterSession::CreateTransaction() returned 8004036eBeginTransaction() ERROR: Attempt failed because another transaction was running.
Trying to Rollback current transaction ({GUID})IHxRegisterSession::ContinueTransaction() returned 80004005.
BeginTransaction() ERROR: Could not restart current transaction.
BeginTransaction() ERROR: Could not Rollback current transaction. HelpFile registration will abort.
Registration session {GUID} was not created.
Action ended Time: InstallFinalize. Return value 3.
Solution
Refer to KB 927153 The 2007 Office suite or the 2010 Office suite Setup program will not restart after an initial installation is interrupted.
Error: Failed to register plugin. HResult: 0x80070005
MSI (s) (08:6C) [Time]: Invoking remote custom action. DLL: C:WINDOWSInstallerMSI4D4.tmp, Entrypoint: CAInstallSppPlugin
CAInstallPlugin.x86: OMSICA : Initializing CustomAction CAInstallPlugin.x86
CAInstallPlugin.x86: Registering PlugIn 'C:Program FilesCommon FilesMicrosoft SharedOfficeSoftwareProtectionPlatformOSPPOBJS.DLL' 'C:Program FilesCommon FilesMicrosoft SharedOfficeSoftwareProtectionPlatformosppobjs-spp-plugin-manifest-signed.xrm-ms'
CAInstallPlugin.x86: Error: Failed to register plugin. HResult: 0x80070005.
CAInstallPlugin.x86:MSI (s) (08:58) [Time]: User policy value 'DisableRollback' is 0MSI (s) (08:58) [Time]: Machine policy value 'DisableRollback' is 0
Action ended 12:32:42: InstallExecute. Return value 3.
Cause
Policies on the problem computer (local or through a Group Policy object (GPO)) is misconfigured.
Solution
- Type Gpedit.MSC in the search box to open Local Group Policy Editor.
- Locate Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.
- Make sure that everyone has rights on the Bypass traverse checking policy. By default, Everyone is listed in Security Setting.
For more information, see Client, service, and program issues can occur if you change security settings and user rights assignments.
Error 0x80070005: CAQuietExec Failed
CAQuietExec: 'wevtutil.exe' im 'C:Program FilesMicrosoft OfficeOffice14BCSEvents.man'CAQuietExec: The publishers and channels are installed successfully. However, we can't enable one or more publishers and channels. Access is denied.
CAQuietExec: Error 0x80070005: Command line returned an error.CAQuietExec: Error 0x80070005: CAQuietExec Failed
CustomAction RegisterEventManifest returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (88:04) [Time]: User policy value 'DisableRollback' is 0MSI (s) (88:04) [Time]: Machine policy value 'DisableRollback' is 0
Action ended Time: InstallExecute. Return value 3.
Cause
This issue may occur because permissions are set incorrectly on the 'C:WindowsSystem32winevtLogs' folder.
Solution
Grant Everyone full rights to that folder, and then retry the installation. If this is successful, you can remove the Everyone group afterward.
Error 0x800706b5: CAQuietExec Failed
CAQuietExec: 'wevtutil.exe' im 'C:Program FilesMicrosoft OfficeOffice14BCSEvents.man'CAQuietExec: The publishers and channels are installed successfully. However, we can't enable one or more publishers and channels. The interface is unknown.
CAQuietExec: Error 0x800706b5: Command line returned an error.CAQuietExec: Error 0x800706b5: CAQuietExec Failed
CustomAction RegisterEventManifest returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)MSI (s) (6C:84) [Time]: User policy value 'DisableRollback' is 0MSI (s) (6C:84) [Time]: Machine policy value 'DisableRollback' is 0
Action ended Time: InstallExecute. Return value 3.
Cause
This issue may occur if the Windows Event Log service is not running.
Solution
- Click start or search, type services.msc, and then press Enter.
- Scroll down to the Windows Event Log service, and make sure that it's set to automatic. If it is not running, right-click it, and then select Start.
You may receive an error that resembles the following:
Error 4201: The instance name passed was not recognized as valid by a WMI data provider.
In this case, do the following actions:
- Check the permissions on the 'c:windowssystem32logfileswmiRTbackup' folder.
- If the system account doesn't have Full control permission, grant the system account Full control permission, and then restart the system.
- Check and see whether the Windows Event Log service is started in services.msc. If it is now started correctly, try your Office installation again.
Cause:
This error occurs if the server administrator does not have permissions to the local security policy on Microsoft Windows 2008 server.
Solution:
Although the error occurs during installation, the certificate might still install successfully. Check the bindings to see if the new certificate is available to be assigned. If the SSL certificate is not in available in the bindings list then proceed with the below instructions to set the appropriate permissions.
To bind the certificate to the web site, perform the following steps:
- Click Start > Administrative Tools > Internet Information Services (IIS) Manager
- Browse to your Server Name > Sites > Your SSL-based site
- From the Actions pane, choose Bindings
- In the Site Bindings window, choose Add
- From the Add Site Bindings window, provide the binding type as HTTPS
- Select the SSL certificate that will be used for this site
- Click OK
- Test the if the site is secure by using HTTPS
Exception From Hresult: 0x80070003
Step 1: Applying the permissions to the local security policy
Local Security Policies
- Start -> Control Panel -> Administrative Tools -> Local Security Policy
- Navigate to SecurityLocal PoliciesSecurity Option
- DCOM: Machine Access Restrictions - Add Anonymous, Everyone, Interactive, Network, System with full rights options set.
- Network Access: Let everyone permissions apply to anonymous users - Set to Enabled
- Network Access: Sharing security model for local accounts - Set to Classic
Excel Error Hresult 0x800a03ec
DCOM Configuration
- Click Start -> Run
- Enter DCOMCNFG and press OK. This will open the DCOMCNFG window.
- Browse down the tree to Console Root -> Component Services -> Computers -> My Computer
- Right click on 'My Computer' and select properties
- Select the 'Default Properties' tab
- Enable Distributed COM on this computer - Option is checked
- Default Authentication Level - Set to Connect
- Default Impersonation Level - Set to Identify
- Select the 'COM Security' tab
- Click on 'Access Permissions' Edit Default
- Add 'Anonymous', 'Everyone', 'Interactive', 'Network', 'System' with Local and Remote access permissions set.
- Click 'Launch and Activation Permissions' Edit Default
- Click OK
- Close the DCOMCNFG window
Step 2: Install the SSL certificate without using IIS 7
The following solution describes how to resolve the permissions issue using a workaround of installing the certificate without using the Complete Certificate Request feature IIS 7.
Exception From Hresult 0x80070003
- Right click on the certificate file
- Select Install Certificate
- The Certificate Import Wizard will open, select Next
- Select Place all certificates in the following store > Browse > Personal > OK
Hresult Codes
Once the certificate is imported, bind the HTTPS protocol to a Web Site in IIS 7 and assign the installed certificate by following these steps:
- Click Start > Administrative Tools > Internet Information Services (IIS) Manager
- Browse to the server name > Sites > the SSL-based site
- From the Actions pane, choose Bindings
- In the Site Bindings window, choose Add
- From the Add Site Bindings window, provide the binding type
- Select the SSL certificate that will be used for this site
- Click OK