Customization and programming tricks by Ronny Van der Snickt

Error on quote product: Precision must be an integer…

Had the following error when selecting a product on a quote detail form.

Precision must be an integer within the allowed range: 0 for integers, 0 to 4 for money, 0 to 10 for decimal, and 0 to 5 for float fields.

I first checked this.
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/8e02cea2-bef8-45d8-b67a-6cb360ad8f2c

But the selected item was already configured in the selected pricelist.
Read more »

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=4.0.0.0, 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.
<runtime>
<assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″>
<dependentAssembly>
<assemblyIdentity name=”Microsoft.Crm.Sdk” culture=”neutral” publicKeyToken=”31bf3856ad364e35″ />
<bindingRedirect oldVersion=”4.0.0.0″ newVersion=”5.0.0.0″ />
</dependentAssembly>
</assemblyBinding>
</runtime>

E-mail Router service failes to start after rollup 5

After installing Microsoft CRM Rollup 5 (incl. reboot) the email router service failed to start. In the event log the following error appeared: The E-mail Router service could not run the service main background thread.
Read more »