Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Type (Queryname) not found in ProxyAssembly

Posted on by 1,010

Hi All,

I am getting an error while sending data from CRM to AX using connectors. I have created Query name "AxdMzkCustTablePre1 " and created Document services.

1) I have done Full CIL.

2) I have done Full Application Compilation.

3) I have changed the QueryName attribute in the object provider configuration file but it is again changing as it was before while doing mapping.

(This file can be located in %ProgramFiles(x86)%\Microsoft Dynamics\Microsoft Dynamics Adapter\Adapters\Microsoft.Dynamics.Integration.Adapters.Ax2012\ObjectConfig\<AOSServerName_DocumentPort>\)

The error is as follows :

Type AxdMzkCustTablePre1 not found in ProxyAssembly. --- Exception Dump --- Caught Exception: [Microsoft.Dynamics.Integration.AdapterAbstractionLayer.AdapterException] Type AxdMzkCustTablePre1 not found in ProxyAssembly. Stack trace: at Microsoft.Dynamics.Integration.Adapters.AX.Common.DynamicProxyFactory.CreateInstance(String typeName) at Microsoft.Dynamics.Integration.Adapters.AX.Common.DynamicService.CreateContainerTypeInstance(Object newItem) at Microsoft.Dynamics.Integration.Adapters.AX2012.DynamicServiceObjectProviderBase.WriteObject(Object value) at Microsoft.Dynamics.Integration.Service.Tasks.RecordWork.DoRecordWork(DbMap map, Object key, OperationType operationType, DateTime startTime, String loggingSourceName)

Please Help guys,

Dheeraj Shukla

*This post is locked for comments

  • Suggested answer
    D.K.S. Profile Picture
    D.K.S. 1,010 on at
    RE: Type (Queryname) not found in ProxyAssembly

    Hi Eric,

    Is it customized document service or you have created new query and new document service ?

    I got same error. It usually appears when our service class name and query name is not same.

    I will suggest you to create new query with Prefix 'Axd'.  For ex : AxdQueryName1..

    Then create document service by Wizard. Whenever you create document service, make sure you must not change the service class name because it should be the same name as query name. Here, it would be AxdQueryName1.

    I hope it will help you.

    Regards,

    Dheeraj Shukla.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Type (Queryname) not found in ProxyAssembly

    We have the same error for quotation from CRM2015 to AX2012 using the AX query ''.

    The error shown 'Connector Type 'AxdSalesQuotation' not found in ProxyAssembly.'

    Please help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans