Clearing Microsoft Dynamics CRM Common Script Error

By - February 10, 2014

Many companies that use Microsoft Dynamics CRM, use it along with the Microsoft Outlook plug-in.  This offers the ability to track their Outlook email, tasks and appointments inside Dynamics CRM. There are times when the versions of Dynamics CRM, Outlook and the plugin get out of sync, usually due to some sort of update – whether automated or manual. When this does happen, it might manifest itself by throwing script errors when the user is in Outlook viewing their Dynamics CRM data – these script errors do not happen when logging in directly to Dynamics CRM via the web.

Clearing CRM Common Script Error 1

If the error is due to some code referring to a version of a webpage that isn’t the newest version, it sometimes helps to clean out your temporary files in both Internet Explorer and on your computer. Using the following steps will ensure your are not caught in this dilemma.

I have Windows 7 on my machine but most operating systems (OS) will have similar navigation.

IMPORTANT – close down every application you have open.

Go to your Start  button and click Run

Clearing CRM Common Script Error 2

Enter %temp% and then OK

Clearing CRM Common Script Error 3

This opens up your temp folder where your temporary files are being stored and where a lot of applications store information to reference. Clearing these out will allow create new tmp files next time you login to your applications and therefore you will have the latest version available.

Clearing CRM Common Script Error 4

Then you can click on File and delete (or use delete on your keyboard or right mouse click when hovering over the files and use delete from there).

You will receive a message box confirming deletion – go ahead and click Yes. You may receive some errors stating that the file can’t be deleted – either log out of the referenced application or skip the deletion.

Clearing CRM Common Script Error 5

One down! Now go to your start button again but this time, type in cmd to get a command prompt. Once the cmd window opens type in ipconfig/flushdns and then enter on your keyboard.

Clearing CRM Common Script Error 6

You will receive a message like the following: Clearing CRM Common Script Error 7

Close the cmd window and this step is now complete.

Lastly, clear your temp files out of your browser.

Open Internet Explorer and go to Tools on the menu

Clearing CRM Common Script Error 8

Clearing CRM Common Script Error 9

When it is complete you will receive a message stating that the deletion has been completed.

Clearing CRM Common Script Error 10

If you are looking for Support for Microsoft Dynamics CRM, we are a recognized national partner with local offices throughout the United States. Contact our professionals at crm@mcgladrey to learn how we can help you with your system.

By: Paul Duckworth – Microsoft Dynamics CRM partner in Colorado


Paul Duckworth is a D365 Customer Experience Manager with an ESG specialty specializing in the Industrials practice at RSM. He has been implementing D365 CE systems for 20 years focusing on solution design and architecture. Recently he has been focusing on the Manufacturing and Renewable Energy industries.

Receive Posts by Email

Subscribe and receive notifications of new posts by email.