Salesforce for Outlook does not connect and stays gray in the system tray
|Knowledge Article Number||000187929|
Salesforce for Outlook runs but stays gray and when you click on SFO Settings and error message is throws "%1 is not a valid Win32 application"
Trace.log will contain this error or similar
An error occurred attempting to open the Settings Wizard: System.ComponentModel.Win32Exception (0x80004005): %1 is not a valid Win32 application
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object args)
at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
at Sfdc.Application.SystemTrayForm.ExecuteInMainThread(Action function)
at Sfdc.Application.SystemTrayForm.OpenFormSynchronization(Action function)
AddinTrace.log will contain this error or similar
Got an error pinging: Factory= 17153280, The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.
This is related to a corrupted .NET installation on the user's machine
You need to be a local administrator on your computer to be able to perform the following. Your best option is to ask one of your IT team members to perform these steps
1- First of all close all your applications
2- Download and run the .NET repair tool from here
3- Next, from Control Panel uninstall the following
Microsoft .NET 4.0 (client and extension) as well as .NET 3.5
If you have Windows XP the .NET 3.5 should be listed in the Add/Remove programs but if you have Windows 7 or 8 you need uninstall .NET 3.5 from the Windows Features.
If you have Windows 8, Microsoft .NET 4.5 replaces the .NET 4.0 and you won't see any .NET installation in the list of installed programs in the Control Panel. You need uninstall .NET 3.5 as well as .NET 4.5 from the Windows Features.
Simply navigate to Control Panel\Programs\Programs and Features and click on Turn Windows features on or off
4- Also when you are in the Control Panel\All Control Panel Items\Programs and Features in Windows 7 or 8, do a search for .NET and make sure there are no other versions installed. If there are, uninstall them
If for some reason you are unable to uninstall any of the .NET applications you may have to use the .NET cleanup utility or MSI Cleanup Utility attached
5- After you uninstall all .NET installations, you must restart the computer
6- After computer is restarted, use the Windows key on on your keyboard with R (Win key and R combination) top open the Run command and type in %temp% in the box and press enter.
Select all the content and delete them all. You won't be able to delete a few folders since they may be locked by running applications such Anti virus or GotoMeeting so simply click on skip on the prompt(s)
7- Reinstall .NET 3.5 from Microsoft if you have Windows XP (from the link below provided) or if you have Windows 7 or 8, you need to install it by checking the box for .NET 3.5 from the Windows Features (see screen shot in step 3 above)
Download .NET 3.5 for Windows XP
8- Next, you will need to restart the computer and then install the .NET 4.0 or 4.5 if you have Windows 7 or .NET 4.5 if you have Windows 8 (same way you as .NET 3.5 simply check the box for it in the Windows feature window)
Download and Install Microsoft .NET 4.0 from Microsoft
Next, download and install Salesforce for Outlook and try to reproduce the issue