Print this page

Salesforce for outlook installation fails with .NET 4

Knowledge Article Number 000001002


The Salesforce for Outlook installation fails when the installer tries to install .NET Framework 4.0

An error message pops up during the install. Now pay attention to the error message since it may be slightly different

Example of these errors:

Error 1

Installation Did Not Succeed

.NET Framework 4.0 has not been installed because

Generic trust failure


User-added image


Error 2

Installation Did Not Succeed

.NET Framework 4 has not been installed because

HRESULT 0xc8000222

User-added image



This is NOT a Salesforce issue.


Possible Cause for Error 1

This could be related to a corrupted or a change in the list of root certificates on your computer to the list that is accepted by Microsoft as part of the Microsoft Root Certificate Program.

Microsoft has a utility that may fix this issue.

Possible Cause for Error 2

This behavior may occur if the temporary folder of Windows Update has been corrupted.



Solution for Error 1

1- Make sure Windows 7 UAC (User Account Control) is set to NEVER Notify (See Knowledge Article below for more information

2- Uninstall the following application from your computer

In Windows XP: Click on Start | Run and type in appwiz.cpl"

In Windows Vista/7: Click on Start and type in appwiz.cpl

3- On the list locate the follow applications and Uninstall them

- Salesforce for Outlook
- Microsoft office 20xx* Primary Interop Assemblies 

*Either 2007 or 2010 - For instance it could be Microsoft office 2010 Primary Interop Assemblies  

- Visual Studio 2010 Tools for Office Runtime

4- Next you need to register the following DLL files. To do this, simply click on Start | All Programs | Accessories and right click on the Command Prompt and run it as administrator.

5- Type the commands below one line at a time in the Command prompt and press Enter


Regsvr32 Softpub.dll
Regsvr32 Wintrust.dll
Regsvr32 Mssip32.dll

Regsvr32 Initpki.dll

** Make sure you get a success message after registering each one.


6- Now you would need to reinstall Salesforce for Outlook plug in. (This is with the assumption of the correct version of the .NET 4 is installed on the machine). 

To download .NET Framework 4.0 for 32 or 64bit operating systems

Solution for Error 2

1- Close Microsoft Office product and all your browsers

2- Next you need to open the 'Services' applet. To do this, follow the steps below:

In Windows XP, click on Start | Run and type in Services.msc

In Windows 7, click on Start and type in Services.msc in the Search field


3- In the Services windows, scroll down and locate the following service and right click on it and click on STOP. It might be different in Windows XP (AutomaticUpdates) and Windows Vista/Windows 7 (WindowsUpdate)

** Dont close this yet, since you have to restart this service on STEP 7



User-added image

4- Next press and hold down the Windows key on your keyboard and press R on your keyboard. This will open the RUN Command

5- Inside the RUN command box, type in %windir% 
This command will take you to your Windows system folder

6- In that folder, find the "SoftwareDistribution" folder and rename it to "SDold" - Right click on it and click on Rename

7- Go back to Services and Start the service you stopped on STEP 3

8- Now, try to install .NET Framework again

You can download a fresh copy from the link below


After you are done installing it, try to reinstall Salesforce for Outlook


Name Type Size

promote demote