AX 2012 SSRS Error : There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs.

Hi Guys,

Today i have faced with new issue which shows the following message,

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:queryBuilderArgs. The InnerException message was 'Element 'http://tempuri.org/:queryBuilderArgs' contains data from a type that maps to the name 'http://schemas.datacontract.org/2004/07/XppClasses:SRSQueryBuilderArgs'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver or add the type corresponding to 'SRSQueryBuilderArgs' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer.'. Please see InnerException for more details.

Really its weird  message, So i tried to restart SSRS Services, after restarted service still the same issue was following. Then i searched in online that any users faced similar issue,  same way i found here.

The reason behind the issue was AOS memory which rises more.

So i have deleted my Temp folder files,

C:\Users\Saad\AppData\Local, Delete the all the AUC and KTI files.

C:\Users\Saad\AppData\Local\Microsoft\Dynamics AX\VSAssemblies,  Delete the AUC  file.

Then Stop and Start the Services.

Done..

Well, So what are AUC and KTI files here,

AUC extension: Application Unicode Object Cache file (as from AX 4.0)
This file is created on the client side, and is used to improve performance by caching AX objects. When you are in the situation where an AX client keeps using ‘old code’, or where something works on one client and not on the other, removing the AUC file might be the solution.
You can find this file in the directory C:\Documents and Settings\[USERNAME]\Local Settings\Application Data for xp, or C:\Users\USERNAME\AppData\Local for vista.
More information about object caching on Axaptapedia

KTI extension: Kernel Text Index file
This is the index to the KTD file.

KTD extension: Kernel Text Data file
This file contains system text strings. These are used in the interface of AX and for system messages.

Have a good day 🙂

Advertisements