[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Dynamics CRM 4.0 plugin causes extremly many WER and high CPU

Posted on 2011-10-07
9
Medium Priority
?
1,015 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:BGMServices
  • 7
  • 2
9 Comments
 

Author Comment

by:BGMServices
ID: 36929930
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
 

Author Comment

by:BGMServices
ID: 36929931
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
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 36935547
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:BGMServices
ID: 36948107
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
 

Author Comment

by:BGMServices
ID: 37061982
Does anyone have any clue? If not I suppose I have to test removing Office 2010 and install Office 2007 again.
0
 

Author Comment

by:BGMServices
ID: 37100385
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
 

Accepted Solution

by:
BGMServices earned 0 total points
ID: 37100706
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
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37100841
Glad to hear that. Finally we are getting somewhere.
0
 

Author Closing Comment

by:BGMServices
ID: 37589422
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 trialware OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their Exchange server is no longer available or other critical issues with Exchange server or impo…
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question