ErrorSerializingRegFile – Plugin or Workflow Deployment Error

ErrorSerializingRegFile – Plugin or Workflow Deployment Error

ErrorSerializingRegFile  – when I first met with this one If you have found this post I assume that you have already looked for *.registerfile errors, plugin and workflow mismatches between register file and already registered items, deployment administrator security rights. ErrorSerializingRegFile – what that can mean? Everything during plugin deployment looks right, but is it? So […]

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

How to copy entire entity form ?

How to copy entire entity form ?

If you have several forms for entity, and you need to create new form based on previously created form there are two options: open form customization window and SaveAs simple copy form request can be used instead of inserting fields ony by one using Microsoft.Crm.Sdk.Messages; var stageAdapter = new CRMServiceAdapter("SERVER_NAME", "Stage"); var organizationService = stageAdapter.Proxy; […]

Reset CRMAppPool with all services

Reset CRMAppPool with all services

Sometimes there is need to perform “deep” reset of entire IIS envirionment. To do so You can use powershell script: $CRMSnapin = 'Microsoft.CRM.PowerShell'; if ( (Get-PSSnapin -Name $CRMSnapin -ErrorAction SilentlyContinue) -eq $null ) { Add-PSSnapin $CRMSnapin } #iisreset # Recycle only CRM Application Pool to free dlls. C:\Windows\System32\inetsrv\appcmd recycle apppool /apppool.name:CRMAppPool C:\Windows\System32\inetsrv\appcmd recycle apppool /apppool.name:CrmDeploymentServiceAppPool […]