Dynamics CRM Error : Importing Solution – Fields that are not valid were specified for the entity

Fields that are not valid were specified for the entity

When you try to import a solution to another environment if you get an error like this. That error is about field of incompatibility so you must find that incompatibility and delete that field from it there where you want to import

For example :

  • You have a nvarchar field in development environment and have an integer field as same fieldname in test environment.
  • new_age (string)  VS new_age (integer).

 

Read More

ExecuteMultipleRequest For Bulk Operation

You can use the ExecuteMultipleRequest message to support higher throughput bulk message passing scenarios in Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update, particularly in the case of Microsoft Dynamics CRM Online where Internet latency can be the largest limiting factor. ExecuteMultipleRequest accepts an input collection of message Requests, executes each of the message requests in the order they appear in the input collection, and optionally returns a collection of Responses containing each message’s response or the error that occurred. Each message request in the input collection is processed in a separate database transaction.ExecuteMultipleRequest is executed by using the IOrganizationService.Execute method.

  • For Online CRM, maximum Batch Size is 1000. So, for Online CRM, maximum 1000 requests can be executed at a time.
  • For On Premise, Batch Size can be increased.

 

 

 

Here is another example of changing the State and Status of records by ExecuteMultipleRequest.

 

More info : https://msdn.microsoft.com/en-us/library/jj863631.aspx

Read More

CRM Deploy Error : Assembly must be registered in isolation

When you trying to deploy plugins, if you get an Assembly must be registered in isolation error. You are not a Deployment administrator on CRM Organization. After the deployment administrator must add you as deployment administrator, you can deploy / register a plugin.

Open the Deployment Manager

First of all you must be a Dynamics CRM deployment admin to access the Dynamics CRM Deployment Manager and change the Dynamics CRM URLs. If you dont have access to privileges, you can tell your administrator.

crm acces denied

 

 

Open the User Panel from Deployment Adminstrators

Right click the deployment adminstrators then click the New Deployment Adminstrator.crm deployment

 

Add a New Deployment Administrator

You can add the user who you want from Active Directory.

deployment crm microsoft

Register and Deploy Plugins

https://msdn.microsoft.com/en-us/library/gg309620.aspx

Read More

CRM 2013 Tips : How to fix Access Denied Error ?

When you write javascript oData if you get an Access denied error. You have to change Web Addresses from Deployment Manager.

Open the Deployment Manager

First of all you must be a Dynamics CRM deployment admin to access the Dynamics CRM Deployment Manager and change the Dynamics CRM URLs. If you dont have access to privileges, you can tell your administrator.

crm acces denied

 

 

Open the Properties

crm access denied

 

Change Web Addresses

You have to change all 4 CRM URLs to the full FQN CRM URL (Full Qualify Domain Name).

crm access denied deployment

 

More info : http://www.dynamicscrmpros.com/microsoft-dynamics-crm-2011-access-denied-error-resolved/

 

Read More

Dynamics CRM 2013 Developer Toolkit for Visual Studio 2013

 

Normally there is no CRM Developer Toolkit installation file for Visual Studio 2013. But you can install it with some customization.

s2

  • Firstly Download the installation files.
  • Open Visual Studio folder and Run Microsoft.CrmDeveloperTools.vsix file
  • s3
  • Run the crmSDKFix.reg file
  • Copy contents of the CRM MSBuild folder to “C:\Program Files\MSBuild\Microsoft\CRM” or “C:\Program Files (x86)\MSBuild\Microsoft\CRM”
  • If there is no CRM folder in MSBuild folder, you can create this CRM folder.
  • Now open Visual Studio and you can create CRM Toolkit Project.

Read More

(Resolved) CRM Explorer not showing up on Visual Studio

s1
If you cannot find CRM Explorer in the Tools menu, you can fix the issue like that.

  • Close the Visual Studio Project
  • Open the Project’s Solution file (.sln) in a text edior
  • Find the Global section and insert the following code at the beginning of the section.

  • Save the file and open your project again.
  • Now you can find the CRM Explorer in the Tools Menu or Connect to Dynamics CRM Server dialog will show up automatically.

Read More

CRM Tips : Where is the Advanced Find for CRM 2015 ?

In CRM 2013 Advanced Find was not on every page, so if you were on an individual record you had to navigate back to a grid view or a dashboard to open it. Then navigate back to the record you were on.

microsoft-crm-advanced-find

With CRM 2015 the Advanced Find button is now available from all pages in its new home in the navigation bar at the top of every page.

Details : http://cargas.com/blog/microsoft-crm-2015-universal-search-advanced-find-improvements/

Read More

CRM Tips : Convert Text to Uppercase on Key Down event for CRM 2013 and 2015

You can find lots of post for CRM 2011 keypress on the Internet. But those methods cannot work on CRM 2013 and  2015 so you can use this method.

 

If you are using different language for CRM. You can customize special character’s char code to if statement. For example :

Read More