Hi,
Got the below error while writing unit test.
The solution was to set the Default Processor Architecture of the test project to X64.

Hope this helps.
Hi,
Got the below error while writing unit test.
The solution was to set the Default Processor Architecture of the test project to X64.

Hope this helps.
Hi,
I was getting the following exception while trying to get the text for an option set field named area of law in linq.

The query with joins
var authorization = (from a in
SDKHelper.XrmServiceContext.lss_AuthorizationSet join c in SDKHelper.XrmServiceContext.lss_contractSet on a.lss_ContractId.Id equals c.Id
join l in
SDKHelper.XrmServiceContext.lss_lawyerSet on c.lss_LawyerId.Id equals l.Id
where a.lss_AuthID == authorizationId
select
new
Authorization{
AreaOfLawAndContractType = c.lss_Area_of_Law != null? c.FormattedValues[“lss_area_of_law”] : default(string)
}).FirstOrDefault();
return authorization;
The fix was instead of using FormattedValues collection of related entity in join, we need to use the FormattedValues collection of the primary entity.
var authorization = (from a in
SDKHelper.XrmServiceContext.lss_AuthorizationSet
join c in
SDKHelper.XrmServiceContext.lss_contractSet on a.lss_ContractId.Id equals c.Id
join l in
SDKHelper.XrmServiceContext.lss_lawyerSet on c.lss_LawyerId.Id equals l.Id
where a.lss_AuthID == authorizationId
select
new
Authorization
{
AreaOfLawAndContractType = c.lss_Area_of_Law != null? a.FormattedValues[“lss_area_of_law”] : default(string)
}).FirstOrDefault();
return authorization;
Hope it helps.
Hi,
Recently we had to reorder the navigation link that appears for one of our entities form. Basically we wanted Activities and Closed Activities to be the last one there in the left navigation pane.
However while opening our form for customization, the links for the activities were missing.
This blog post came to our rescue
Hope it helps.
CRM 2013 – The Upgraded Metadata Browser
Salim Adamon - Dynamics 365 Blog
I was playing around the new CRM 2013 SDK and thought I’d spend some time one the revamped metadata browser. Like in the CRM 2011 SDK, the Metadata browser is provided as a Managed Solution located in the folder “Your SDK FolderToolsMetadataBrowser”

Once you’ve installed the solution in your CRM application, you have to open it in order to get the links to the Metadata web resources in the configuration page.

The Metadata Browser now has two pages:
The key features of the tools are highlighted in the configuration page (see copy below). It is extremely helpful for developers, lightweight built on HTML/JavaScript and has a lot of nice features (details below). So if were looking for an alternative to the popular Silverlight Metadata browser built…
View original post 227 more words
Got this error while installing CRM 2013.

Following post helped in fixing the issue.
http://stackoverflow.com/questions/15488922/connection-to-sql-server-works-sometimes
https://community.dynamics.com/crm/f/117/t/115384.aspx
Hope it helps.
Faced the same issue while installing CRM 2013.
Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
Hi,
You may come across below exception while installing CRM 2011 Server.
“Named Pipes Provider, error: 40 – Could not open a connection to SQL Server “
Scenario :-
Reason :-
Fix :-
Hope it helps 🙂