track mail error crm 2011 RU7 outlook 2010 sp1 exchange 2007RU6
-
quinta-feira, 26 de abril de 2012 08:00
When trying to track mails i receive an error message in outlook, only says an error had occured..
tracefile:
>Received Registry Change Notification. Current Status = 0 New Status = 0
[2012-04-18 14:03:31.556] Process:OUTLOOK |Organization:79f0a858-5b80-e011-9b2b-00155d014301 |Thread: 33 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error | OutlookItemWrapper.GetSmtpAddress
at OutlookItemWrapper.GetSmtpAddress(Recipient recipient)
at OutlookItemWrapper.DecodeRecipientEmailAddress(PropValue mapiEntryId, PropValue altId, PropValue emailValue, PropValue emailType, String& displayName)
at OutlookItemWrapper.GetOutlookRecipients(Object itemWrapper, Object messageItem)
at OutlookItemWrapper.GenerateCrmPartyInfo(Guid entityId, IClientOrganizationContext context, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at EmailForOutlook.Microsoft.Crm.Application.SMWrappers.IEmailForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
>Exception occurred while retriving a recipient's email address: System.Runtime.InteropServices.COMException (0x8004010F): Die http://schemas.microsoft.com/mapi/proptag/0x39fe001f-Eigenschaft ist unbekannt oder wurde nicht gefunden.
at Microsoft.Office.Interop.Outlook._PropertyAccessor.GetProperty(String SchemaName)
at Microsoft.Crm.Outlook.OutlookItemWrapper.GetSmtpAddress(Recipient recipient)
[2012-04-18 14:03:31.560] Process:OUTLOOK |Organization:79f0a858-5b80-e011-9b2b-00155d014301 |Thread: 33 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error | EmailForOutlook.Microsoft.Crm.Application.SMWrappers.IEmailForOutlook.GenerateCrmPartyInfo
at EmailForOutlook.Microsoft.Crm.Application.SMWrappers.IEmailForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
> TraceException: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Outlook.OutlookItemWrapper.GetOutlookRecipients(Object itemWrapper, Object messageItem)
at Microsoft.Crm.Outlook.OutlookItemWrapper.GenerateCrmPartyInfo(Guid entityId, IClientOrganizationContext context, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at Microsoft.Crm.Application.SMWrappers.EmailForOutlook.Microsoft.Crm.Application.SMWrappers.IEmailForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
[2012-04-18 14:03:33.620] Process:OUTLOOK |Organization:79f0a858-5b80-e011-9b2b-00155d014301 |Thread: 33 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Warning | ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString
at ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString(Int32 id)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
> Exception: System.Runtime.InteropServices.COMException (0x80040203): Resource not found(-2147467261).
at Microsoft.Crm.Application.SMWrappers.ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString(Int32 id)
[2012-04-18 14:03:33.625] Process:OUTLOOK |Organization:79f0a858-5b80-e011-9b2b-00155d014301 |Thread: 34(MSCRM:-DownloadStatus.RunUserInterfaceThread) |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error | RuntimeMethodHandle._InvokeMethodFast
at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at Delegate.DynamicInvokeImpl(Object[] args)
at Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at Control.InvokeMarshaledCallbackHelper(Object obj)
at ExecutionContext.runTryCode(Object userData)
at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at Control.InvokeMarshaledCallbacks()
at Control.WndProc(Message& m)
at ScrollableControl.WndProc(Message& m)
at Form.WndProc(Message& m)
at ControlNativeWindow.OnMessage(Message& m)
at ControlNativeWindow.WndProc(Message& m)
at NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Application.RunDialog(Form form)
at Form.ShowDialog(IWin32Window owner)
at Form.ShowDialog()
at OutlookUIHelper.ShowDialog(Form form)
at DownloadStatus.RunUserInterfaceThread()
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.runTryCode(Object userData)
at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()
>crm id :'', Error:Unbekannter Fehler beim Synchronisieren der Daten mit Outlook.
[2012-04-18 14:03:33.757] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 5(MSCRM:-RegistryWatcher.RegTrackerThreadProc) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Verbose | RegistryKeyChangedEventHandler.Invoke
at RegistryKeyChangedEventHandler.Invoke(Object sender, EventArgs e)
at RegistryWatcher.RegTrackerThreadProc()
at ThreadHelper.ThreadStart_Context(Object state)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at ThreadHelper.ThreadStart()
>Received Registry Change Notification. Current Status = 0 New Status = 0I have no idea how to find a solution for this..
The error does not occure for every email, just for some mails, but different domainendings..
i tested already on another machine, same errors..
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
Todas as Respostas
-
sexta-feira, 27 de abril de 2012 21:22
Hi Daniel,
I'm also getting this message. It looks like Outlook or CRM can't get the SMTP address for the emails that are erroring. It may be related to Outlook auto-complete or Address Book...
When you do a manual sync, you might also see the Errors tab showing the emails that are having errors. It'll list the emails with the errors, and it'll say "An unknown error occurred while synchronizing data..." but this will be elaborated in the Outlook client trace file (which you posted).
Can you let me know if you find something that helps you with this? I'll let you know if I find anything on this.
-
quarta-feira, 2 de maio de 2012 08:00
Hi Allan2011,
yes this is the full message..
Of course I will update you, but I hope that someone else knows about this issue or how to solve, because I don´t have more ideas, only to open a case
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
quarta-feira, 2 de maio de 2012 17:08
I tried this, but haven't confirmed if it works or not:
You might try clear out the AutoComplete by clicking the "Empty Auto-Complete List" button in Outlook Options > Mail.
Then you can clear the Outlook Address Book by deleting the old Offline Address Book file in path %userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books. Just delete the folder contained in that path (it shows a GUID).
Then you download the Offline Address Book again by clicking Send/Receive tab in Outlook, then click Send/Receive Groups, then click Download Address Book and click OK. Verify that the new address book folder (showing a GUID) is created in %userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books.
-
quinta-feira, 3 de maio de 2012 07:20
Hi Alan,
this does not solve, also I checked on another "fresh" client, same issue here.
Also the tracefile same error message and servertrace nothing..
Exception occurred while retriving a recipient's email address: System.Runtime.InteropServices.COMException (0x8004010F): Die http://schemas.microsoft.com/mapi/proptag/0x39fe001f-Property is unknown or not found.
TraceException: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
Exception: System.Runtime.InteropServices.COMException (0x80040203): Resource not found(-2147467261).
:-( More Ideas?
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
quinta-feira, 3 de maio de 2012 16:20
Hi Daniel,
I'm also getting "Resource not found(-2147467261)" in the Outlook client trace file too, but also for the Appointments entity for a different person's computer. When doing a manual sync, it shows a list of appointments that failed to sync and says "An unknown error has occurred...". I'm troubleshooting this one now with some people and will know more soon.
-
quarta-feira, 16 de maio de 2012 20:28
Daniel,
Try this:
1) For the emails that are giving this sync error, search the Outlook mailbox (e.g. Sent Items) folder for the emails getting the error, click UnTrack and then Track. When I tried this, it removed the "An unknown error has occurred." for the individual emails.
2) I haven't confirmed if these work or not, but you can also try clear out IE temporary files. Clear out CRM diagnostics temporary files. Clear out the *.SDF files from the MSCRM folders.
3) Untrack and re-track the specific Outlook items that have the unknown error.
4) Try reconfigure or reinstall CRM for Outlook.
-
segunda-feira, 21 de maio de 2012 07:52
Hi Allan,
1) the error comes when i try to track, not only for already tracked items, the already tracked items i have the workaround to remove the items from outlook, do a manual sync and insert it after again.
2) tried, also a fresh client
3) possible for already tracked...
4) did few times, not solve the issue
If somebody have this error code please post or solution :) tx
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
segunda-feira, 16 de julho de 2012 21:57
My unknown sync errors for appointments were resolved. My error was caused by having my test environment in a different domain than the other users (e.g. email1@ABC.com instead of email1@XYZ.com).
You're getting this error, which says CRM for Outlook can't find one or more of the email addresses in the email so it can't promote it to CRM.
>Exception occurred while retriving a recipient's email address: System.Runtime.InteropServices.COMException (0x8004010F): Die http://schemas.microsoft.com/mapi/proptag/0x39fe001f-Eigenschaft ist unbekannt oder wurde nicht gefunden.
Did you check the "Outlook Properties" of each of the email parties in the FROM, TO, CC lines of the email? Go to the E-Mail Addresses tab of each person in the email and check if they have an SMTP email address listed there. Is there an SMTP email address listed for every recipient or sender or person? One of the parties of the email might be missing an actual email address and/or were removed from the Exchange server.
Also, did the company change Exchange servers recently? Emails from an old exchange server, but still in their inbox, may not be able to be promoted to CRM because it can remove the FROM, TO, CC SMTP email addresses.
- Editado An2011 segunda-feira, 16 de julho de 2012 21:59 edit
-
quarta-feira, 18 de julho de 2012 06:32I am getting this same error with CRM 2011 update rollup 8 with Outlook 2013. We should be able to track any email into CRM so that for instance we can create a 'CRM Case' from the tracked email.
-
quarta-feira, 18 de julho de 2012 14:22
I'm also getting this problem on CRM Online. It had been workingk OK with the 64 bit Outlook client but I reinstalled to the 32 bit version of Office 2010 for other reasons, and since then I get this error. Emails that were already tracked can be untracked and retracked fine, yet knew ones wih the same email address fail. I've tried reinstalling CRM for Outlook but it made no difference. The relevant part of the trace is:
[2012-07-18 14:45:35.754] Process:OUTLOOK |Organization:8c04a6b6-a8e9-459c-a7d9-27de5f91305d |Thread: 151 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: | OutlookItemWrapper.GetSmtpAddress
at OutlookItemWrapper.GetSmtpAddress(Recipient recipient)
at OutlookItemWrapper.DecodeRecipientEmailAddress(PropValue mapiEntryId, PropValue altId, PropValue emailValue, PropValue emailType, String& displayName)
at OutlookItemWrapper.GetOutlookRecipients(Object itemWrapper, Object messageItem)
at OutlookItemWrapper.GenerateCrmPartyInfo(Guid entityId, IClientOrganizationContext context, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at EmailForOutlook.Microsoft.Crm.Application.SMWrappers.IEmailForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
>Exception occurred while retriving a recipient's email address: System.Runtime.InteropServices.COMException (0x8004010F): The property "http://schemas.microsoft.com/mapi/proptag/0x39fe001f" is unknown or cannot be found.
at Microsoft.Office.Interop.Outlook._PropertyAccessor.GetProperty(String SchemaName)
at Microsoft.Crm.Outlook.OutlookItemWrapper.GetSmtpAddress(Recipient recipient)Any suggestions welcome.
-
quarta-feira, 18 de julho de 2012 14:59
For this:
>Exception occurred while retriving a recipient's email address: System.Runtime.InteropServices.COMException (0x8004010F): The property "http://schemas.microsoft.com/mapi/proptag/0x39fe001f" is unknown or cannot be found.
Try this:
In Outlook, clear the auto-complete and refresh the Outlook Address Book.
Steps for Windows 7 and Outlook 2010:- In Outlook 2010 Options, click the button called “Empty Auto-Complete List”.
- Close Outlook completely.
- In Windows, go to the following path: %userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books.
- Delete the folder contained in there, which should be named as a GUID (e.g. a422ed83-4h31-4778-ao22-b6e78ssew0a9).
- In Outlook, click the Send/Receive tab
- Click Send/Receive Groups
- Click Download Address Book
- Click OK.
- In Windows, verify if the new folder with a GUID name is generated under %userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books.
NOTE: When writing new emails, the auto-complete won't work until it's auto-populated after sending e-mails. When creating a new email, you will need to click the TO button, or the Address Book button in the ribbon, in order to add recipients.
- Editado An2011 quarta-feira, 18 de julho de 2012 15:00
-
quinta-feira, 19 de julho de 2012 07:54
Hi @ll,
thanks for you´re suggestions, but this doesn´t solve for us the issue. More Ideas are welcome :)
The only workaround that definetly works is to forward the email to myself and track then, we can live with this workaround but a solution would be much more appreciated.
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
quinta-feira, 19 de julho de 2012 15:24
It looks like you have an SMTP email address issue where CRM for Outlook cannot find the email addresses in the email.
You said: "The error does not occure for every email, just for some mails, but different domainendings.."
Are the emails from people outside of the company, or are they all users in the company? Do the parties shown in the email FROM, TO, CC lines have SMTP email addresses in the Outlook Properties?Are you trying to track the email from an environment where the CRM user you are configured with is in a different Active Directory domain than the other CRM users, and where they are on a different Exchange server? For example, you will get the same unknown sync errors and "resource not found" messages if you set up a test environment and try to sync down Appointments from a CRM user in a different AD domain and Exchange than the other users. You would need to set up the configured CRM user as an Exchange user and AD user on their network in order for local Outlook items (e.g. appointments, emails) to sync properly with CRM. If your Outlook email account is not in their Exchange and Active Directory, you will have problems syncing with CRM. This is what caused the same error messages for me (but for the Appointment entity), and it may be the same case for you. Otherwise, I recommend opening a Microsoft support case.
- Marcado como Resposta Daniel Ovadia sexta-feira, 20 de julho de 2012 07:35
-
sexta-feira, 20 de julho de 2012 07:35I think you got it, thanks a lot!
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
sexta-feira, 20 de julho de 2012 14:41
Which one was it for you? Was it the SMTP email addresses being missing from the Outlook properties, or was it an AD/Exchange issue?
-
sexta-feira, 20 de julho de 2012 14:49Unfortunately for me it is both...
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
sexta-feira, 20 de julho de 2012 15:06
I've found that sometimes if a company changes Exchange servers, it can remove the SMTP email addresses of the Exchange users from the old emails (there might be a way to avoid this but I don't know the method). I think it might also happen if they delete an Exchange user, but I haven't tested that to confirm.
If the SMTP email address is missing in the email FROM/TO/CC lines where it's a current or former Exchange user, there *might* be a way to re-populate the SMTP information but I'm not sure how.
Have you tried inserting the SMTP email addresses into the non-Exchange parties of the emails that failed to track through the Outlook Properties of the email FROM/TO/CC? Otherwise, I think there's nothing you can do about missing SMTP email addresses except track emails moving forward. You could resend the emails to yourself, then track.
-
segunda-feira, 23 de julho de 2012 07:27
hi allan,
no, i did wrote a knowledgebase article for our customers, if they will run into this issue, just forward the mail to themself, with some explanation of what u had wrote above :)
we will migrate next month´s to exchange 2010, maybe when we are run the new version, those errors will go away or not. Because this issue is to low to open a a case, everybody will give us this workaround and a business impact, I really don´t see.. Thank you!
gruss Daniel Ovadia MBSS - Microsoft Dynamics CRM MCNPS
-
segunda-feira, 23 de julho de 2012 15:44
Thanks Daniel, good luck! Microsoft support helped me on my appointment syncing issue, so you might open a case if you really need to get to the bottom of it for emails.
- Editado An2011 quarta-feira, 25 de julho de 2012 19:37