none
CRM Outlook - please a little help from my .... RRS feed

  • Frage

  • Hi,

    since a few weeks we are proudly using dynamics crm 4.0,
    but i haven't been able to use the outlook client yet.

    Especially its not possible to put an email from outlook to crm, i mean the function to track en email.
    The other parts in the crm outlook client are just wunderfull like crm for IE is.

    The Error which occurs is (5983):
    An error occurred while promoting a Microsoft CRM e-mail message. Restart Microsoft Outlook and try again. HR=0x80040216. Context=. Function=CMailItemHelper::HrPromoteMailItemInCrm. Line=1637.

    Though i have read so many blogs and forums, i tested so many things and every update between 6 und 9, but you guess it, without success.
    Just one little thing is interesting, when i sniffed the network i could watch the traffic between my client and the crm server. When my client sends the request to track an email, the crm server responds with error 401, authentification not possible.

    Any ideas? Please help me.


    ______in german__in deutsch_________________in german__in deutsch______________________in german__in deutsch_________________



    Hallo,

    wir haben CRM 4.0 im Einsatz und natürlich ist auch die Instalaltion in Outlook geplant.
    Jedoch schaffe ich es nicht den Outlook Client dazu zu bringen Emails hochzustufen.

    Termine, Aufgaben sind kein Problem auch der Versand einer Email aus CRM über Outlook funktioniert,
    "nur" das hochstufen halt nicht.

    Es kommt der übliche Fehler "Es ist ein Fehler aufgetreten. Wiederholen Sie diese Aktione. Falls das Problem weiterhin...".

    Aus der Ereignisanzeige (5983):

    An error occurred while promoting a Microsoft CRM e-mail message. Restart Microsoft Outlook and try again. HR=0x80040216. Context=. Function=CMailItemHelper::HrPromoteMailItemInCrm. Line=1637.

    Was ich interessant finde ist, dass wenn ich mir den Netzwerkverkehr anschaue, bekomme ich vom CRM-Server bei der Anfrage von Outlook ein 401 Error, Authentifizierung fehlgeschlagen. Auf dem CRM-Server selber, bleibt das Protokoll ohne Eintrag.

    Ich habe jetzt schon seit Tagen Tests durchgeführt und Blogs durchforstet - bislang ohne Erfolg.
    Versionen habe ich von Update 6 - 9 durchprobiert. Der IE funktioniert fehlerfrei.

    Wer hat eine Idee?
    Dienstag, 9. März 2010 08:02

Alle Antworten

  • Hi,

    aktiviere bitte das Tracing, sowohl auf dem Server als auch auf dem Client und schau mal was du darin findest.
    Bekommst du den Fehler auf jedem Client mit jedem Benutzer?
    Dienstag, 9. März 2010 08:46
  • Hallo,

    ja, jeder Benutzer und in jeder Outlook Version.

    Tracing ergab folgendes:

    Fehler 1: MessageProcessor.Execute

    at MessageProcessor.Execute(PipelineExecutionContext context)
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
    at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at CrmService.Execute(Request request)
    at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at LogicalMethodInfo.Invoke(Object target, Object[] values)
    at WebServiceHandler.Invoke()
    at WebServiceHandler.CoreProcessRequest()
    at SyncSessionlessHandler.ProcessRequest(HttpContext context)
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at ApplicationStepManager.ResumeSteps(Exception error)
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >MessageProcessor fail to process message 'DeliverPromote' for 'email'.


    Warning: SoapContext.DumpErrorResponse

    at SoapContext.DumpErrorResponse(Stream responseStream, Uri uri, String methodName)
    at CrmAuthenticationSoapExtensionBase.ProcessMessage(SoapMessage message)
    at SoapMessage.RunExtensions(SoapExtension[] extensions, Boolean throwOnException)
    at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
    at WebServiceHandler.WriteException(Exception e)
    at WebServiceHandler.Invoke()
    at WebServiceHandler.CoreProcessRequest()
    at SyncSessionlessHandler.ProcessRequest(HttpContext context)
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at ApplicationStepManager.ResumeSteps(Exception error)
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >SOAP Request failed:
    Url:http://smor0029/MSCRMServices/2007/CrmService.asmx
    MethodName:Execute
    Response:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Server was unable to process request. ---&gt; Exception has been thrown by the target of an invocation. ---&gt; Key cannot be null.
    Parameter name: key</faultstring>
    <detail />
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>


    Fehler 2: CompositeSoapExtensionExceptionHandler.Handle

    at CompositeSoapExtensionExceptionHandler.Handle(Stream to, Stream from, Exception exception)
    at CrmAuthenticationSoapExtensionBase.ProcessMessage(SoapMessage message)
    at SoapMessage.RunExtensions(SoapExtension[] extensions, Boolean throwOnException)
    at SoapServerProtocol.WriteException(Exception e, Stream outputStream)
    at WebServiceHandler.WriteException(Exception e)
    at WebServiceHandler.Invoke()
    at WebServiceHandler.CoreProcessRequest()
    at SyncSessionlessHandler.ProcessRequest(HttpContext context)
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at ApplicationStepManager.ResumeSteps(Exception error)
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >CrmSoapExtension detected non-CrmException - report will be sent to Watson:
    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Key cannot be null.
    Parameter name: key
    at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
    at Microsoft.Crm.ObjectModel.AddressManager.ResolveToUnknown(AddressEntry[] addressEntries, List`1 addressEntryList)
    at Microsoft.Crm.ObjectModel.EmailService.Deliver(Boolean userPromote, Guid emailId, String messageId, String subject, String from, String to, String cc, String bcc, DateTime receivedOn, String submittedBy, String importance, String body, BusinessEntityCollection attachments, Guid campaignResponseId, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.EmailService.DeliverPromote(Guid emailId, String messageId, String subject, String from, String to, String cc, String bcc, DateTime receivedOn, String submittedBy, String importance, String body, BusinessEntityCollection attachments, ExecutionContext context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
    at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
    at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
    at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.Crm2007.CrmService.Execute(Request request)
    --- End of inner exception stack trace ---

    Dienstag, 9. März 2010 10:47
  • Hi,

    look at this article, mayit it will help:
    http://social.microsoft.com/Forums/en/crm/thread/f546475d-103c-47e8-8051-e9656f094a21
    Viele Grüße

    Michael Sulz
    MVP für Microsoft Dynamics CRM
    • Als Antwort vorgeschlagen Michael Sulz Samstag, 13. März 2010 10:19
    Samstag, 13. März 2010 10:19
  • Hallo,

    hast du immer noch das Problem, hat dir eine vorgeschlagende Lösung geholfen oder hast du mittlerweile eine eigene Lösung gefunden?

    Viele Grüße,
    Jürgen


    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors

    http://www.combeck.de
    Samstag, 15. Mai 2010 11:49
    Moderator