Ask Search:
Sonny MercadoSonny Mercado 

im not able to log in to salesforce for outlook due to error "Unable to connect

im not able to log in to salesforce for outlook due to error  "Unable to connect to the remote server. A socket operation was attempted to an unreachable host. "

Appreciate any assistance, thanks

Arijit MajeeArijit Majee
Hello Sonny,

which outlook edition you are using?

i got this from salesforce Knowledge:
Check the server & last option.

Why can't I login using the Connect for Outlook plug-in?


Knowledge Article Number: 000004502


Description

Under some conditions, Connect for Microsoft Outlook users may get an error when trying to connect to Salesforce from their Outlook client.

Here's a checklist to go through to catch the common culprits for this error:




Resolution

 

1. Verify your username and password combination.

Has your Salesforce login information changed recently? Try logging on to www.salesforce.com directly from Internet Explorer and verify that the same username/password combination you're using in Outlook Edition works

 

2. Do you need to use an API Security Token?

A security token is an automatically-generated key that you must add to the end of your password in order to log in to Salesforce.com from an untrusted network. For example, if your password is mypassword, and your security token is XXXXXXXXXX, then you must enter mypasswordXXXXXXXXXX to log in. Security tokens are required whether you log in via the API or a desktop client such as Connect for Outlook, Connect Offline, Connect for Office, Connect for Lotus Notes, or the Data Loader.

You are offered a security token if you try to access Salesforce.com from an untrusted network. Once you have been issued a security token, you have the option to reset this security token at any time.

If you need to use the API Security Token, you would see the “Reset Security Token” link under:

Setup ➤ My Personal Information

If you have never been offered a security token, for example, because your organization restricts the IP addresses from which you can log in, the Reset Security Token node does not appear in Setup and you do not need to use one.

1. Login to Salesforce.com from the Internet Explorer (or any other browser)

Go to Setup > Personal Setup > My Personal Information > Reset Security Token

2. Click on the gray "Reset my security token"

3. Check email for new Security Token password

4. Double click on the security token to select it and then right click on it to copy it (make sure you do not copy any white spaces)

5. Go to Outlook > Tools > Salesforce Options

6. Enter your Salesforce password and paste the API Security Token right after your password.

**You can use the ctrl + v key combination on your keyboard to paste the token in the password box

7. Click verify and after few seconds you should see the “Successfully logged into Salesforce.com” pop-up message.

8. Click OK

 

3. Is your Profile in Salesforce enabled for Connect for Microsoft Outlook access?

Administrators have the capability to allow or deny access to Connect for Microsoft Outlook through the user Profile settings. For more information on this feature, search our Help section under 'Client Auto Update'.

 

4. Are you trying to connect to Sandbox or production organization?

Is the user you're connecting with on a Sandbox account. or other non-production Salesforce server? If so, check that the server URL destination being used by Connect for Microsoft Outlook is pointing to the right location.

See the following 2 Articles (Article #6591 and Article #4759)

 

5. Connectivity Issues

If it is not an issue with the username or password/token, it is a connectivity issues. Most of the connectivity issues are related to Internet Explorer settings. Users may see error messages such as

 

SFWinInet::Send::HttpSendRequestEx

Win32Error::

System cannot find the file specified

 

"Win32Error::

The system cannot find message text for message number 0x%1 in the message file for %2"

 

Unable to send request to server.

The system cannot find the file specified

 

and more similar erros. This type of error message could be related to any of the following:

 

INTERNET EXPLORER (IE) IS WORKING OFFLINE:

You need to make sure IE is not working offline. Most cases user’s default browser is not Internet Explorer and Internet Explorer goes to “Work offline” mode. To make sure IE is not offline, follow the steps below

1- Open Internet Explorer and try to surf the net to automatically put Internet Explorer in the online mode or

2- Click on File and make sure there is no check mark by “Work Offline”

** If you don't see the “File” or any of the menu items, you need to check the “Menu Bar” from the “Tools” menu on the top right of Internet Explorer (see the image below)

3- Make sure you can surf the web and have internet connectivity

4- Close all Internet Explorer and reopen the Internet Explorer (do not skip this)

5- Close and re-open Microsoft Outlook go to Tools | Salesforce Options and from the General tab, click on “Verify” and see if you are able to login successfully

 

CERTIFICATE ISSUE

1- Open Internet Explorer if it is not open already

2- Click on Tools | Internet Options

3- Click on the “Advanced” tab

4- Scroll down to “Security” section

5- Make sure the box for “Check for server certificate revocation*” is unchecked

6- Close all Internet Explorer and reopen the Internet Explorer (do not skip this)

7- Close and re-pen Microsoft Outlook go to Tools | Salesforce Options and from the General tab, click on “Verify” and see if you are able to login successfully

 

EXISTENCE OF A PROXY SERVER

If there is a Proxy server on the network users need to configure their Internet Explorer with the proxy server name and port # manually.

Our client applications such as Connect for Microsoft Outlook, Offline, and connect for Office do not support “Automatically detect proxy settings”

Please follow the steps below to check the Proxy settings on the computer.

Note** They may need to contact their IT department for the proxy server information

1- Open Internet Explorer if it is not open already

2- Click on Tools | Internet Options

3- Click on the “Connections” tab

4- Click on the "LAN settings" Button

5- On the “Local Area Network Settings” screen, make sure you have the correct proxy setting for you LAN. You need to obtain this information from your IT department

6- Make sure the first box is not checked (Automatically Detect Settings)

7- If user needs have a proxy script, check the second box and enter the proxy script address (provided by user’s IT team)

8- And finally if there is a proxy server name and port number, check the 3rd box and populate the information

9- Close and reopen Internet Explorer

10- Open Microsoft Outlook go to Tools | Salesforce.com Options and from the General tab, click on “Verify” and see if you are able to login successfully

 

YOU CAN ALSO CHECK THE PROXY SETTINGS TRU THE WINDOWS REGISTRY EDITOR:

1- Close Internet Explorer windows and Microsoft Outlook

2- Open Registry Editor

For Windows XP: Click on Start | Run and type in REGEDIT

For Windows Vista/7: Click on Start and type in REGEDIT in the Search box

2- Navigate to the registry key "ProxyEnable" under "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

3- Make sure its value is 0

If not click on the name ProxyEnable and set the value to 0 close the editor

 

ONE LAST THING TO TRY

 

If none of the above options resolved the issue, you can try:

1-Close Microsoft Outlook

2-Navigate to Windows Registry

For Windows XP: Click on Start | Run and type in REGEDIT

For Windows Vista/7: Click on Start and type in REGEDIT in the Search box

3. In Windows Registry Editor, navigate to the HKEY_CURRENT_USER\Software\Salesforce.com\

4. Click on the SM folder and delete it

5. Close Windows Registry Editor

6. Next navigate to :

For Windows XP: C:\Documents and Settings\<username>\Application Data\salesforce.com\

For Windows Vista/7: C:\Users\< your user name>\AppData\Roaming\salesforce.com\

**Application Data folder is a System Hidden folder and may not be visible. To view hidden folders see the following links from Microsoft

 

For Windows XP

http://www.microsoft.com/windowsxp/using/helpandsupport/learnmore/tips/hiddenfiles.mspx

 

For Windows Vista/Windows 7

http://windows.microsoft.com/en-US/windows-vista/Show-hidden-files

 

7. Delete the ‘SM’ folder

8. Go up one level delete the .Salesforce.com (dot salesforce.com) folder as well. This folder is in:

For Windows XP: C:\Documents and Settings\<username>\Application Data\

For Windows Vista/7: C:\Users\< your user name>\AppData\Roaming\

9. Reopen Outlook and complete the wizard and then go to Outlook | Tools | Salesforce.com Options | General tab and type in your username/password (token) and click on the Verify button

10. You should be able to login successfully

.
Brent DowneyBrent Downey
Try existing Salesforce for Outlook by closing out the program entirely (right clicking on the icon in the system tray and click Exit). Also close Outlook. Open Outlook and let Salesforce for Outlook open automatically. If you are still receiving the error, uninstall the software and reinstall. That should fix the issue.
Semira RoySemira Roy
Arijit Majee I found most of the information but yours is very detailed. Very helpful too. Thanks.