Dynamics CRM 4.0 plugin causes extremly many WER and high CPU

Hello,

I could not find anything in the database about my problem. The basics:

Software: Fresh installed Windows 7 Pro with SP1 and all updates, Office 2010, Dynamics CRM 4.0 Client with Rollup 19. Offcause there are many more programs like Acobat Pro 10, ELO, AccountView, etc.

Hardware: HP Workstation X400 with Vertex2 SSD, 6Gb RAM, ATI FirePro V4800

Symptoms: What happenes is that the desktop freezes from time to time. That's what's triggerd the user to call me.

Cause: Eventually I found out that the Dynamics CRM 4.0 plug causes this problem. Within minutes there are >150 WER processes running and an 8 core CPU (Xeon) has over 50% usage. Each second there are 70 WER entries added in the Application Log.

Workaround: Disable the CRM Dynamics Plugin in Outlook.

Done so far: Office Repair, Removed and re-installed latest Rollup 19.
Disabled all Synchronisation items in the options, Synchronisation tab
Removed and re-installed the Dynamics CRM 4.0 Client

Does anybody have any idea where to start? High CPU with CRM Addon Enabled
BGMServicesAsked:
Who is Participating?
 
BGMServicesConnect With a Mentor Author Commented:
I forgot to mention that more is done today:

Removed both Microsoft Visual C++ 2005 installations (regular one and SP1)
Removed both Microsoft Visual C++ 2008 installations (regular one and SP1)
Removed both Microsoft Visual C++ 2010 installations (regular one and SP1)
Installed only Microsoft Visual C++ 2008 SP1

Installed KB2607576: Update voor Windows 7 voor x64-systemen
Installed Beveiligingsupdate voor herdistribueerbaar pakket Microsoft Visual C++ 2010 Service Pack 1 (KB2565063)
Installed KB2460011: Servicepack 1 voor Microsoft Access Database Engine 2010, 32-bit Edition

Installation .Net Framework 4 (Requirement of CRM 2011 Client)

Installed KB958488: Update voor Windows
Installed KB974405: Update voor Windows
Installed KB2533523: Update voor Microsoft .NET Framework 4 op Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 voor x64-systemen
Installed KB2487367: Beveiligingsupdate voor Microsoft .NET Framework 4 op Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 voor x64-systemen
Installed KB2416472: Beveiligingsupdate voor Microsoft .NET Framework 4 op Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 voor x64-systemen
Installed KB2468871: Update voor Microsoft .NET Framework 4 op Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2 voor x64-systemen
Installed Beveiligingsupdate voor herdistribueerbaar pakket Microsoft Visual C++ 2008 Service Pack 1 (KB2538243)

The Client has Update Roll-up 10 integrated. After installing this client the problem does not exist anymore. Even after 15 minutes no WERs and no high CPU utilization.

The next thing to do, is install the Roll-updates and see what happens. For now I'm a little bit happy.
0
 
BGMServicesAuthor Commented:
The fist Application Log Error:

Foutbucket 2103216970, type 5
Naam van gebeurtenis: CRMmanaged
Antwoord: Niet beschikbaar
Id van CAB-bestand: 0

Handtekening van probleem:
P1: 4.0.7333.3531
P2: OUTLOOK
P3: Microsoft.Crm
P4: Index (op nul gebaseerd) moet groter dan of gelijk aan nul zijn en kleiner zijn dan de argumentenlijst.;Hash='1814242234'
P5:
P6:
P7:
P8:
P9:
P10:

Bijgevoegde bestanden:
C:\Users\Secretariaat-1\AppData\Local\Temp\tmp766B.tmp

Deze bestanden zijn mogelijk hier beschikbaar:
C:\Users\Secretariaat-1\AppData\Local\Microsoft\Windows\WER\ReportArchive\NonCritical_4.0.7333.3531_88f2325b987e998b0764470b450da17512ad8c1_16b680c3

Analysesymbool:
Opnieuw zoeken naar oplossing: 0nRapport-id: aafe552b-f0ca-11e0-b4a1-643150444b24
Rapportstatus: 0
0
 
BGMServicesAuthor Commented:
The second Application Log Error:

Foutbucket , type 0
Naam van gebeurtenis: CRMmanaged
Antwoord: Niet beschikbaar
Id van CAB-bestand: 0

Handtekening van probleem:
P1: 4.0.7333.3531
P2: OUTLOOK
P3: Microsoft.Crm
P4: Index (op nul gebaseerd) moet groter dan of gelijk aan nul zijn en kleiner zijn dan de argumentenlijst.;Hash='1814242234'
P5:
P6:
P7:
P8:
P9:
P10:

