RollupField is not recalculating

RollupField is not recalculating

RollupField is not recalculating RollupField – yes, nice CRM >= 2015 feature. Theoretically a cure for all previous “manual” calculations. Of course it has some limitations but this post is not about that. MSDN documentation contains these informations anyway. Unfortunatelly I came across a major issue related with rollup field when it’s type is Money. When? […]

Linq LoadProperty method limits records for retrieving relations N:N – 5000

Linq LoadProperty method limits records for retrieving relations N:N – 5000

Linq LoadProperty Issue – Description Recently I had to fix some legacy code (one of the worst code I have ever seen) and improve requests performance. When reviewing the code everything looks fine. There was a OrganizationServiceContext generated by crmsvcutil. Because one of the property was N:N relation a LINQ LoadProperty method was used. Nevertheless business logic […]

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 […]

LookupAccountName failed with error, systemuser entity

LookupAccountName failed with error, systemuser entity

Info: Recently I came across that error at SystemUser creation pipeline. Reason: Wrong domain has been specified and/or user doesn’t exists in ActiveDirectory. Solution: Ensure correct domain prefix is specified and user actually exists in AD and is enabled. CrmVersion: 2011 OnPremises StackTrace info: at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Create(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) at Microsoft.Crm.Extensibility.InprocessServiceProxy.CreateCore(Entity […]