Script Errors in Microsoft Dynamics CRM 2011 – CRM Presence – Known Issues

By - October 18, 2011

RSM recently had an issue with all users on a particular environment receiving Internet Explorer script errors in the Microsoft Dynamics CRM 2011 Outlook client. The errors were primarily related to trying to view Dynamics CRM Accounts and Contacts that had JavaScript running on their Dashboard in Dynamics CRM 2011.

The log file below is showing the message of “Library not registered” as well as information around enabled “presence” which we found to be peculiar.

Log File:

Microsoft Dynamics CRM Error Report Contents




<Message>Library not registered.</Message>










<BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET CLR 1.1.4322; .NET4.0E)</BrowserUserAgent>


















After changing the notification settings within the system to not send messages to Microsoft, the users began experienceing the following script error.

Our initial thoughts were that this had something to do with the Internet Explorer settings not playing well with Dynamics CRM, so in following the normal troubleshooting steps in regards to Internet Explorer and Dynamics CRM – we had added the Dynamics CRM URL to the Trusted Sites and Intranet Sites, modified the advanced internet options with no success.

After further research we found that the IM presence setting is an instant messaging setting around Microsoft Lync (Previously Office Communicator) that if integrated correctly will display the current status for users, contacts, opportunities, or leads. We discovered that while this setting was enabled, it seemed to be causing some cross-confusion with the JavaScript running on the account and contact pages.

We found that the IM presence option is a setting in the general system settings within Microsoft Dynamics CRM. By navigating to:

Settings>>Administration>>System Settings you can select to disable this setting:

By: Bill Caldwell – Colorado Microsoft Dynamics CRM Partner 

Follow Bill on Google+

Bill Caldwell is a director and lead Microsoft Dynamics CRM consultant in the Denver, Colorado practice.  Bill is a certified Microsoft Dynamics CRM consultant and specializes in customizations, reports, customized queries and integrations.  Bill is an active member of the Dynamics community since joining RSM in 2007.  Bill is also experienced with the Microsoft development suites, which includes SQL Server, Visual Studio.Net and SQL Server Reporting Services.  Prior to this, Bill spent five years working in industry as an accountant and financial analyst. Contact Information: Email: Phone: 303.298.6465 Follow Bill on Google+

Receive Posts by Email

Subscribe and receive notifications of new posts by email.