CRM Kitchen http://crmkitchen.com Microsoft Dynamic CRM Tue, 25 Oct 2016 14:58:06 +0000 en-US hourly 1 https://wordpress.org/?v=4.6.2 The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache. http://crmkitchen.com/entity-name-new_xxx_new_yyy-not-found-metadatacache/ http://crmkitchen.com/entity-name-new_xxx_new_yyy-not-found-metadatacache/#respond Tue, 25 Oct 2016 14:58:06 +0000 http://crmkitchen.com/?p=376 When you set custom view for filtering many to many (N:N) relationship, if u get an error like this. You have to change link entity name. You can check intersectEntityName from metadata browser. The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache. Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad264e35]]: The entity with […]

The post The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache. appeared first on CRM Kitchen.

]]>
When you set custom view for filtering many to many (N:N) relationship, if u get an error like this. You have to change link entity name. You can check intersectEntityName from metadata browser.

The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache.

intersect-entity-name-metadata

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad264e35]]: The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache.Detail:
<OrganizationServiceFault xmlns:i=”http://www.w3.org/2001/XMLSchema-instance” xmlns=”http://schemas.microsoft.com/xrm/2011/Contracts”>
<ErrorCode>-2147217150</ErrorCode>
<ErrorDetails xmlns:d2p1=”http://schemas.datacontract.org/2004/07/System.Collections.Generic” />
<Message>The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache.</Message>
<Timestamp>2016-10-25T14:45:38.4066037Z</Timestamp>
<InnerFault i:nil=”true” />
<TraceText i:nil=”true” />
</OrganizationServiceFault>

The post The entity with a name = ‘new_xxx_new_yyy’ was not found in the MetadataCache. appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/entity-name-new_xxx_new_yyy-not-found-metadatacache/feed/ 0
CRM Errors : Login failed for user http://crmkitchen.com/crm-errors-login-failed-user/ http://crmkitchen.com/crm-errors-login-failed-user/#respond Wed, 05 Oct 2016 09:09:17 +0000 http://crmkitchen.com/?p=372 If you get errors like this, you have to add user to sql who log on as service account  or You install Microsoft Dynamics CRM in a multiple-server environment. Then, you install Microsoft Dynamics CRM directly on a server that is running Microsoft SQL Server. However, some SQL Server permissions are not set.   The […]

