Error: The given key was not present in the dictionary

September 2, 2011 by Geron Profet · 2 Comments 

Today I had the following error "The given key was not present in the dictionary" in MS CRM when opening an associated view.

 
Searching for a solution I came accross many blogs indicating that plugins might be the cause.
As it turned out I had deleted a picklist option from the entity without reassigning the existing data [...]

Maximum of 5000 responses from a FetchXml

July 5, 2011 by Peter van Amerongen · 1 Comment 

Recently I was working with the Periodic Workflow Tool. I tried to run some workflows on an imported record set (about 26.000 records). This all seemed to work fine, but later we discovered that the workflows didn't run on all the records…
Soon I discovered that only the first 5000 records in the view were processed, after [...]

Error loading external JavaScript file on Win2k8, IIS7.0

May 16, 2011 by Geron Profet · Leave a Comment 

I’m using the following code in the entity’s OnLoad event to load an external JavaScript file in MS CRM.
===================================
function LoadFile(url, cache)
{
var httpRequest = new ActiveXObject('Msxml2.XMLHTTP');
httpRequest.open('GET', url, false);
if (!cache) {
httpRequest.setRequestHeader('If-Modified-Since', 'Sat, 1 Jan 2000 00:00:00 GMT');
}
httpRequest.send(null);
return httpRequest.responseText;
}
LoadFile('/ISV/scripts/accounts.js', false)
We recently migrated our CRM Server to Windows 2008, with IIS 7.0.
This worked fine on Windows [...]

Outlook 2011 configuration issue

April 11, 2011 by Roy Wonodikromo · Leave a Comment 

Last week I installed Microsoft Dynamics CRM 2011 for Microsoft Office Outlook and encountered a peculiar issue. The installation went just fine, but when I tried to add an organization within the configuration wizard I received an error message. When I press "Test connection", it worked just fine, but when I press on OK, it [...]

Mail merge not possible on Sales Order entity in MS CRM

October 28, 2010 by Geron Profet · Leave a Comment 

Apparently the mail merge option is not available on the Sales Order entity in MS CRM 4.0. I found an article on the Dynamics CRM community by MayankP describing an unsupported  workaround for this:
Following article will help you enable mail merge of any CRM entity. Again note that this is [...]

Cannot change domain for existing user in MS CRM

October 28, 2010 by Geron Profet · 1 Comment 

Like us you probably have multiple domains set up for developing, testing and production. Once in a while you want to restore a clean copy of production on you development and test environment.
Normally CRM maps all the users correctly providing that they have been added to the development and test domains. Users that are not [...]