Automatic ILMerge on MSBuild

Automatic ILMerge on MSBuild

Every CRM developer at some point of his/hers carrier gets to this point: to merge or not to merge. Sometimes it just immpossible to avoid it. Why? Sometimes because it’s just easier, sometimes it’s just because of cloud environment. Sometime because client wants to. How to do it? Everyone has heared about ILmerge. Sure you […]

Local to global option set conversion

Local to global option set conversion

When there is a need of converting local to global optionSet we can use https://xrmoptionsetconverter.codeplex.com/. Everything works fine until this customization needs to be exported to another environment on which local optionSet is already declared and filled with data. Why? While importing customization error occures: OptionSetId cannot be changed. EnumAttributeInfo.AttributeDescription.OptionSetId(xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) != xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx; How does the tool really […]

The report cannot be displayed. (rsProcessingAborted)

The report cannot be displayed. (rsProcessingAborted)

After upgrading to CRM 2013 I had a strange ReportingServices error: The report cannot be displayed. (rsProcessingAborted) Sometimes the report result window was blank, depends on browser i use. Because front-end and sql server has been splitted I thought it could be a problem with server-server comunication. First thing I’ve check was accessing reports directly […]

CRM 2011 Increase email attachment size over 32Mb

CRM 2011 Increase email attachment size over 32Mb

Description: From time to time outlook client throws an exception while tracking email with attachments that attachment is too large. This is strange error due to fact that eg. email has two attachments (10Mb each) and CRM setting section is set to 32768 or 30720 (this two different values is another error). Below I describe steps which provides […]

CRM 2011, Unable to Change Domain Logon Name error

CRM 2011, Unable to Change Domain Logon Name error

After setting-up a new CRM server I tried to add new users. Unfortunatelly I got an exception: Unable to Change Domain Logon Name. Why?? Users I wanted to add had SystemAdministrator role. Solution Edit registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM and change AutoGroupManagementOff to 1. After that reset IIS and try to add user again.

Crm 2011 Import Failed: Root Component Insertion is unprocessed

Crm 2011 Import Failed: Root Component Insertion is unprocessed

After making some unsupported SQL modyfications I got exception during importing solution. Answer; First of all enable tracing, it has almost all info about exceptions, which says: Crm Exception: Message: No RowGuid attribute defined for shareable/publishable entity ProductPriceLevel, ErrorCode: -2147220970, InnerException: Microsoft.Crm.CrmException: No RowGuid attribute defined for shareable/publishable entity ProductPriceLevel.   After undoing SQL changes […]

Field flag getIsDirty() == false, why ?

Field flag getIsDirty() == false, why ?

Recently, I’ve came accross situation, that despite the fact that certain field has been change on CRM form, a javascrift flag getIsDirty() == false. I’ve  noticed that just after changing field value user is clicking ribbon button and that was the reason. Flag getIsDirty() is beeing set when form control loose focus – operating on […]