The post CRM Errors : Login failed for user appeared first on CRM Kitchen.

]]>
If you get errors like this, you have to add user to sql who log on as service account  or

  • You install Microsoft Dynamics CRM in a multiple-server environment. Then, you install Microsoft Dynamics CRM directly on a server that is running Microsoft SQL Server. However, some SQL Server permissions are not set.
  •   The Microsoft Dynamics CRM server is not added to the SQLAccessGroup group in the Active Directory directory service.
  • Application Pool identity was set to the Built-in Account in the Advanced Settings of App pool, instead change it to one of the user account which has access to Database.

 

  • Error in LoadDeploymentSettings [Cannot open database “MSCRM_CONFIG” requested by the login. The login failed.
  • Error in LoadSiteWideSettings [Cannot open database “MSCRM_CONFIG” requested by the login. The login failed.
  • The type initializer for ‘Microsoft.Crm.Monitoring.MonitoringSettings’ threw an exception. System.Data.SqlClient.SqlException: Cannot open database “MSCRM_CONFIG” requested by the login. The login failed.

 

Monitoring runtime failed: Machine: CRMKitchen:
Exception: SmokeTests failed with exception :
System.TypeInitializationException:
The type initializer for ‘Microsoft.Crm.Monitoring.MonitoringSettings’ threw an exception. —> System.Data.SqlClient.SqlException: Cannot open database “MSCRM_CONFIG” requested by the login. The login failed.
Login failed for user ‘CRMKitchen\CRMService’.

 

CrmTrace encountered an error. Additional Info:Error in LoadSiteWideSettings [Cannot open database “MSCRM_CONFIG” requested by the login. The login failed.
Login failed for user ‘CRMKitchen\CRMService’.], Stack Trace : at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Microsoft.Crm.CrmTraceSettings.Load(String traceDirectory)
at Microsoft.Crm.CrmTrace.get_RefreshTrace()
at Microsoft.Crm.CrmTrace.Write(Guid orgId, TraceCategory traceCategory, TraceLevel traceLevel, Int32 skipFrames, String format, Object[] args)
at Microsoft.Crm.CrmTrace.TraceFormat(Guid orgId, TraceCategory traceCategory, TraceLevel traceLevel, String format, Object[] args)
at Microsoft.Crm.CrmTrace.Initialize()
at Microsoft.Crm.Asynchronous.AsyncService.StartServiceComponents(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch(), Inner Exception: , Data: System.Collections.ListDictionaryInternal (Reporting Process:CrmAsyncService, AppDomain:C:\PROGRA~1\MICROS~4\Server\bin\)

 

More info  :

https://support.microsoft.com/en-us/kb/946286

http://mscrmtechie.blogspot.com.tr/2015/07/login-failed-for-user-domain-servername_23.html

The post CRM Errors : Login failed for user appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/crm-errors-login-failed-user/feed/ 0
CRM Reporting Extensions Setup Error : The SQL Server Reporting Services account is a local user and is not supported http://crmkitchen.com/crm-reporting-extensions-setup-error-the-sql-server-reporting-services-account-is-a-local-user-and-is-not-supported/ http://crmkitchen.com/crm-reporting-extensions-setup-error-the-sql-server-reporting-services-account-is-a-local-user-and-is-not-supported/#respond Tue, 27 Sep 2016 10:50:36 +0000 http://crmkitchen.com/?p=369 The SQL Server Reporting Services account is a local user and is not supported If you get an error when trying to install Microsoft Dynamics CRM Reporting Extensions (SetupSrsDataConnector). You have to change service account on Reporting Services Configuration Manager. Open the Reporting Services Configuration Manager Change the Service Account to Network Service. While changing account it […]

The post CRM Reporting Extensions Setup Error : The SQL Server Reporting Services account is a local user and is not supported appeared first on CRM Kitchen.

]]>

The SQL Server Reporting Services account is a local user and is not supported

reporting-setup-error

If you get an error when trying to install Microsoft Dynamics CRM Reporting Extensions (SetupSrsDataConnector). You have to change service account on Reporting Services Configuration Manager.

  1. Open the Reporting Services Configuration Manager
  2. Change the Service Account to Network Service.
  3. While changing account it will ask you “Backup Encryption Key”
  4. Type your pass and locate file.
  5. Then you can continue to setup Reporting Extensions.

 

More info :

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

https://mscrmonline.wordpress.com/2012/07/31/microsoft-crm-2011-and-sql-server-2012-support/

SQL Server Reporting Services Account is a local user and is not supported – Error installing SrsDataConnector

The post CRM Reporting Extensions Setup Error : The SQL Server Reporting Services account is a local user and is not supported appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/crm-reporting-extensions-setup-error-the-sql-server-reporting-services-account-is-a-local-user-and-is-not-supported/feed/ 0
CRM Setup Error : Object reference not set to an instance of an object http://crmkitchen.com/crm-setup-error-object-reference-not-set-instance-object/ http://crmkitchen.com/crm-setup-error-object-reference-not-set-instance-object/#respond Tue, 27 Sep 2016 09:05:36 +0000 http://crmkitchen.com/?p=362 If you get generic errors like this, you can find details in logs. Log path : C:\Users\crmadminuser\AppData\Roaming\Microsoft\MSCRM\Logs\crmserversetup.txt   WebsiteBindingsValidator : Failure: Object reference not set to an instance of an object. Check web site on IIS Add new Web site for CRM Or select default web site from crm setup wizard.  

The post CRM Setup Error : Object reference not set to an instance of an object appeared first on CRM Kitchen.

]]>
If you get generic errors like this, you can find details in logs.

Log path : C:\Users\crmadminuser\AppData\Roaming\Microsoft\MSCRM\Logs\crmserversetup.txt

 

crm-setup-iis-site

WebsiteBindingsValidator : Failure: Object reference not set to an instance of an object.

  1. Check web site on IIS
  2. Add new Web site for CRM
  3. Or select default web site from crm setup wizard.

 

The post CRM Setup Error : Object reference not set to an instance of an object appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/crm-setup-error-object-reference-not-set-instance-object/feed/ 0
How to Restart or Shut Down a Remote Computer via Command Line ? http://crmkitchen.com/restart-shut-remote-computer/ http://crmkitchen.com/restart-shut-remote-computer/#respond Tue, 27 Sep 2016 08:18:52 +0000 http://crmkitchen.com/?p=359 Sometimes I’m not able to use the shutdown or restart function in the Start menu on server. I found it from stackoverflow and I want to put here. The following functions can help us. shutdown -r — restarts shutdown -s — shutsdown shutdown -l — logoff shutdown -t xx — where xx is number of […]

The post How to Restart or Shut Down a Remote Computer via Command Line ? appeared first on CRM Kitchen.

]]>
Sometimes I’m not able to use the shutdown or restart function in the Start menu on server.

I found it from stackoverflow and I want to put here. The following functions can help us.

  • shutdown -r — restarts
  • shutdown -s — shutsdown
  • shutdown -l — logoff
  • shutdown -t xx — where xx is number of seconds to wait till shutdown/restart/logoff
  • shutdown -i — gives you a dialog box to fill in what function you want to use
  • shutdown -a — aborts the previous shutdown command
  • shutdown -h — hibernate.

Additional options:

  • -f — force the selected action

For immideatly restart  : 

  • shutdown -t 0 -r -f

Dont forget ! You must have appropriate privileges to shut down the remote machine.

 

More info :

http://stackoverflow.com/questions/162304/how-do-i-shutdown-restart-logoff-windows-via-a-bat-file

https://technet.microsoft.com/en-us/library/cc770416(v=ws.11).aspx

The post How to Restart or Shut Down a Remote Computer via Command Line ? appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/restart-shut-remote-computer/feed/ 0
The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer http://crmkitchen.com/issuer-security-token-not-recognized-issuernameregistry-accept-security-tokens-issuer-configure-issuernameregistry-return-valid-name-issuer/ http://crmkitchen.com/issuer-security-token-not-recognized-issuernameregistry-accept-security-tokens-issuer-configure-issuernameregistry-return-valid-name-issuer/#respond Mon, 26 Sep 2016 12:46:39 +0000 http://crmkitchen.com/?p=309 If you get an error like this, you have to update federation metedata url and iisreset then restart adfs service.  Normally CRM throws a generic error and I found this message from trace. The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to […]

The post The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer appeared first on CRM Kitchen.

]]>
If you get an error like this, you have to update federation metedata url and iisreset then restart adfs service.  Normally CRM throws a generic error and I found this message from trace.

The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer

unexpected-error-crm

  1. Open Deployment Manager on CRM Server
  2. Configure Claims Based Authentication from wizard
  3. Click start menu, select run and type iisreset to complete.
  4. Then go to Services on ADFS Server and restart ADFS Service.

 

Reference : https://support.microsoft.com/en-us/kb/2686840

http://www.dynamicscrmpros.com/microsoft-dynamics-crm-error-the-issuer-of-the-security-token-was-not-recognized-by-the-issuernameregistry-solved/

The post The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/issuer-security-token-not-recognized-issuernameregistry-accept-security-tokens-issuer-configure-issuernameregistry-return-valid-name-issuer/feed/ 0
Querying Order By Link Entity with Fetch XML http://crmkitchen.com/querying-order-link-entity-fetch-xml/ http://crmkitchen.com/querying-order-link-entity-fetch-xml/#respond Mon, 26 Sep 2016 09:02:07 +0000 http://crmkitchen.com/?p=345 If you want to sort the results based from linked data, we can add order by link entity’s attribute like this : [crayon-588181c96ce8b511497685/]    

The post Querying Order By Link Entity with Fetch XML appeared first on CRM Kitchen.

]]>
If you want to sort the results based from linked data, we can add order by link entity’s attribute like this :

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
  <entity name="contact">
    <attribute name="fullname" />
    <attribute name="telephone1" />
    <attribute name="contactid" />
    <link-entity name="contactquotes" from="contactid" to="contactid" visible="false" intersect="true">
      <link-entity name="quote" from="quoteid" to="quoteid" alias="aa">
		<order attribute="createdon" descending="false" />
	  </link-entity>
    </link-entity>
  </entity>
</fetch>

 

 

