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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.04.2009, 03:19   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: FAQ: Using both BCM and CRM Add-ins with Outlook
Источник: http://blogs.msdn.com/crm/archive/20...h-outlook.aspx
==============

Recently it has come to our attention that some customers are installing both CRM and BCM add-ins in Outlook. This will cause Outlook to crash.

The error you will see in the Event Viewer:

.NET Runtime version 2.0.50727.3082 – Fatal Execution Engine Error (7A035FC0) (80131506)

Error seen when you open Outlook in WinDBG:
CLR:(C:\WINDOWS\assembly\GAC_32\BCMRes\3.0.0.0__31bf3856ad364e35\BCMRes.dll) Rejecting native image because dependency C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll is not native

(11d4.c3c): Break instruction exception - code 80000003 (first chance)

eax=00000001 ebx=00000000 ecx=00000000 edx=0013a9f8 esi=00000000 edi=7a035fc0

eip=7c81a3e1 esp=0013a558 ebp=0013aa04 iopl=0         nv up ei pl nz na po nc

cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202

ntdll!DbgBreakPoint:

7c81a3e1 cc              int     3

Missing image name, possible paged-out or corrupt data.

This happens because: Microsoft.Crm.Application.Outlook.ClientAuth.dll which has a dependency on System.Windows.Forms.dll loads up first as we launch Outlook. BCMRes.dll has a native image and has a hard dependency on System.Windows.Forms.dll which has a native image and this scenario hits a glitch in CLR where:
“If an assembly in the GAC (that has a native image) is loaded for the first time as a dependent bind of an assembly loaded via LoadFrom, Fusion will correctly find the assembly, but there is an oversight where we just never return it to the caller. It gets recorded fine in the load context, so that's why the second bind finds the native image.”

What then happens is that, since the native image was never returned to the caller (and is thus unavailable for use), and since its existence was recorded in the load context, the CLR fails with a fatal execution engine error

To fix this: Install CLR patch with KB # 963676. Please contact support for more details on this CLR hotfix and other details at:

https://connect.microsoft.com/Visual...&wa=wsignin1.0

If you experience any hangs even after CLR patch is installed, please make sure that CRM update rollup 1 or greater is installed which contains the fix for the hang issue (KB # 952046).

Chandra Akkiraju



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


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

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

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