简体   繁体   English

CRM 2011删除托管解决方案依赖性问题

[英]CRM 2011 deleting managed solution dependency issues

I need to delete a managed solution from an organisation without losing the data or the fields inside... So obviously there are dependency issues. 我需要从组织中删除一个托管解决方案,而又不丢失数据或内部字段。因此,显然存在依赖性问题。 I added the same solution unmanaged with a different name, hoping that this would solve the dependency issues but when I try to delete the managed solution is still get a whole list. 我以不同的名称添加了非托管的相同解决方案,希望这可以解决依赖性问题,但是当我尝试删除托管解决方案时,仍然可以获得完整列表。

Does anyone have an idea how I can fix this? 有谁知道我该如何解决?

You cannot fix this in a supported way (through GUI and/or organization service). 您不能以受支持的方式(通过GUI和/或组织服务)修复此问题。

My first idea would be to try and remove the solution components from the managed solution first and finally remove the solution itself. 我的第一个想法是首先尝试从托管解决方案中删除解决方案组件,然后再删除解决方案本身。 There actually is a RemoveSolutionComponentRequest , but according to the SDK this request is only valid for unmanaged solutions. 实际上有一个RemoveSolutionComponentRequest ,但是根据SDK,此请求仅对非托管解决方案有效。

If you need to remove particular dependencies, you could try the DisassociateRequest on the Dependency entity. 如果需要删除特定的依赖项,则可以在Dependency实体上尝试DisassociateRequest I don't know if it will work in your scenario, but maybe it is worth to give it a try. 我不知道它是否可以在您的情况下工作,但是也许值得尝试一下。

A last resort would be to remove the managed solution, along with its components and dependencies directly from the database. 最后的选择是直接从数据库中删除托管解决方案及其组件和依赖项。 Be very cautious with this approach: it is unsupported and potentially you can end up with a system that does not allow you to import solutions at all. 使用这种方法时要非常谨慎:它不受支持,并且可能最终导致您的系统根本不允许您导入解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM