Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"File already exists" error when configuring Microsoft Dynamics CRM for Microsoft Office Outlook


View products that this article applies to.

Symptoms

When attempting to configure Microsoft Dynamics CRM for Microsoft Office Outlook, you receive the following error:

"There is a problem communicating with the Microsoft Dynamics CRM server. The server might be unavailable. Try again later. If the problem persists, contact your system administrator.

File already exists. Try using a different database name. [ File name = C:\Users\<USER>\AppData\Local\Microsoft\MSCRM\Client\MetadataCache-5243bc89-09f7-4d12-b578-8efd890f5d7c.sdf ]..."

↑ Back to the top


Cause

This error can occur if a database file from a previous configuration already exists for your CRM instance.

↑ Back to the top


Resolution

Option 1 (CRM Online)

1. If you are using CRM Online, you can run the Microsoft Support and Recovery Assistant which can fix this issue for you.

2. Choose the Dynamics CRM Online option and then click "I'm having trouble installing, connecting, or enabling CRM for Outlook (Outlook Client)."

3. Continue through the wizard. The "Remove cache files used by CRM for Outlook" action should appear and will remove the existing file referenced in the error. 

4. Run the Microsoft Dynamics CRM Configuration Wizard again.



Option 2 (Manual)

If you are not using CRM Online or prefer to fix the issue manually, complete the following steps.

1. Close Outlook

2. Open Windows Explorer and navigate to <install directory>:\Users\<Your User>\AppData\Local\Microsoft\MSCRM\Client

Example: C:\Users\terryadams\AppData\Local\Microsoft\MSCRM\Client

NOTE: The AppData folder is hidden by default. You can change the View settings to show Hidden items or you can copy and paste the following path into your folder path:

%localappdata%\Microsoft\MSCRM\Client

3. Delete the file referenced in the error details.

4. Run the Microsoft Dynamics CRM Configuration Wizard again.

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 3183053
Revision : 1
Created on : 1/7/2017
Published on : 7/29/2016
Exists online : False
Views : 260