Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Error message when a user tries to go offline in the Microsoft Dynamics CRM Client for Outlook: "An error occurred during deleting database"
Article ID: 2496443 - View products that this article applies to.
NoticeImportant This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
Consider the following scenario:
In this scenario, the second user cannot go offline. In fact, no other users can go offline. Additionally, you receive the following error message:
An error occurred during deleting database. Contact your Microsoft Dynamics CRM administrator for assistance and try going offline again.
Only one user can be configured to go offline in the Microsoft Dynamics CRM Client for Microsoft Office Outlook.
This behavior is by design. In Microsoft Dynamics CRM 2011, you can install and then configure the Microsoft Dynamics CRM Client for Outlook. Then, you can install the offline components by clicking the Go Offline button.
If you do not want users to be able to click the Go Offline button, you can use one of the following options.
Remove the Go Offline permissions for the users whom you do not want to be able to see the Go Offline button. To do this, follow these steps:
Disable the Go Offline button for all users on each computer, and then install the Microsoft Dynamics CRM Client for Outlook together by using the disableofflinecapability switch. To do this, follow these steps:
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
If you have already installed the Microsoft Dynamics CRM Client for Outlook, you can change the LightClient registry keys so that any new users who run the configuration do not see the Go Offline button. To do this, follow these steps:
Note When you change the registry entry in HKEY_CURRENT_USER, the change will affect only the user who is currently logged in. To apply the change to multiple users, locate their record under HKEY_Users\. Or, apply the key by using a Group Policy to multiple/other users.
If a user has already gone offline and a different user must be able to go offline on the same computer, you have to drop the database from the previous user. For more information about how to drop a SQL Express database, visit the following Microsoft Developer Network (MSDN) website: