tag:blogger.com,1999:blog-144790092024-03-13T05:24:37.315+01:00Ronald Lemmen - CRM, C# and CmeRonald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.comBlogger257125tag:blogger.com,1999:blog-14479009.post-66845806430917475962019-06-25T14:00:00.001+02:002019-06-25T14:01:25.213+02:00The [x]([GUID]) component cannot be deleted because it is referenced by [y] other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.
When you get this message, then you can find the dependencies through a webservice call. If you don't have a programming environment available, then it can be hard to find out what causes the delete to be cancelled. For instance, when the component isn't easily accessible through the CRM UI. For on-premise solutions where you can access the database, it's pretty easy to find out what is the Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com3tag:blogger.com,1999:blog-14479009.post-72681076968240452712018-08-13T11:04:00.003+02:002018-08-13T11:04:51.907+02:00Insight in AsyncOperationBase needed?If you're asyncoperationbase has grown beyond 1.000.000 records, then you most likely want to clean this up for performance reasons.
You can just jump to the Microsoft KB article and run some scripts to clean this up, but you might also want to do some more research upfront to avoid getting into this situation again. Our friends at PowerObjects have written a nice article about this. Another Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-23075217512083522352018-06-27T12:46:00.005+02:002018-06-27T12:48:57.368+02:00CrmDuplicateRecordException Error 0x80040237 “Cannot insert duplicate key.” during import of CRM SolutionSo when you import a solution, then this leads to error 0x80040237 “Cannot insert
duplicate key.”? Then download the solution import XML log file, open in Excel, and have a look at the name of the troubled
entity.
Then unzip solution ZIP and open the customizations.xml. Find the troubled entity, the easiest is to search for:
<entity Name="[yourentity]">
Within this entity you Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com67tag:blogger.com,1999:blog-14479009.post-3370807899281855982017-03-02T12:37:00.003+01:002017-03-02T12:37:21.589+01:00The curse of the deleted workflowsWhen you’re following a development process
including at least a development and production environment, then you might end
up in a scenario where you have deleted a workflow from the production
environment and then want to import a solution containing the very same
workflow.
In some scenario’s you will find that this
results in the error message:
0x80041103: Workflow' entity doesn't
contain Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com74tag:blogger.com,1999:blog-14479009.post-78367732675227771622017-02-01T10:04:00.002+01:002017-02-01T10:05:53.504+01:00Unlimited redirects or popups to https://www.crmdynint.comHi guys,
We've recently seen a situation where users of Dynamics365 (a.k.a. CRM Online) are getting popups or redirects to an url such as:
https://www.crmdynint.com/Auth/v2//authRedirect.html#id_token=[token]&session_state=[guid]
With the support of Microsoft support we have been able to solve this issue by adding the following sites to the trusted sites of Internet Explorer:
Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com3tag:blogger.com,1999:blog-14479009.post-35705167996248296512016-06-16T16:07:00.002+02:002016-06-16T16:07:45.043+02:00A managed solution cannot overwrite the AttributeMap component with Id=[guid] which has an unmanaged base instanceFacing this message?
A managed solution cannot overwrite the AttributeMap component with Id=b648bf03-102f-e611-80d3-e1543fac8121 which has an unmanaged base instance. The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged AttributeMap component on the
target system, and now a managed solution from the same publisher is trying to install
that same Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com35tag:blogger.com,1999:blog-14479009.post-45547691673108330562016-03-07T15:07:00.000+01:002016-03-07T15:07:09.558+01:00Should be exactly 1 MessageProcessingStep registered for workflowHaving duplicate processes (usually business rules) can cause issues during import of a solution containing the same process. One of the error messages is:
Should be exactly 1 MessageProcessingStep registered for workflow
If you face this situation, then it's easiest to identify the duplicate processes by using the advanced find. Search for the processes and remove the default filter. Then add Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com48tag:blogger.com,1999:blog-14479009.post-56934880408333361882016-02-11T09:49:00.003+01:002016-02-11T09:49:46.676+01:00Generic errors while importing solution in Dynamics CRM 2016While importing an update for a solution or a new solution that is building on top of another solution, then you might face generic error messages. This blog post provides a possible solution for the scenario when the CRM solution import dialog mentions a "Generic SQL error" while downloading the log file serves you the message "0x80044150: Object reference not set to an instance of an Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com7tag:blogger.com,1999:blog-14479009.post-8625367248640370622016-02-08T15:43:00.002+01:002016-02-08T15:43:59.460+01:00Workflow With Id = fe31a1bb-949e-e511-80c3-0050569c18ec Does Not ExistSimilar to some of my previous blog articles, there can be some leftovers which limit you in removing a solution from your organization. This article helps you in determining the cause of the error when you face the following error.
ErrorCode: -2147220969
Message: Workflow With Id = fe31a1bb-949e-e511-80c3-0050569c18ec Does Not Exist.
Most likely there is a process, not Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-89452338214388718412015-11-06T11:22:00.002+01:002016-01-22T12:00:20.903+01:00Solution With Id = 86ac16ec-41d7-4685-a330-0b1c31411260 Does Not ExistIn some rare scenario's you might get the error message "solution With Id = 86ac16ec-41d7-4685-a330-0b1c31411260 Does Not Exist" while deleting a solution. In our scenario this seems to happen after using the holding solution approach. Luckily this can be solved as long as you have access to the SQL database. Note: Direct SQL updates are unsupported, so only perform this action if you're aware ofRonald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com29tag:blogger.com,1999:blog-14479009.post-91027140093505481232015-10-23T21:48:00.001+02:002016-03-07T14:19:08.949+01:00Processtrigger error messages and the holding solution approachThe holding solution approach, sometimes referred to as a shadow solution or the shared publisher technique, is the recommended approach for removing solution components from a CRM organization. Generally this works ok, however we have been facing some challenges lately. Some errors that you might encounter:
- Crm Exception: Message: processtrigger With Id = 3922b595-8637-e511-80d3-b13ac3e6ed07 Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com13tag:blogger.com,1999:blog-14479009.post-75595526309199444162015-09-23T17:31:00.002+02:002015-09-23T17:32:13.073+02:00Retrieve CSV file uploaded to CRM standard importIn some rare cases you wish you could retrieve the file uploaded to CRM. Unfortunately, there is no way that CRM is going to return you this file...
But luckily, in OnPremise and some Partner Hosted environments, it is possible to access the underlying database. This is where you can find the data for each of the rows which allow you to recreate the CSV (or XML) file.
The following query will Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com4tag:blogger.com,1999:blog-14479009.post-61589669824182886702015-08-11T17:13:00.000+02:002015-08-11T17:13:15.381+02:00Restore removed sitemap entriesIn Dynamics CRM you can work with solutions that stack on top of other solutions. This does require some careful planning and consideration during development as a change in one organization impacts other organizations. One of these changes are changes to the sitemap. If you add a sitemap entry in one solution and remove this in the second, then in a 3rd organization this entry will not be Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com1tag:blogger.com,1999:blog-14479009.post-71647776606031121782015-06-17T21:22:00.002+02:002015-06-17T21:22:28.230+02:00Dynamics CRM instruction video's in Dutch!Just recently Microsoft has started to provide instruction video's not only in English, but also in other languages. And, one of these foreign languages is Dutch!
You can find the first video's on Youtube's channel "Microsoft Dynamics CRM Product Information Dutch"
The currently available video's are:
- Aan de slag met Microsoft Dynamics CRM - Nieuwe navigatie voor Microsoft Dynamics CRM Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com2tag:blogger.com,1999:blog-14479009.post-13308217807949599472015-05-21T17:45:00.003+02:002015-05-21T17:47:22.049+02:00Change the AggregateQueryRecordLimit for 1 organizationIn CRM there are a couple of thresholds created to guarantee performance of the application. Though this is a good thing, it does cause some issues every now and then. One of these thresholds is the AggregateQueryRecordLimit.
You will find that CRM uses this threshold as soon as you want to view a chart or execute an aggregation in a report over more than 50.000 records. If this is the caseRonald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-19517812677474250562015-04-13T17:31:00.001+02:002015-04-13T17:31:19.472+02:00Create icons for Dynamics CRM 2013/2015/Online
Back in the days of Dynamics CRM 2011 full color icons were the default, but now Microsoft has changed the look and feel. This new user interface of Dynamics CRM does require you to rethink how to work with icons. The larger icons appear to be blueish and white when you hover over them, while the smaller icons are grayish.
The guys at Magnetism have done a great job describing where these Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com2tag:blogger.com,1999:blog-14479009.post-8351846959337776332015-03-17T13:40:00.002+01:002015-03-17T13:41:32.260+01:00Multiple CRM servers, ADFS and the pesky "An error occured"If you have multiple Dynamics CRM 2011 machines configured to use the same ADFS server, then you will probably run into this error message:
An error occured:
Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community for solutions or contact your organization’s Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support.
In the URL you can Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-17606799852495663402015-02-25T11:11:00.001+01:002015-02-25T11:11:16.703+01:00Find out deployment administratorsWhen starting the deployment manager (start -> programs -> microsoft dynamics crm ->deployment manager) you might get the bugged with a message when you're not the deployment administrator of the machine. This even happens when you're domain admin, sys admin on the database and/or local admin on the machine:
"Only the Deployment Administrators are able to use the deployment manager"
Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com3tag:blogger.com,1999:blog-14479009.post-83347069985070079992015-02-18T14:28:00.004+01:002015-02-25T11:12:19.249+01:00Restore missing user in MSCRM_CONFIGIn some rare scenario's you'll not be able to login to CRM though you are sure that you're use has been added to the organization and you have a security role as well. The pesky error message generally is:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name
changed, or is temporarily unavailable.
If this is the case, then it could be that Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-38572636919702367612015-02-12T13:55:00.002+01:002015-02-12T13:55:38.120+01:00Find missing dependencies when deleting a solutionWhen deleting a solution in Dynamics CRM, the system checks for dependencies first. If any of the dependencies still exist, then the delete operation will be aborted and the user will receive an error message:
Connot Delete Component (Cannot delete Main because one or more components require it."
The only option for more info, is the Download Log File, but this doesn't tell you really what Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com5tag:blogger.com,1999:blog-14479009.post-7214692927773801422015-02-02T22:49:00.000+01:002015-02-02T22:49:11.058+01:00CRM Outlook Client 2011 on a Windows Server 2012?In some scenario's you might want to install the CRM Outlook Connector for Microsoft Dynamics CRM 2011 on a server which is newer than the Implementation Guide mentions as supported operating systems.
When trying to do so, you'll quickly find yourself facing the following scenario:
The error message is:
The installation has failed. The computer is running an operating system that Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com12tag:blogger.com,1999:blog-14479009.post-3005884511961230122015-02-01T11:50:00.002+01:002015-02-01T11:50:28.118+01:00.NET Framework 3.5 install on a Windows 2012 machine For some applications it's required to have .NET Framework 3.5 installed on your Windows 2012 machine. Some of these applications include SQL 2014 and CRM 2015.
The ususal option is to select the ".NET Framework 3.5 Features" in the "Add Roles and Features Wizard" of the windows server manager. However, in some scenario's this leads to the following error message:
Installation ofRonald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-24645064110837747392015-01-29T10:33:00.001+01:002015-01-29T10:33:14.680+01:00Error while updating FieldSecurityProfiles
Error Number: 0x8004F502Error Message: Caller 922a732c-0e44-e411-80bf-aecaab867a05 doesn't have Create privilege for attribute 'new_attribute' of entity 'contact'
Tip: Check if the attribute on the form is read-only, this can cause the error message, even though the user is System Administrator.
Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0tag:blogger.com,1999:blog-14479009.post-47914517743573835812014-08-14T23:47:00.001+02:002014-08-14T23:47:34.048+02:00Advanced FetchXML SSRS reports for Dynamics CRMUsing the report wizard somebody can create quite useful reports, but as soon as the requirements go just beyond the capabilities of this wizard, one will need to take that report and start modifying the report in SSRS. As the reports are built with FetchXML, this is another topic to think about.
Luckily there are good tutorials online on how to create and author Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com4tag:blogger.com,1999:blog-14479009.post-44361370332964620172014-08-09T09:22:00.001+02:002014-08-09T09:22:42.124+02:00Microsoft Online Services Sign-in Assistant: Download failedWhen installing the Microsoft Dynamics CRM Reporting Authoring Extension, on the machine where BIDS is installed, 9 out of 10 times the SQL Server, you might be facing a problem around the prerequisites. This software requires the following components:
- Microsoft Application Error Reporting
- Windows Live ID Sign-in Assistant
- Microsoft Online Services Sign-in Assistant
In some occasions Ronald Lemmenhttp://www.blogger.com/profile/11930631598114156863noreply@blogger.com0