The post Querying Order By Link Entity with Fetch XML appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/querying-order-link-entity-fetch-xml/feed/ 0
Microsoft Dynamics 365 Resources for CRM Developers http://crmkitchen.com/microsoft-dynamics-365-resources-for-crm-developers/ http://crmkitchen.com/microsoft-dynamics-365-resources-for-crm-developers/#respond Thu, 22 Sep 2016 07:14:48 +0000 http://crmkitchen.com/?p=349 Coming Soon 🙂

The post Microsoft Dynamics 365 Resources for CRM Developers appeared first on CRM Kitchen.

]]>
Coming Soon 🙂

The post Microsoft Dynamics 365 Resources for CRM Developers appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/microsoft-dynamics-365-resources-for-crm-developers/feed/ 0
Invalid privilege depth – Cannot Update Security Role Privilege http://crmkitchen.com/invalid-privilege-depth-cannot-update-security-role-privilege/ http://crmkitchen.com/invalid-privilege-depth-cannot-update-security-role-privilege/#respond Thu, 22 Sep 2016 06:56:18 +0000 http://crmkitchen.com/?p=341 Invalid privilege depth If you get this error while updating security role, you can try to fix the following steps :  Navigate to Settings > Security > Security Roles.  Open the Security role and navigate to Core Records.  Assign the Organization level privileges to Data Performance Dashboard entity.  Save and close the record. Reference : https://community.dynamics.com/crm/f/117/t/207450

The post Invalid privilege depth – Cannot Update Security Role Privilege appeared first on CRM Kitchen.

]]>

Invalid privilege depth

crm role error invalid depth

If you get this error while updating security role, you can try to fix the following steps :

  1.  Navigate to Settings > Security > Security Roles.
  2.  Open the Security role and navigate to Core Records.
  3.  Assign the Organization level privileges to Data Performance Dashboard entity.
  4.  Save and close the record.

Reference : https://community.dynamics.com/crm/f/117/t/207450

The post Invalid privilege depth – Cannot Update Security Role Privilege appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/invalid-privilege-depth-cannot-update-security-role-privilege/feed/ 0
Event : Microsoft Dynamics 365 Readiness Blitz 5-6 October 2016 http://crmkitchen.com/event-microsoft-dynamics-365-readiness-blitz-5-6-october-2016/ http://crmkitchen.com/event-microsoft-dynamics-365-readiness-blitz-5-6-october-2016/#respond Thu, 22 Sep 2016 06:43:50 +0000 http://crmkitchen.com/?p=343 Microsoft Event Notification Microsoft Dynamics 365 takes a new approach to business applications. Our current CRM and ERP cloud solutions will be unified into one cloud service with new purpose-built apps to help manage specific business functions, including: Sales, Field Service, Customer Service, Project Service Automation, Marketing, and Operations. Each app will provide a modern […]

The post Event : Microsoft Dynamics 365 Readiness Blitz 5-6 October 2016 appeared first on CRM Kitchen.

]]>
Microsoft Event Notification

Microsoft Dynamics 365 takes a new approach to business applications. Our current CRM and ERP cloud solutions will be unified into one cloud service with new purpose-built apps to help manage specific business functions, including: Sales, Field Service, Customer Service, Project Service Automation, Marketing, and Operations. Each app will provide a modern experience and actionable insights delivered from natively embedded Power BI, IoT, and Cortana Intelligence experiences.

Please join us on October 5th or 6th for the Microsoft Dynamics 365 Readiness Blitz. Blitz has both a Technical and a Sales Track running simultaneously and each track is offered twice to give you the opportunity to join. You can preview the agenda on the registration site.

During each event you will have access to subject matter experts from across Microsoft in the areas of product marketing, R&D, support, the partner team, MVPs, and more! Don’t miss the opportunity to get your questions answered.

  • Microsoft Dynamics 365 SALES Blitz for Field and Partner
  • Microsoft Dynamics 365 TECHNICAL Blitz for Field and Partner

REGISTER HERE

The post Event : Microsoft Dynamics 365 Readiness Blitz 5-6 October 2016 appeared first on CRM Kitchen.

]]>
http://crmkitchen.com/event-microsoft-dynamics-365-readiness-blitz-5-6-october-2016/feed/ 0