A COM+ application may stop working on Windows Server 2008 when the identity user logs off

Error:

Server was unable to process request. —> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {E5CB7A31-7512-11D2-89CE-0080C792E5D8} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA).

Because of this above error you can see the data but cant complete any operation like add, update or delete.

Resolution:

To resolve this you needs to update registry on server where MS CRM or dot net application is installed/hosted.

Here is the link to resolve this error

Bulk insert / update by SDK for MS CRM

Some times we need to insert / update bulk data in to CRM. By traditional data upsert takes too much time, so MS CRM introduced bulk upsert.

Sending a large number of individual organization message requests over a network, as you would do in a bulk data import operation, is affected by network performance. For improved performance, Microsoft Dynamics CRM support batching of requests into a single web service method call. Continue reading “Bulk insert / update by SDK for MS CRM”

Shared Variables:- Pass data between plug-ins

Some times we need to pass data from one plugin to another plugin on same entity. But how it will be achieved. Microsoft Dynamics CRM gave ‘Shared Variable’ for that.  Using this shared variable data can be passed or modified. This is introduced in CRM 2011. To explore more on this here is the link.

Fallback Form

In MS CRM, we can apply security role to entity  form. To enable security role for form just click on ‘Enable Security role’ (ref below screenshot), it will give you to select security role from the list.

But what will happen when a user wont have any security role assigned which have access to form. in such condition that user will see only ‘Fallback’ form.

Note: But if user has not access on entity then he wont be able to see any form or data

For each entity, at least one fallback form is available.

fallback

‘LocalizedLabel’ issue for importing managed solution

Some time importing a manged solution in MS CRM you will face this problem, it happens because circular ref.

Error: This solution cannot be uninstalled because the ‘LocalizedLabel’ with id ‘XXXX(Form)’ is required by the ‘*******’ solution. Uninstall the XXXXX solution and try again

To resolve this problem you need to remove that ref from database, here is the query for that

delete from [DATABASE_MSCRM].[MetadataSchema].[LocalizedLabel] where LocalizedLabelId = ‘YOUR ID’

e.g.

delete from [MetadataSchema].[LocalizedLabel] where LocalizedLabelId = ‘bc2e6205-7e39-e411-8d95-0050569303a1’

That’s it!

Sales and Service process in MS CRM

Sales Process in MS CRM

sales-process

for more info use this link

Service process or Case/Ticket Management in MS CRM

email-to-case-creation

For more info explore this.