Error: Microsoft.Crm.Setup.Server.PublishDefaultDataAction
When you have uninstalled CRM and try to install this again, you might run into the following error message:
Microsoft.Crm.Setup.Server.PublishDefaultDataAction failed --->System.MissingMethodException: Method not found: 'Void Microsoft.Crm.CrmCache`1.RemoveEntry(System.String)'.
This is being caused by the fact that you have other components of CRM still installed from the previous installation. Make sure you remove all components including the SSRS connector, the Outlook client and the E-mail router. That should help you fix the problem.
Kudos go out to my colleague Alex Ries who found this solution.
For reference purposes the exact log message (can be found in %\AppData\Microsoft\MSCRM\Logs).
05:45:38|Verbose| Web Wizard import: Success
05:45:38|Verbose| Business Task import: Success
05:45:38| Info| Executing Install action: Microsoft.Crm.Setup.Server.PublishDefaultDataAction
05:45:50| Error| System.Exception: Action Microsoft.Crm.Setup.Server.PublishDefaultDataAction failed. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Crm.CrmCache`1.RemoveEntry(System.String)'.
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.RemoveEntry(Guid organizationId, TKey key, Boolean fireNotification)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.RemoveEntry(Guid organizationId, TKey key)
at Microsoft.Crm.Metadata.LabelCache.Flush(Int32 languageCode, IOrganizationContext context, CacheType cacheType)
at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationPublishDefaultData(Guid organizationId)
at Microsoft.Crm.Setup.Server.PublishDefaultDataAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---, Error, RetryCancel, Option1
17 comments:
We got same error message when we try to modify Plug-in, using tool and Removing the email router could not be a feasible solution to our scenario. We faced same issue and managed to fix without removing Email router. We applied Rollup packages for CRM 4.0 Server and Email Router.
Rollup packages are as follows:
• CRMv4.0- KB2267499-amd64-Server-LangID.exe
• CRMv4.0- KB2267499-amd64-Router-LangID .exe
• CRMv4.0- KB2267499-amd64-SRS-LangID.exe
• CRMv4.0- KB2267499-amd64-MUI-LangID.exe
http://support.microsoft.com/kb/2267499
Im hoping this is a fresh installation. I suggest u try these.
1. Delete the config database form SQL
2. Delete the program files directry of your CRM after uninstalling.
3. Then uninstall and reisntall IIS.
Then before u run the setup make sure your Windows Server is running SP2 and all updates have been installed. (Windows Update)
Install IIS and then run the CRM setup.
I Ronald i have this error:
"A acção Microsoft.Crm.Setup.Common.Update.DBUpdateAction falhou.
Exception has been thrown by the target of an invocation.
Unable to load DLL 'CRMCore.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
any suggestion...
Thanks!
Hi Hélder Oliveira,
That's an error that I haven't seen before. I'm sure you have tried searching online before, so if that doesn't help either, then you can try reinstalling your server before installing CRM, or if that's not an option, then contact Microsoft support and ask them for help.
If you do find the solution, I'd be great if you can share that as well for future references.
Good luck!
Ronald
Hi Ronald
Already solved the problem.
During the installation of the Rollup 17 CRMCore.dll is not found by the environment variables that did was add the folder c: / Program Files / Microsoft Dynamics CRM / Server / bin to environment variables.
Follow the instructions:
http://www.computerhope.com/issues/ch000549.htm
Best Regards
Hi,
I updated my custom workflow so it doen't work right now.
I got this message :
# CRM Tracing Version 2.0
# LocalTime: 2013-02-11 10:07:54.3
# Categories:
# CallStackOn: No
# ComputerName: DATASRVCRM4
# CRMVersion: 4.0.7333.2644
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService
cutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
à System.Workflow.Runtime.Scheduler.Run()
[2013-02-11 17:20:22.9] Process:CrmAsyncService |Organization:ebb0911a-4b69-e211-8ad0-00155d641603 |Thread: 4 |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error | WorkflowHost.OnWorkflowTerminated
# LocalTime: 2013-02-11 17:30:17.1
# Categories:
# CallStackOn: No
# ComputerName: DATASRVCRM4
# CRMVersion: 4.0.7333.2644
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService
[2013-02-11 17:30:17.1] Process:CrmAsyncService |Organization:ebb0911a-4b69-e211-8ad0-00155d641603 |Thread: 15 |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error | WorkflowHost.OnWorkflowTerminated
>Workflow terminated: {D9A10846-6874-E211-BAC0-00155D641603} - System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à Datasurf.Crm.Data.datasurf_create_oit_create_campaign_oas.datasurf_create_oit_create_campaign_oas.Execute(IWorkflowContext ctx, String connexionString, String fonction, String accountid, String user, String password) dans D:\CrmMedia\DLL\Datasurf.Crm.Data.datasurf_create_oit_campaign_oas\datasurf_create_oit_create_campaign_oas.cs:ligne 32
à WF_datasurf_oit_create_campaign_crm.datasurf_oit_create_campaign_oas.Execute(ActivityExecutionContext executionContext)
à System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
à System.Workflow.ComponentModel.CompositeActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
à System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
à System.Workflow.ComponentModel.ActivityExecutionFilter.Execute(Activity activity, ActivityExecutionContext executionContext)
à System.Workflow.ComponentModel.FaultAndCancellationHandlingFilter.Execute(Activity activity, ActivityExecutionContext executionContext)
à System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
à System.Workflow.Runtime.Scheduler.Run()
# CRM Tracing Version 2.0
# LocalTime: 2013-02-11 17:44:04.2
# Categories:
# CallStackOn: No
# ComputerName: DATASRVCRM4
# CRMVersion: 4.0.7333.2644
# DeploymentType: OnPremise
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService
Please help.
I am getting a bit different error than this :/
Don't know what to do with it :S
I really appreciate spending some time to talk about that, I believe firmly regarding this and so really enjoy understanding more about this kind of subject.This is also a very good post which I really enjoyed reading. It is not everyday that I have the possibility to see something like this. CRM Software || MLM Software in Mumbai || ERP Software || System Software in Mumbai
Keep up the fantastic piece of work, I read few blog posts on this web site and I believe that your site is real interesting and has lots of great information. ERP Software in Mumbai || System Software || CRM Software in Mumbai || MLM Software
Nice Blog...
http://www.vaphonesupport.com/
Wonderful, I would like to big thanks for sharing such more useful articles for us. lastly, I appreciate this post. If you are looking for MLM Software India Company and want to discuss about your new MLM business startup.
Thanks admin for sharing such a wonderful article if you are looking for
khata bahi app
udhar khata book
My Cash Book
download My Cash Book app
best udhar khata app
bahi khata book online
ledger Book
employee tracking software
Download by given Link
https://play.google.com/store/apps/details?id=com.mycashbook
Thanks admin for sharing such a wonderful article if you are looking for
monitoring software
employee Activity Software
Employee tracking system
increase employee productivity
time-tracking software
activity monitor software
logntrack
employee tracking software
Visit the website or you can reach us +91 7900152844 or Mail us at support@logntrack.com
Thanks admin for sharing such a wonderful article if you are looking for
Refurbished Laptops
Used Laptop
lamington road
Second hand Electronic Products
used laptop
Cheap Electronic products
Online Shopping
Buy second-hand laptops
Visit the website to purchase https://www.lamingtonroadmarket.com/
Thanks admin for sharing such a wonderful article if you are looking for
Custom Software Development
IT Outsourcing Company
Web Development
Mobile App development
JSF Primefaces
Software Development
JSF Primefaces
expense Manager
You can reach us +91 7900152844 or Mail us at support@daynilgroup.com
Thanks admin for sharing such a wonderful article I have something which might interested please look into it
Fee Manager
Fee Management software
School Management Software
Gym Management Software
Online fee Management App
Online Gym Management software
Best Fee Management App
expense Manager
Download the app https://play.google.com/store/apps/details?id=com.feemanager
Thanks admin for sharing such a wonderful article if you are looking for
whatsapp stickers
love messages
whatsapp stickers app
love stickers
bollywood stickers
love stickers for whatsapp
friends stickers
funny stickers
new sticker
whatsapp emoticons
whatsapp sticker android
new year stickers
sticker pack for whatsapp
Downlaod Link Below
https://play.google.com/store/apps/details?id=com.stick.me"><
Post a Comment