Answered by:
CRM Client for Outlook Issue

Question
-
Hi All,
Im having an issues when I upgrade my system to Windows 7. My current config is Win 7, Office 2007, CRM 4.0 Rollup 8
When Im trying to send an email message that is attached to a CRM account or contract Outlook will crash and restart. the email will stay in the draft folder and the only way to send it is to "Untrack it" for CRm and resend. This happens contactly and with more that one workstation.
The error that display just says, "There was a problem with outlook and it needs to restart"
HELP! It's driving me crazy.
Myk LougeeMonday, January 4, 2010 6:06 PM
Answers
-
I overlooked the fact that you have McAffee installed. You may want to focus there first - it may be attempting to evaluate CRM's jscripting and impacting performance. Take a look here - http://www.tekoppele.com/Blog/post/2009/05/20/McAfee-ScriptScan-Solution-for-Dynamics-CRM.aspx
There is a fix (noted in the posting) that allows CRM to be 'whitelisted' for McAfee to avoid having all CRM activities intercepted/evaluated by the script scanner.
also - The error you're seeing in IE may be a side effect of the other crash - I'm assuming you're able to use all the functionality of the web version of CRM without problems. correct?
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell- Proposed as answer by Donna EdwardsMVP Wednesday, January 6, 2010 5:54 PM
- Marked as answer by Jim Glass Jr Thursday, January 7, 2010 7:07 PM
Wednesday, January 6, 2010 3:06 PMModerator -
Myk -
I think I'm out of guesses - and to keep guessing wouldn't be that helpful to you anyway. -
Open a ticket with support and they should be able to resolve it with you - fortunately since all your workstations are having the same issue, once you solve it with one, it'll be a snap to fix the rest.
The environment sounds very normal, very much like what I have and yet you're experiencing something different. - I know that's frustrating. - Been there, done that, but I am sure there's a relatively simple resolution out there - and it'll be something that in hindsight is obvious!. :)
Keep me posted on the resolution - I hope it's something relatively benign.
Scott.
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell- Marked as answer by Donna EdwardsMVP Thursday, January 14, 2010 2:44 PM
Monday, January 11, 2010 2:00 PMModerator -
Myk,Here is what I have found for the error number you stated above:
<ErrorId>80040237</ErrorId>
<ManagedErrorName>DuplicateRecord</ManagedErrorName>
<ErrorMessage>Operation failed due to a SQL integrity violation.</ErrorMessage>
<UnManagedErrorName>IDS_DUPLICATE_RECORD</UnManagedErrorName>
Additionally, it sounds like you're having this issue sporadically across multiple clients. I would look at getting a truly reproducible error by working with the client itself and your users. I would follow Scott's advice and definitely contact Microsoft Dynamics support, but additionally, I would like to find out what changes you have made to the CRM server. Is this a new installation of CRM 4.0? Was this install upgraded from CRM 3.0 in the past? Have you added anything to the server that might be a customization to the email entity? By the looks of the error message above, and what you're describing, your problem could be in the configuration of the Email Router, it could also be an issue with the CRM client contacting the Asynchronous Service on the CRM server... there is just too many things to try and troubleshoot that it would be better served by a dedicated professional on Microsoft's side.
- Marked as answer by Donna EdwardsMVP Thursday, January 14, 2010 2:44 PM
Wednesday, January 13, 2010 6:44 PM
All replies
-
Can you synchronize CRM with outlook?When you open Outlook (before tracking anything) go to CRM (at the top between Actions and Help), then select "Synchronize with CRM".Do you get any errors? Does Outlook Crash at this point?Also, check the Windows Event log in the "Application Log" section (start > run > eventvwr) for any errors relating to Outlook or CRM.Monday, January 4, 2010 7:59 PM
-
Do you have any other applications loaded in Outlook - (business card scanner / mapping application etc.) - I've seen issues with these interfere with CRM - sometimes it's just a matter of uninstalling them, ensuring CRM is running fine and re-installing them. -
Also, when you run the Microsoft Dynamics CRM Office Client Diagnostics, does it report any issue?
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewellMonday, January 4, 2010 10:58 PMModerator -
Yes, Synchronizatyion works fine. No crashes when manually syncing.
There is an error that getin into the application logs. Here is the error
An error occurred while promoting a Microsoft CRM e-mail message. Restart Microsoft Outlook and try again. HR=0x80040237. Context=. Function=CMailItemHelper::HrPromoteMailItemInCrm. Line=1338.
I tried to research this issues and the error message to no avail. This is happeneing on more than one system and it only started when we upgraded to Win 7.
.
Also loaded on the machines is McAffe Total security Suite.
This crashing does not happen all the time, just most of the time. Sometimes after outlook crashes you can go to the draft folder and resend the email and it will get sent, other times it just crashes outlook again.
Myk LougeeWednesday, January 6, 2010 2:05 PM -
Here is the list of Add - Ins in outlook
Active Application Add-ins
Microsoft Dynamics cRM
Microsoft Exchange Unified Messaging
Microsoft Office Groove Proxy for Outlook Add-in
Microsoft Office sharePoint Server Colleague Import Add-in
Microsoft Outlook Mobile Senvice
OneNote Notes about Outlook items
Send to Bluetooth
Windows Search Email Indexer
Inactive Application Add-ins
Calendar Gadget for windows SideShow
Microsoft Access Outlook Add-in for Data collection and Publishing
Microsoft VBA for Outlook Addin
CRM Diagnostics repots no issues
Myk LougeeWednesday, January 6, 2010 2:09 PM -
I also noted that when this OUTLOOk error shows it also crashes CRM in IE.
I always keep CRM open in IE beacuse it runs better. I never use CRM in Outlook.
Anyway the error in IE is:
Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDR; InfoPath.2)
Timestamp: Wed, 6 Jan 2010 14:32:56 UTC
Message: Permission denied
Line: 105
Char: 1
Code: 0
URI: http://mcr-server2003:5555/MCRTechnologies/_root/navbarpage.aspx?area=Workplace&group=MyWork&subarea=nav_activities
When this error shows you cant navigate through CRM, a refresh of the page fixes everything in IE.
Myk LougeeWednesday, January 6, 2010 2:35 PM -
I overlooked the fact that you have McAffee installed. You may want to focus there first - it may be attempting to evaluate CRM's jscripting and impacting performance. Take a look here - http://www.tekoppele.com/Blog/post/2009/05/20/McAfee-ScriptScan-Solution-for-Dynamics-CRM.aspx
There is a fix (noted in the posting) that allows CRM to be 'whitelisted' for McAfee to avoid having all CRM activities intercepted/evaluated by the script scanner.
also - The error you're seeing in IE may be a side effect of the other crash - I'm assuming you're able to use all the functionality of the web version of CRM without problems. correct?
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell- Proposed as answer by Donna EdwardsMVP Wednesday, January 6, 2010 5:54 PM
- Marked as answer by Jim Glass Jr Thursday, January 7, 2010 7:07 PM
Wednesday, January 6, 2010 3:06 PMModerator -
Yea, when we install McAfee i did notice a performance hit and have since disabled the scripting. This gave me the performance back in CRM. However thsi si not the issue as McAfee was install when the workstations were WinXP and had no issues.
This issues started with Win 7 installation. Only the Win 7 desktops experience this problem.
The CRM Web client works fine without issue.
Myk LougeeThursday, January 7, 2010 2:07 PM -
Myk -
I'm running the same basic software as you - win7/office2007/rollup8 (although no two PCs have exactly the same software..)
But you might try uninstalling it from outlook, reboot then re-install and re-apply RU8 -
Were these XP->Win7 upgrades or fresh installations? (Fresh installs in general are 'cleaner', if you have a PC you can test a fresh install of win 7 and all your normal software - if that works fine, there may be something leftbehind in Windows or in Office that's giving CRM challenges. - You might try that if the simpler uninstall/reinstall of CRM doesn't do the trick.)
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewellThursday, January 7, 2010 7:19 PMModerator -
Yes, all the "Upgrades" were fresh installations of Win 7
The problem was happening with Rollup 7 and I was hoping rollup 8 would fix the problem. It did not.
I did read somewhere that a strange error was showin in CRM for outlook "IF" you have vista and if you had a certain rollup, and if the moon was blue etc... The fix was to disable UAC.
I trying anything.
Myk LougeeFriday, January 8, 2010 1:09 PM -
Myk - sorry if this seems like a lame question, but did you install the UR8 on both the Client and the Server? -
Also, is there any chance you could remove McAfee temporarily from a test client? - (Install something less resource intensive like security essentials in the interrim.) - Just trying to tease out whatever is unique to your installs.
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewellFriday, January 8, 2010 5:02 PMModerator -
Yes, Roll up 8 on both Server and Clients.
I have uninsulated McAffee from my workstation to tray something, anything. Disabling the UAC did nothing.
Myk LougeeMonday, January 11, 2010 1:53 PM -
Myk -
I think I'm out of guesses - and to keep guessing wouldn't be that helpful to you anyway. -
Open a ticket with support and they should be able to resolve it with you - fortunately since all your workstations are having the same issue, once you solve it with one, it'll be a snap to fix the rest.
The environment sounds very normal, very much like what I have and yet you're experiencing something different. - I know that's frustrating. - Been there, done that, but I am sure there's a relatively simple resolution out there - and it'll be something that in hindsight is obvious!. :)
Keep me posted on the resolution - I hope it's something relatively benign.
Scott.
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell- Marked as answer by Donna EdwardsMVP Thursday, January 14, 2010 2:44 PM
Monday, January 11, 2010 2:00 PMModerator -
Well its not McAfee, as it was uninstalled with no effect. Still crashing outlook.
My other users have told me that it crases when: It is linked to a CRM entity and there is more than ONE email address in the TO or CC fields. Others ahve said if they SAVE the email first, then send, the number of crashes are reduced.
Really not sure what the ____ is going on but will keep this thread updated as new clues emerge.
Myk LougeeWednesday, January 13, 2010 4:53 PM -
Myk,Here is what I have found for the error number you stated above:
<ErrorId>80040237</ErrorId>
<ManagedErrorName>DuplicateRecord</ManagedErrorName>
<ErrorMessage>Operation failed due to a SQL integrity violation.</ErrorMessage>
<UnManagedErrorName>IDS_DUPLICATE_RECORD</UnManagedErrorName>
Additionally, it sounds like you're having this issue sporadically across multiple clients. I would look at getting a truly reproducible error by working with the client itself and your users. I would follow Scott's advice and definitely contact Microsoft Dynamics support, but additionally, I would like to find out what changes you have made to the CRM server. Is this a new installation of CRM 4.0? Was this install upgraded from CRM 3.0 in the past? Have you added anything to the server that might be a customization to the email entity? By the looks of the error message above, and what you're describing, your problem could be in the configuration of the Email Router, it could also be an issue with the CRM client contacting the Asynchronous Service on the CRM server... there is just too many things to try and troubleshoot that it would be better served by a dedicated professional on Microsoft's side.
- Marked as answer by Donna EdwardsMVP Thursday, January 14, 2010 2:44 PM
Wednesday, January 13, 2010 6:44 PM