Customization and programming tricks by Ronny Van der Snickt

DataValue Undefined in internet explorer 10

Using MS CRM 2011(rollup 12) I found out that does not work anymore in IE 10. After setting compatibility mode for the site the DataValue property worked again. Keep this in mind if you haven’t upgraded your javascript code to use the new api and you want to use IE 10.


Oguz Kaan Akyalçın pointed out the HTC option, apparently turning it off and on again and then close IE 10 does the trick as well.

CRM Fix for HTC

MS CRM 4.0 workflow assembly in a MS CRM 2011 solution

Just got this error when uploading a crm 4.0 workflow assembly in a CRM 2011.
Could not load file or assembly ‘Microsoft.Crm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0×80131040)
Found the solution at Rick Wilson blog link
Just add this after the configSections section in the web.config of the CRM 2011 website.
<assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″>
<assemblyIdentity name=”Microsoft.Crm.Sdk” culture=”neutral” publicKeyToken=”31bf3856ad364e35″ />
<bindingRedirect oldVersion=”″ newVersion=”″ />

Show the number of records and space for each database table.

I created a nice SQL query today to show the number of records in each table in a database and the space it takes in the database in megabytes.

Very handy to see why some MS CRM databases are so big.