Fragensteller
Fehler beim Auflösen der Empfänger E-Mail-Adresse im Outlook Client

Frage
-
Hallo,
ich habe folgendes Problem. Im Outlook Client 2011 (32bit) UR5 versuche ich eine E-Mail aus dem Posteingang nachzuverfolgen. Dabei erhalte ich eine Fehlermeldung und im Trace-Log erscheint folgendes:
>Received Registry Change Notification. Current Status = 0 New Status = 0
[2011-11-25 00:17:42.878] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 29 |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.
bei Microsoft.Office.Interop.Outlook._PropertyAccessor.GetProperty(String SchemaName)
bei Microsoft.Crm.Outlook.OutlookItemWrapper.GetSmtpAddress(Recipient recipient)
[2011-11-25 00:17:42.879] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 29 |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: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Microsoft.Crm.Outlook.OutlookItemWrapper.GetOutlookRecipients(Object itemWrapper, Object messageItem)
bei Microsoft.Crm.Outlook.OutlookItemWrapper.GenerateCrmPartyInfo(Guid entityId, IClientOrganizationContext context, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
bei Microsoft.Crm.Application.SMWrappers.EmailForOutlook.Microsoft.Crm.Application.SMWrappers.IEmailForOutlook.GenerateCrmPartyInfo(String entityId, Object messageItem, IDynamicEntityForOutlook dynamicEntity)
[2011-11-25 00:17:43.583] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 29 |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).
bei Microsoft.Crm.Application.SMWrappers.ResourceForOutlook.Microsoft.Crm.Application.SMWrappers.IResourceForOutlook.GetString(Int32 id)
[2011-11-25 00:17:44.950] Process:OUTLOOK |Organization:00000000-0000-0000-0000-000000000000 |Thread: 29 |Category: Application.Outlook |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ProgressDialogForOutlook.Microsoft.Crm.Application.SMWrappers.IProgressDialogForOutlook.SetDetailedErrorMessage
at ProgressDialogForOutlook.Microsoft.Crm.Application.SMWrappers.IProgressDialogForOutlook.SetDetailedErrorMessage(String entityType, String entityName, Boolean warning, String errorMessage, String entryId, String storeId, String crmId, Int32 entityObjectTypeCode, Boolean showDialog)
at ThreadsSupport.ExecuteThreadProc(ThreadProc threadProc, IntPtr parameter)
>crm id :'', Error:Unbekannter Fehler beim Synchronisieren der Daten mit Outlook.
[2011-11-25 00:17:44.958] 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()Der Empfänger der E-Mail ist mein CRM-Benutzer. Also die E-Mail-Adresse ist im CRM hinterlegt und freigegeben. Das CRM-System wird über IFD angesprochen.
Gruß,
Nils Frohloff
Alle Antworten
-
Ja, der Fehler tritt auch dann auf.
Ich habe ehrlich gesagt, kaum noch einen Ansatzpunkt woran es liegen könnte.
Vielleicht noch ein paar Anmerkungen zu meiner Konfiguration:
Ich nutze drei voneinander unabhängige Exchange Konten (Office 365) und ein weiteres POP/SMTP Konto. Eins der Exchange Konten ist das primäre Empfangskonto und dort liegen auch die E-Mails, die getrackt werden sollen.Das CRM ist eine gehostete Variante mit mehreren Organisationen (aber nicht CRM Online).
Thx anyway...
Nils
-
mailadresse für den user ist approved schreibst du ja. hat er in der rolle kontakt überall full control?
ist das ribbon customized? tritt es bei allen mails die kommen auf, oder nur von bestimmten absendern? ist ein proxy aktiv? ist auditing im crm eingeschaltet? kommt der gleiche fehler im offline modus, bzw. oder wenn du es getestet hast erst beim wieder online gehen?
vielleicht hilft hier folgender artikel: http://blogs.msdn.com/b/benlec/archive/2008/12/23/incoming-e-mails-are-not-tracked-in-crm.aspx
greetz dao -
Hallo,
also so wie es aussieht muss es irgendwann mit der Outlook-Konfiguration zu tun haben. Ich konnte das selbe Exchange Postfach auf einem anderen Rechner einbinden, dann den Outlook Client installieren und dann die E-Mails erfolgreich tracken. ?!?
Den CRM-Client hatte ich in der Zwischenzeit allerdings schon mal neu installiert.
Gruß,
Nils
-
Hallo,
und noch mal ein Update. Wenn ich das zweite Outlook Online Exchange Postfach hinzufüge, dann bekomme ich die Probleme. Also zwei verschiedene Office 365 Postfächer in einem Outlook mit CRM Client scheint bei mir das Problem zu verursachen. Kann das jemand bestätigen oder klappt das ansonsten bei jemanden?
Ich habe in der Vergangenheit schon zwei verschiedene Exchange Konten (mit lokalem Exchange) in Verbindung mit dem CRM Outlook Client genutzt.
Gruß,
Nils
-
vielleicht hilft es ja das emailprofil zu kopieren, dann die datendateien von outlook in einen neuen ordner schieben, dann sollte er sich die erneut ziehen>danach konfig wizard laufen lassen und vorher den email cache löschen in %appdata%.
Ich hatte auch schon mails die fehlerhaft waren und deshalb nicht tracken liessen, da hat mir das geholfen.
greetz dao -
Hi Dao,
ich habe gestern die Outlook/CRM Kombination auf einem zweiten Rechner nachgestellt. Mit einem Exchange Online Profil ging dann wunderbar. Sobald ich das zweite Exchange Online Profil hinzugefügt habe, trat der Fehler auf. Nachdem ich das zweite Exchange Online Profil wieder entfernt habe, ging auch wieder das Tracking...
Momentan würde ich sagen ist das ein Problem/Bug im AddIn, wenn man zwei oder mehr Exchange Online Konten im Outlook gleichzeitig verwendet. Mit zwei Exchange Konten (OnPremise) hatte ich davor nie Probleme.
Seltsam...
Gruß,
Nils
-
Hi Nils,
habe es eben getestet, erst mit einem Postfach=funktioniert, dann die 2te hinzugefügt funktioniert auch noch. Wenn ich jedoch an die 2te adresse sende und im dortigen posteingang tracke, geht es nicht, schiebe ich die mail jedoch in den anderen Posteingang von 1terer mailadresse geht es wieder. Scheint kein BUG zu sein..
Ich habe die testoffice365 adresse nicht mal im user vom crm approved...Hast du es schon mit unapproved adressen getestet? Oder mailadressen die es definitv nirgends im CRM gibt?
greetz dao- Als Antwort vorgeschlagen JuergenBeckModerator Montag, 9. Januar 2012 16:10
-
Hi Dao,
vielen Dank für deinen Einsatz. Also ich habe zwei Accounts: user1@domain1.de und user2@domain2.de. Wenn ich nur user1@domain1.de in Outlook einbinde funktioniert alles problemlos. Wenn ich jedoch user2@domain2.de auch einbinde, kann ich nicht mehr im Posteingang von user1@domain1.de tracken.
Im konkreten Fall ist der User für zwei verschiedene Organisationen tätig. Und die beiden Exchange Accounts haben daher relativ wenig miteinander zu tun. Sie liegen auch auf unterschiedlichen Servern.
Gruß,
Nils
-
Hallo,
bist du hier zu einer Lösung gekommen? Gibt es noch jemand der hier einen Rat hat?
Habe das Problem bei einem client, jedoch hat er nur ein exchange konto eingebunden und sonst keine weiteren mailadressen?!
hier ein tracefile meines clients:
>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 = 0greetz dao