Solution import issue – CRM’13

Few days ago, we created a new CRM (2013) server with few organisation. Now we want to make older and newly created organisation in sync. Thus, I created a un-managed solution and tried to import it in newly created org, but it failed with following error (ref below screen shot)

solution imprt

Continue reading “Solution import issue – CRM’13”

Error:400:Bad Request: unrecognized ‘Edm.Guid’ litral ‘guid’ ” in ‘***’


  1. Bad Request: unrecognized ‘Edm.Guid’ litral ‘guid’ ” in ’20’
  2. UnRecognized ‘Edm.Guid’ literal ‘guid’null

JS Error


You got this error because some where in your code, your code is passing null value.

In my case i was retrieving current records GUID using ‘’, but on create, there is no GUID, thus result is it was passing null value. SO to avoid this we needs to restrict this. I resoled it by using ‘Xrm.Page.ui.getFormType() != 1’ (1 for create).



Where is ‘Save’ and ‘Save and Close’ Button

In CRM 2013 / 2015, new auto save feature has been introduced by MS CRM. This feature will save you changes without pressing save button, thus you don’t need ‘Save’ and ‘Save and Close’ buttons. But many users don’t like this, they want those buttons on form. To do this you need to off this auto save feature from MS CRM’s system setting. by doing this these buttons will appear on each form.

Enjoy !! 🙂

Plugin registration 2015 issues

During working with plugin registration 2015 I faced some issues. Here are those with resolution

Tool throws an error that ” Assembly file name (WorkspaceCRMPlugins.dll) is in invalid format. Only file name is allowed.” during creating a new step.

Resolution for this is, go to DB and look for ‘PluginAssemblyBase’, in this table just update ‘path’ column with only actual assembly / DLL name. It will work like charm Or simply work with 2011 registration tool, it wont throw any error.

You can not see ‘Register Plugin’ button if you have bit smaller screen, for this I don’t found any proper solution but there is workaround is click on log text area and hit tab button, then hit enter. Or Simply use 2011 Reg. tool

Assembly can not be loaded.

I need to provide full rights to ‘Network Service’ as well with ‘Everyone’

Thabiso Motloung - Microsoft Dynamics CRM


When trying to register a custom workflow on disk I would get the below error message.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Assembly can not be loaded.

Detail: <OrganizationServiceFault xmlns=”” xmlns:i=””>


<ErrorDetails xmlns:a=”” />

<Message>Assembly can not be loaded.</Message>




<ErrorDetails xmlns:a=”” />

<Message>Assembly can not be loaded.</Message>


<InnerFault i:nil=”true” />

<TraceText i:nil=”true” />


<TraceText i:nil=”true” />


Server stack trace:

at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)

at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:

at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)


What finally worked for was to give everyone permission to the the dll.


View original post

Database list not found during MS CRM organisation import

Error: “Import organization wizard cannot connect to the SQL Server or cannot find an organization on “DB instance” MS CRM 2011 / 2013 / 2015 Deployment Manager” or “SQL Server is not connected please make sure that sql server service is running” or similar.

But strange thing is SQL server is running fine with some database.

Resolution: An organization with the same name ‘_MSCRM’ ending is not allowed. You can keep at max one database with ‘_MSCRM’ ending.

That’s it.

MS Windows server 2012 not allowing to insatll MS CRM 2015

Recently, I was installing MS CRM 2015 on MS Windows 2012, but it did not allow me to do so. After little search on google, I found that its known error of windows server. To fix this issue you need to install some hotfixes ( 2939087 , 2975061 and  reinstall update 2919355)  , it fixes installation of MS CRM. For more info here is the link.

Thanks you.

Prettify Entity Form in CRM 2013

Form changes, to make it better,
function LoadCSS(path) {
var head = document.getElementsByTagName(‘head’)[0];
var link = document.createElement(‘link’);
link.rel = ‘stylesheet’;
link.type = ‘text/css’;
link.href = path; = ‘all’;


.ms-crm-InlineEditLabel { white-space: normal !important; }
.ms-crm-InlineEditLabel .ms-crm-Inline-GradientMask { background-image: none !important; filter: none !important; }
.ms-crm-ListArea { border: 1px solid #999; width: auto !important; }
.ms-crm-Form-SubGrid-Layout-Lite { background: #F3F3F4; padding-top: 2px; border: 1px solid #999; border-bottom: 1px solid #ccc; }
#formHeaderContainer { border-top: 1px dotted #999; background: #F3F3F4; border-bottom: 1px dotted #999 !important; padding-left: 5px; padding-right: 5px; }

Stephanus' Blog

You may find the look and feel of entity forms in CRM 2013 a bit too plain.

The following customisation attempts to “prettify” them using CSS loaded using JavaScript.

What the CSS does:

  1. give a background colour and borders to the form header to make a better distinction between header and body,
  2. give borders to sub-grids on the form to make them more prominent, and
  3. make long field labels drop into the second line instead of fade out (as highlighted in yellow).

I have tested this to work with Internet Explorer (8-10), Chrome, and Outlook.

The code is provided as-is, please use at your own risk.

Before (standard CRM):

Prettify Entity Form in CRM 2013 - before

After (with customisation applied):

Prettify Entity Form in CRM 2013 - after

JavaScript code for loading the CSS – simply update the cssfilename below and  include the JavaScript file in your form, or include it in your existing JavaScript library:

CSS code:

View original post