Skip to main content

Posts

Showing posts from November, 2014

Parameter _reportName cannot be null or empty.

Recently came over a problem with running SSRS reports from AX 2012 (R2).  This Infolog error message was presented immediately when trying to run a report: Parameter _reportName cannot be null or empty.   The [ CLASSNAME ].[METHODNAME]() reflection API could not create and return the SrsReportNameAttribute object.   In this specific case it looks like an earlier full compile did not finish.   If you encounter this problem I would suggest that you first compile the class mentioned in the error message and see if this solves the problem. Then you should schedule for a new full compile of the application.

AX 2012 Report 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 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 DataContractSerializer.'.  Please see InnerException for more details. Solution Check the Temp files in you AOS server locations and try by deleting them. C:\Users\AOSAccount\AppData\Local, Delete the all the AUC and KTI files. C:\Users\venkatesh.vk\AppData...