locked
Query Builder Error and tracked emails RRS feed

  • Question

  • Hi there,

    I’m having an intermittent problem relating to tracking and answering emails in CRM 2011.

    To give you a bit of background to our deployment, users track email and a workflow picks up the emails as they enter CRM and adds them to the appropriate queues. Users then navigate to their queues, answer the emails and mark them as complete in the corresponding queue item for that email.

    However on occasion when a user comes to answer an email and presses the reply button, an error message appears which states

    Query Builder Error

    The specified field does not exist in Microsoft Dynamics CRM. 

    The error creates an error log on the server which states:

    Exception information:

        Exception type: CrmException

        Exception message: 'QueueItem' entity doesn't contain attribute with Name = 'name'.

       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

       at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()

       at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId)

       at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)

       at Microsoft.Crm.Application.Platform.EntityProxy.CreateAndRetrieve(String[] columnSet, Boolean performDuplicateCheck)

       at Microsoft.Crm.Application.Platform.Email.CreateReply(String replyToEmailId)

       at Microsoft.Crm.Application.Forms.EmailActivityForm.RetrieveParameters()

       at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity)

       at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd)

       at Microsoft.Crm.Application.Components.PageHandlers.EmailRecordPageHandler.ConfigureFormHandler()

       at Microsoft.Crm.Application.Components.PageHandlers.RecordPageHandler.ConfigureFormWrapper()

       at Microsoft.Crm.Application.Components.Utility.GenericEventProcessor.RaiseEvent(String eventName)

       at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)

       at System.Web.UI.Control.PreRenderRecursiveInternal()

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    The message is quite strange as the QueueItem entity doesn’t appear to have a field that is called ‘name’ and if I was to create one, it would be called ‘new_name’ as it would be user generated.

    Would you have any insight into what causes our problems?

    We’d estimate that this occurs in 2-5% of all emails that we track into the system which represents a major irritation to users and since this is a brand new deployment, we’re very conscious of keeping users levels of enthuiasm up with a new system.

    Many thanks in advance.

    Peter Martin

    Tuesday, December 16, 2014 1:20 PM