locked
Email carriage return problem RRS feed

  • Question

  • Hello. My installation is Microsoft Crm 3.0 with rollup 3. I have a problem with emails that contain carriage return symbol. Basically, they can't be send. The error is "Invalid assosiation. The request assosiation is not valid." I read relevant kb articles, they say it's mail server communication problem. However, emails with just 1 line of text of any length are always sent, so that's obviously not the issue. The problem appears only when sending email through "My work> Activities > New Activity", bulk emails with carriage returm are also sent fine. It doesn't matter who sends email, the error is always the same, even if it's administrator with absolute rights. Error log shows nothing. Full reinstalling didn't help. I suspected this to be some localization problem, so I setup a virtual machine, installed english windows server 2003, english microsoft crm 3.0 and rollup 3, but the problem restists. Now, I'm lost. Any ideas?
    Tuesday, June 24, 2008 4:45 AM

All replies

  • ok, I enabled tracing and that's what I've got:




    Server was unable to process request.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.Services.Protocols.SoapException: Server was unable to process request.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [SoapException: Server was unable to process request.]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1496
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
    Microsoft.Crm.Platform.Proxy.EmailWebService.Send(Guid emailId, Boolean issueSend, String trackingToken) +132
    Microsoft.Crm.Application.SMWrappers.Email.Send(String id, Boolean issueSend, String trackingToken) +93
    Microsoft.Crm.Application.Platform.Email.Send() +83
    Microsoft.Crm.Web.Activities.EmailDetailPage.Send(Object sender, DataEventArgs e) +83
    Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, User user, String objectId, Entity entity) +176
    Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId) +89
    Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +56
    Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, String formId, String formType) +83
    Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity) +13
    Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +261
    Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
    System.Web.UI.Control.PreRenderRecursiveInternal() +62
    System.Web.UI.Page.ProcessRequestMain() +1499



    and this one from w3p-CRMweb-...log:



    [2008-06-25 11:33:24.5] Process: w3wp |Thread: 3676 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
    at ErrorInformation.LogError()
    at ErrorInformation..ctor(Exception exception, Uri requestUrl)
    at MainApplication.Application_Error(Object sender, EventArgs e)
    at EventHandler.Invoke(Object sender, EventArgs e)
    at HttpApplication.RaiseOnError()
    at HttpApplication.RecordError(Exception error)
    at HttpApplication.ResumeSteps(Exception error)
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >MSCRM Platform Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Exception of type System.Web.HttpUnhandledException was thrown.

    Error Number: 0x80040211

    Error Message: Invalid association.

    Source File: Not available

    Line Number: Not available

    Request URL: http://testcrm:5555/activities/email/edit.aspx

    Stack Trace Info: Exception of type System.Web.HttpUnhandledException was thrown.
    at System.Web.UI.Page.HandleError(Exception e)
    > at System.Web.UI.Page.ProcessRequestMain()
    > at System.Web.UI.Page.ProcessRequest()
    > at System.Web.UI.Page.ProcessRequest(HttpContext context)
    > at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
    > at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.UI.Page.HandleError(Exception e)
    > at System.Web.UI.Page.ProcessRequestMain()
    > at System.Web.UI.Page.ProcessRequest()
    > at System.Web.UI.Page.ProcessRequest(HttpContext context)
    > at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
    > at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Type: Platform



    Looks like Chinese to me, to be honest.
    Wednesday, June 25, 2008 6:25 AM