Dynamics CRM: The error is not always what you see

One of my customers has had an issue with their CRM system since I upgraded them from Dynamics CRM 4.0 to 2011. Basically the System Settings page will not allow you to make changes.  I got the following JavaScript error:

<ScriptErrorDetails>
  <Message>Object doesn't support property or method 'down'</Message>
  <Line>426</Line>
  <URL>/tools/systemsettings/dialogs/systemsettings.aspx</URL>
  <PageURL>/tools/systemsettings/dialogs/systemsettings.aspx</PageURL>
  <Function>anonymousr:Objectdoesn'tsupportpropertyormethod'down'</Function>
  <FunctionRaw>TypeError: Object doesn't support property or method 'down'</FunctionRaw>
  <CallStack>
   <Function>anonymousr:Objectdoesn'tsupportpropertyormethod'down'</Function>
  </CallStack>
 </ScriptErrorDetails>

 

So this is an error on the CRM page itself and there is not a lot I can do about it.  I just figured it was a bug in the system.

I’ve put up with it because it was not a huge issue for me, and I really didn’t want to spend any quality time working on a support case. I always figured that it was something that would be fixed by an update rollup.

We are in the process of migrating to Dynamics CRM 2015. The issue persists and now I can no longer ignore it. I have to make changes to the system settings. This also means that it is not server-specific, but something about the CRM databases, since that is the only commonality since I have migrated this system from 2011 to 2013 to 2015.

After asking my fellow MVPs if they had ever seen such an error, and not getting confirmation, my friend Gustaf recommended turning on platform tracing to try and capture the error. I thought that was a really strange thing to do since the error was obviously a JavaScript problem.

Or was it???

So I turn on tracing and captured these errors:

  • Duplicate DisplayName found for lcid ‘9242’ – ‘Serbian (Latin, Serbia)’.
  • Duplicate DisplayName found for lcid ‘10266’ – ‘Serbian (Cyrillic, Serbia)’.

Which have absolutely, nothing, and I repeat, nothing to do with the problem.

But it did led me to this thread:

https://community.dynamics.com/crm/f/117/t/115766.aspx

Which led me to the real problem.  The Email Attachment size setting was incompatible with CRM 201x.

Someone, at some point had set it to 90,120.  It turns out that the maximum value for that field is 32,768.  Which you will see should you try and enter it by hand.  But, since this was an import, it was not checked.  I lowered the value to 32K and that solved the issue.

Recap

So here is a recap of my findings:

  • I was receiving a JavaScript error saving System Settings.
  • A Platform Traced point to duplicate configuration information.
  • Which led me to a Google search which produced an thread on the Dynamics Community site.
  • Which pointed me to the real error.
  • Which I played around with until I found the real problem and answer.

 

Or, as I like to say:

These are not the droids we are looking for. Move along; Move along.

Leave a Reply 0 comments