Archive

Posts Tagged ‘outlook client’

Issues faced while setting up outlook client – CRM 2015

I recently started working on migration project CRM 2011 to 2015.

In this article I am going to focus various issues I encountered during Organization configuration on  Outlook client.

Issues faced with installation

First to go with, I had issues while installing the software. Below are logs from event viewer and logs.

  • Error from installation log: Installation of Microsoft Dynamics CRM for Outlook failed. Exit code: 1603. Result: Fatal error during installation
  • Error from Event Viewer: Product: Microsoft Dynamics CRM 2015 for Microsoft Office Outlook — Error 1309. Error reading from file: ..\PFiles\MSCRM\Client\res\web\_static\_forms\accessprivilegebehavior.js. System error 3.  Verify that the file exists and that you can access it.

Fix :

  • We should clear failed installation components from the system before we proceed with installation, which include Registry Entries and installed software’s from ‘Control Panel’ (Refer answer from this post)
  • Regarding missing “\_forms\accessprivilegebehavior.js” file error, I had to re-download the CRM 2015 Outlook Client from here 
  • Make sure you download correct version (X64 or X36) based on your machine OS version.

Issues faced while configuring organization

Data Encryption feature not activated

  • I got below error with message “There are encrypted fields in the organization database, but the data encryption feature isn’t activated. Contact your Microsoft Dynamics CRM system administrator to activate data encryption. To activate, go to System Settings > Data Management > Data Encryption”
Data Encryption Feature Not Activated

Data Encryption Feature Not Activated

Reason

  • As mine was upgraded project, when we restore/import a database, data encryption is disabled by default, even if it was enabled in the system we took a backup from.
  • This is because the encryption settings are stored in the Configuration database, so the .bak file does not contain these settings

Fix

  • As error message suggests we need to activate data encryption in CRM application “System Settings > Data Management > Data Encryption”
  • But when I opened I got another error ‘Enable the HTTPS protocol and try again’.
HTTPS protocol is required

HTTPS protocol is required

  • But I cannot enable HTTPS immediately so the workaround is set ‘DisableSSLCheckForEncryption’ to True (1) in CRM
Query - Disable SSL Check

Query – Disable SSL Check

 UPDATE DeploymentProperties
SET BitColumn = 1
WHERE
ColumnName = ‘DisableSSLCheckForEncryption’

  • After setting “DisableSSLCheckForEncryption” to 1 using query, come back to ‘Data Encryption’ window and provide any 10 digit key as ‘Encryption Key’ and click ‘Activate’
Provide Encryption Key and Activate

Provide Encryption Key and Activate

  • Note : If current user is not part of ‘PrivUserGroup’ we would get below error. Make sure you add the User to ‘PrivUserGroup’ in Active Directory.
Error if User not part of 'PrivUserGroup'

Error if User not part of ‘PrivUserGroup’

SQL Timeout Error while setting up Organization

  • Since mine was upgraded project which is huge is in size I got SQL time out error while configuring organization using ‘Configuration Wizard’

Fix

Set OLEDBTimeout Reg Key

Set OLEDBTimeout Reg Key

Please do post if you face any other issues.

🙂

Categories: CRM 2015 Tags: ,

The user authentication passed to the platform is not valid error – CRM 2011

February 8, 2013 Leave a comment

We were getting below exception when we click “Track in CRM” button from CRM 2011 outlook client

The user authentication passed to the platform is not valid

User Authentication Invalid

User Authentication Invalid

Fix

We fixed the issue by providing the “Act on Behalf of Another User” privilege to the User’s security role

Act on Behalf of Another User

Act on Behalf of Another User

So what is this privilege “Act on Behalf of Another User”?

  • This privilege defines whether the user can impersonate another user.
  • For example, you might want the system administrator to impersonate another user to act on behalf of the other user when doing some operations.
  • Impersonation is only possible using the SDK and plugins, not in the application.

Another scenario

  • You would get the same exception when you try to login to CRM with specific users.
  • The reason could be your CRM user’s AD account is either deleted or re-created with different domain name.
  • Refer this link for the resolution steps

CRM 2011 quick optimization guide

December 26, 2012 Leave a comment

Here is the MSDN article on quick optimization of CRM 2011

CRM 2011 Optimization Guide

It has optimization settings by sections and below are the direct links

Here is the link to white paper on “Optimizing and Maintaining Client Performance for Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online”

Optimizing and Maintaining Client Performance

🙂