<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4424692205246238951</id><updated>2024-09-05T00:23:19.092-07:00</updated><category term="MS CRM 4"/><category term="Custom Workflow"/><category term="Microsoft Dynamics CRM 4"/><category term=".NET"/><category term="Add Reference"/><category term="CRM Async Service"/><category term="VS2008"/><title type='text'>MS CRM 4.0 KnowledgeBase</title><subtitle type='html'>I am recording my encounters with Microsoft Dynamics CRM 4 here :)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4424692205246238951.post-907191125048900458</id><published>2010-07-23T06:13:00.000-07:00</published><updated>2010-07-29T04:41:37.070-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4"/><title type='text'>Some CRM URLs</title><content type='html'>System Job Record URL http://yourservername[:port]/tools/bulkdelete/edit.aspx?id={Guid}&lt;br /&gt;Metadata Browser URL URL http://yourservername[:port]/sdk/list.aspx&lt;br /&gt;Custom Entity Record URL http://yourservername[:port]/userdefined/edit.aspx?id={Guid}&amp;etc={objecttypecode}</content><link rel='replies' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/907191125048900458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mscrm4kb.blogspot.com/2010/07/some-crm-urls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/907191125048900458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/907191125048900458'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/2010/07/some-crm-urls.html' title='Some CRM URLs'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4424692205246238951.post-3620876765356561684</id><published>2009-12-30T02:54:00.000-08:00</published><updated>2009-12-30T03:02:14.690-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Add Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4"/><category scheme="http://www.blogger.com/atom/ns#" term="VS2008"/><title type='text'>Add Reference to CRM dlls in VS 2008</title><content type='html'>Inorder to add reference to the CRM dlls in VS 2008 projects with ease, copy the &lt;br /&gt;microsoft.crm.sdk.dll and microsoft.crm.sdktypeproxy.dll to the location found in the string value &quot;All Assemblies In&quot; of the Registry Key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\v3.5.</content><link rel='replies' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/3620876765356561684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mscrm4kb.blogspot.com/2009/12/add-reference-to-crm-dlls-in-vs-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/3620876765356561684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/3620876765356561684'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/2009/12/add-reference-to-crm-dlls-in-vs-2008.html' title='Add Reference to CRM dlls in VS 2008'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4424692205246238951.post-5730759948000414153</id><published>2009-11-03T01:39:00.000-08:00</published><updated>2009-11-03T01:47:28.954-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Dynamics CRM 4"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4"/><title type='text'>Customization import issue</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;CRM Error Detail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Failure: new_a: An entity with the specified name already exists. Please specify a unique name.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Exception Details&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Event Type: Error&lt;br /&gt;Event Source: MSCRMWebService&lt;br /&gt;Event Category: None&lt;br /&gt;Event ID: 19457&lt;br /&gt;Date:  11/2/2009&lt;br /&gt;Time:  12:54:52 PM&lt;br /&gt;User:  N/A&lt;br /&gt;Computer: X&lt;br /&gt;Description:&lt;br /&gt;Customization Import failed. Error: Entity with id f3ee04fd-0c82-4b8d-bfe2-9e53048cdd7a already has the label Entity1 for column LocalizedName and language 1033 - update entity with id ec7aa714-7cdd-4ec4-ae57-bef3288c93ec cannot have the same label&lt;br /&gt;&lt;br /&gt;For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Reason&lt;/span&gt;&lt;br /&gt;An entity with the same display name as that of new_a entity (ie Entity1) exists already, even though the entity&#39;s schema name is different from new_a.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Solution&lt;/span&gt;&lt;br /&gt;Change the display name of the existing entity or the entity being imported.</content><link rel='replies' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/5730759948000414153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mscrm4kb.blogspot.com/2009/11/customization-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/5730759948000414153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/5730759948000414153'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/2009/11/customization-issue.html' title='Customization import issue'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4424692205246238951.post-1225790210098280807</id><published>2009-11-01T20:39:00.001-08:00</published><updated>2009-11-02T05:01:14.844-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Dynamics CRM 4"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4"/><title type='text'>Getting MS CRM 4 form menu item positions</title><content type='html'>A javascript tool  to help one identify the position of CRM menu items on the crm form.&lt;br /&gt;&lt;br /&gt;Once the position number is identified, one can do the following&lt;br /&gt;1. Either set any property for that item like hiding a menu item&lt;br /&gt;2. or get to know the available properties of a menu item through VS quick watch.&lt;br /&gt;&lt;br /&gt;Deployment steps&lt;br /&gt;1. Copy the html and js files to ISV folder&lt;br /&gt;2. Insert the following line in the on load event of the required entity.&lt;br /&gt;window.open(&#39;/ISV/DisplayMenuItemPostion.html&#39;); &lt;br /&gt;&lt;br /&gt;To download click &lt;a href=&quot;http://udinesh5.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35273#DownloadId=90423&quot;&gt;here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/1225790210098280807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mscrm4kb.blogspot.com/2009/11/getting-ms-crm-4-form-menu-item.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/1225790210098280807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/1225790210098280807'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/2009/11/getting-ms-crm-4-form-menu-item.html' title='Getting MS CRM 4 form menu item positions'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4424692205246238951.post-7920941499706238384</id><published>2009-10-09T07:39:00.003-07:00</published><updated>2009-10-26T20:49:53.852-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CRM Async Service"/><category scheme="http://www.blogger.com/atom/ns#" term="Custom Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Dynamics CRM 4"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4"/><title type='text'>Workflow Issue &amp; Solution</title><content type='html'>The solution for the workflow issue mentioned below is just restarting the Microsoft CRM Async Service.&lt;br /&gt;This is because the strong key file has changed but it has not been effected in CRM system, thus it requires a Async service restart.&lt;br /&gt;&lt;br /&gt;ErrorCode -2147201001&lt;br /&gt;&lt;br /&gt;Workflow paused due to error: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.  at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)  at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)  at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)  at System.Activator.CreateInstance(Type type, Boolean nonPublic)  at System.Workflow.Runtime.Hosting.DefaultWorkflowLoaderService.CreateInstance(Type workflowType)  at System.Workflow.Runtime.WorkflowDefinitionDispenser.LoadRootActivity(Type workflowType, Boolean createDefinition, Boolean initForRuntime)  at System.Workflow.Runtime.WorkflowDefinitionDispenser.GetRootActivity(Type workflowType, Boolean createNew, Boolean initForRuntime)  at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance)  at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)  at System.Workflow.Runtime.WorkflowRuntime.GetWorkflowExecutor(Guid instanceId, CreationContext context)  at System.Workflow.Runtime.WorkflowRuntime.InternalCreateWorkflow(CreationContext context, Guid instanceId)  at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType, Dictionary`2 namedArgumentValues, Guid instanceId)  at Microsoft.Crm.Workflow.WorkflowHost.StartWorkflowFromType(Guid instanceId, Type workflowType, WorkflowContext context) Inner Exception: System.IO.FileLoadException: The located assembly&#39;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  at Compiled.Workflowa09e92b8c5b4de11818d0800279388db.InitializeComponent()  at Compiled.Workflowa09e92b8c5b4de11818d0800279388db..ctor()</content><link rel='replies' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/7920941499706238384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mscrm4kb.blogspot.com/2009/10/workflow-issue-solution_09.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/7920941499706238384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/7920941499706238384'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/2009/10/workflow-issue-solution_09.html' title='Workflow Issue &amp; Solution'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4424692205246238951.post-560923821422537033</id><published>2009-10-09T07:39:00.001-07:00</published><updated>2009-10-25T21:29:59.309-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Dynamics CRM 4"/><category scheme="http://www.blogger.com/atom/ns#" term="MS CRM 4"/><title type='text'>Workflow Issue &amp; Solution</title><content type='html'>The solution for the workflow issue mentioned at the end is as as follows&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Remove the existing strong name key file from the workflow assembly code.&lt;/li&gt;&lt;li&gt;Add a new strong name key file.&lt;/li&gt;&lt;li&gt;Compile the workflow assembly.&lt;/li&gt;&lt;li&gt;Register the workflow assembly in database mode.&lt;/li&gt;&lt;li&gt;Restart the CRM async service&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;ErrorCode - 2147201001&lt;br /&gt;&lt;br /&gt;Workflow paused due to error: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.  at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)  at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)  at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)  at System.Activator.CreateInstance(Type type, Boolean nonPublic)  at System.Workflow.Runtime.Hosting.DefaultWorkflowLoaderService.CreateInstance(Type workflowType)  at System.Workflow.Runtime.WorkflowDefinitionDispenser.LoadRootActivity(Type workflowType, Boolean createDefinition, Boolean initForRuntime)  at System.Workflow.Runtime.WorkflowDefinitionDispenser.GetRootActivity(Type workflowType, Boolean createNew, Boolean initForRuntime)  at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance)  at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)  at System.Workflow.Runtime.WorkflowRuntime.GetWorkflowExecutor(Guid instanceId, CreationContext context)  at System.Workflow.Runtime.WorkflowRuntime.InternalCreateWorkflow(CreationContext context, Guid instanceId)  at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType, Dictionary`2 namedArgumentValues, Guid instanceId)  at Microsoft.Crm.Workflow.WorkflowHost.StartWorkflowFromType(Guid instanceId, Type workflowType, WorkflowContext context) Inner Exception: System.TypeLoadException: Could not load type &#39;M.C.Workflow.StartChildWorkflow&#39; from assembly &#39;M.C.Workflow.SubscriptionWorkflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=99c841002e45ae51&#39;.  at Compiled.Workflow9073d7dbc4b4de11818d0800279388db.InitializeComponent()  at Compiled.Workflow9073d7dbc4b4de11818d0800279388db..ctor()</content><link rel='replies' type='application/atom+xml' href='http://mscrm4kb.blogspot.com/feeds/560923821422537033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mscrm4kb.blogspot.com/2009/10/workflow-issue-solution.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/560923821422537033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4424692205246238951/posts/default/560923821422537033'/><link rel='alternate' type='text/html' href='http://mscrm4kb.blogspot.com/2009/10/workflow-issue-solution.html' title='Workflow Issue &amp; Solution'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/00215577797507020580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>