AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.04.2012, 22:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
crminthefield: CRM 2011 Solution Import Fails with error “Object reference not set to an instance of an object” due to missing relationship “goal_DuplicateBaseRecord”
Источник: http://blogs.msdn.com/b/crminthefiel...aserecord.aspx
==============

I had recently worked with a customer that was running into errors when trying to import a solution into some of their organizations. The solution import would fail with the following error message.

Entity Relationships        goal_DuplicateBaseRecord                Failure    0x80044150    Object reference not set to an instance of an object.

This goal_DuplicateBaseRecord relationship would exist in the source organization, but not the target organizations which caused this exception. We found that this relationship will be created if the duplicate detection had been toggled on and off within the goal entity. Once the relationship exists you will only be able to import that organizations solution into other orgs which the relationship exists.

After working with the support team we found that the goal_DuplicateBaseRecord relationship should exist on the Goal entity by default since it had Duplicate Detection enabled. This has been logged as an issue and will be fixed in one of the future updates.

 

If you are seeing this issue you can complete these steps to create the missing relationship.

1. Open the organization which you are getting the error message and go to Settings–Customizations-Customize the System.

2. Expand Entities and click on the Goal Entity.

3. Within the Goal properties UnSelect Duplicate Detection and Click Save.



4. Now Select Duplicate Detection to enable the feature and Click Save Again. This process will create the missing relationship to the DuplicateRecordBase table.

If you review the 1:N Relationships the missing relationships will now show up after the setting was toggled. You will now be able to import the solution without receiving the error message.

Before (Missing Relationships):



 

After (Relationships Created):



 

Thanks,

Jeremy Morlock

Microsoft Premier Field Engineer





Источник: http://blogs.msdn.com/b/crminthefiel...aserecord.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 7 Blog bot Dynamics CRM: Blogs 0 27.03.2012 02:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 4 Blog bot Dynamics CRM: Blogs 0 24.09.2011 01:16
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 2011 ~ Online Test Drive Guide Blog bot Dynamics CRM: Blogs 0 05.08.2011 20:13
Microsoft Dynamics CRM Team Blog: Troubleshooting Solution Import for your Upgraded Microsoft Dynamics CRM 2011 Organization Blog bot Dynamics CRM: Blogs 0 15.03.2011 01:11
Microsoft Dynamics CRM Team Blog: Goal Management Security model Blog bot Dynamics CRM: Blogs 0 22.01.2011 00:12

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 17:01.