Bijgevoegde bestanden:
C:\Users\Secretariaat-1\AppData\Local\Temp\tmp7EF7.tmp

Deze bestanden zijn mogelijk hier beschikbaar:
C:\Users\Secretariaat-1\AppData\Local\Microsoft\Windows\WER\ReportQueue\NonCritical_4.0.7333.3531_88f2325b987e998b0764470b450da17512ad8c1_cab_0b6a7ec0

Analysesymbool:
Opnieuw zoeken naar oplossing: 0nRapport-id: ac495bd8-f0ca-11e0-b4a1-643150444b24
Rapportstatus: 4
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
Chinmay PatelEnterprise ArchitectCommented:
Hi BGMServices,

Did you try to check the contents of the error log files
for example check what errors are mentioned in : Deze bestanden zijn mogelijk hier beschikbaar:
C:\Users\Secretariaat-1\AppData\Local\Microsoft\Windows\WER\ReportQueue\NonCritical_4.0.7333.3531_88f2325b987e998b0764470b450da17512ad8c1_cab_0b6a7ec0

Regards,
Chinmay.
0
 
BGMServicesAuthor Commented:
The temp file says:
Exception generated at: 7-10-2011 12:37:50
Error Type: System.FormatException
Error Message: Index (op nul gebaseerd) moet groter dan of gelijk aan nul zijn en kleiner zijn dan de argumentenlijst.
Error Stack Trace: System.FormatException: Index (op nul gebaseerd) moet groter dan of gelijk aan nul zijn en kleiner zijn dan de argumentenlijst.
   bij System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   bij System.String.Format(IFormatProvider provider, String format, Object[] args)
   bij Microsoft.Crm.Application.SMWrappers.CrmSqlCeDatabase.LookupValue(CrmSqlCeConnection connection, SqlCeTransaction transaction, String query, Object key)
   bij Microsoft.Crm.Application.SMWrappers.EmailIdMappingTable.AddEmailMapping(String messageId, String entryId, String crmId, String regardingId)

Stack Frame:

      at OutlookUtility.TraceReportException(String message, Exception exception)
      at EmailIdMappingTable.AddEmailMapping(String messageId, String entryId, String crmId, String regardingId)
      at ThreadProc.Invoke(IntPtr parameter)
      at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)

0
 
BGMServicesAuthor Commented:
Does anyone have any clue? If not I suppose I have to test removing Office 2010 and install Office 2007 again.
0
 
BGMServicesAuthor Commented:
Today I tried the following:

Removed Update Rollup 19 for Microsoft Dynamics CRM 4.0 (KB 2550097)
Removed Update Rollup 18 for Microsoft Dynamics CRM 4.0 (KB 2477777)
Removed Update Rollup 17 for Microsoft Dynamics CRM 4.0 (KB 2477746)
Removed Update Rollup 16 for Microsoft Dynamics CRM 4.0 (KB 2477743)
Removed Update Rollup 15 for Microsoft Dynamics CRM 4.0 (KB 2449283)
Removed Update Rollup 14 for Microsoft Dynamics CRM 4.0 (KB 2389019)
Removed Update Rollup 13 for Microsoft Dynamics CRM 4.0 (KB 2267499)
Removed Update Rollup 12 for Microsoft Dynamics CRM 4.0 (KB 2028381)
Removed Update Rollup 11 for Microsoft Dynamics CRM 4.0 (KB 981328)
Removed the Dynamics CRM 4.0 Client for Microsoft Outlook

Installed Microsoft Dynamics CRM 2011 for Microsoft Outlook client
Installed Update Rollup 5 for Microsoft Dynamics CRM 2011 (KB 2567454)

But.... while opening Outlook the CRM 2011 configuration screen pops up. After entering the server address http://crmsql-01-w2k8 an error pops up. The server address (URL) is invallid.

I guess the 2011 Client does not work with CRM 4.0 while the CRM 4.0 client does work with Dynamics 2011.

Removed Update Rollup 5 for Microsoft Dynamics CRM 2011 (KB 2567454)
Removed Microsoft Dynamics CRM 2011 for Microsoft Outlook client

Installed the Dynamics CRM 4.0 Client for Microsoft Outlook

to be continiued
0
 
Chinmay PatelEnterprise ArchitectCommented:
Glad to hear that. Finally we are getting somewhere.
0
 
BGMServicesAuthor Commented:
Still no high CPU and WERs reported after serveral months. Can't tell why, but after applying the Roll-updates it's still ok.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.