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

Hi Folks,

Today, in this post we are going to share a solution for below error. We got this error while running a SSRS Report from AX client.

Error:



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:SrsReportProviderQueryBuilderArgs'. The deserializer has no knowledge of any type that maps to this name. Consider using a DataContractResolver if you are using DataContractSerializer or add the type corresponding to 'SrsReportProviderQueryBuilderArgs' 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 the serializer.'. Please see InnerException for more details.

Solution:

Step 1: 

a) Navigate to System administration/Area page/Setup/Services and Application Integration Framework/Inbound ports.


b) Click on BI Services and Deactivate this.
c) Now, Activate the BI Services and for testing check any invoice report. It is works then okay otherwise check step 2 below.

Note: No need to take a downtime for this step.

Step 2:

Restart SSRS Services and for testing check any invoice report. It is works then okay otherwise check step 3 below.

Step 3: 

a) Take a downtime for production if you are facing this issue in Live server.
b) Delete all client session.
c) Restart AOS.
d) Restart SSRS Services.
e) Now, check any SSRS Report, it should work.

We hope this solution helped you for being frustrated over this SSRS Report issue. Please comment your valuable feedback for this article...

Author:
Chirag Gupta
Microsoft Dynamics 365 AX Technical Consultant at IBM Bangalore

Date:
28-Jan-2020

Happy Learning !!

Comments

Post a Comment

Popular posts from this blog

[Solved] : Error: String or binary data would be truncated. Cannot execute a data definition language command on Vendor (VendLedgerReconciliationTmp)

AX 2012 - Command prompt compilation / AxBuild.exe for Parallel Compile on AOS of X++ to P-code / Parallel Compilation

AX 2012 - How to send SSRS report in email as an attachment using X++

AX 2012 - How to stop AOS when services got stuck at stopping status

AX 2012 - How to make a form field mandatory

Error: There was no endpoint listening at net.tcp://your_server_name:8201/Dynamics AX/Services…

Fetch vendor address using X++ in AX 2012

AX 2012 - How to print current date and time on SSRS Report

[Error] - Error in unit of amount in currency KES. Must be rounded to 0.01 | The unit of 37.563.5343100000000000 KES being posted to account 32710001-- is outside the current penny rounding threshold | Posting has been canceled

[Solved] : AX 2012 - No connection could be made because the target machine actively refused it 192.168.10.249:8201