Posts

Showing posts with the label Step by Step Solution

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

Image
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. Soluti...

AX 2012 - Error in CIL Generation: "CIL generation: Object reference not set to an instance of an object."

Image
Hi Readers, Today, in this post we will share a very important solution about the following error: Error: Error in CIL Generation : "CIL generation: Object reference not set to an instance of an object." Err:351 We got the above error while doing Full CIL. You may get this error after a incremental or Full CIL. Solution : 1. Go to AX services and stop the AOS. 2. Go to C:\Program Files\Microsoft Dynamics AX\60\Server\Microsoft_Dynamics_AX\bin and rename XppIL folder as XppIL_Old. After successful CIL we will delete XppIL_Old folder and a new XppIL folder will be automatically created in this folder by AX. 3. Start the AOS services. 4. Login to AX. 5. Go to development environment by pressing CTRL + D and generate Full CIL. 6. If you are still getting the errors after Full CIL please check the objects individually which are throwing the errors and resolve them. 7. Once all the errors are resolved compile them. Please click here to know...

AX 2012 - Error during CIL: System.OperationCanceledException: AIF service group not activated.

Image
Hi Readers, Today, in this post we are going to share a solution for the below error. We got the below error while doing Full CIL. Error : System.OperationCanceledException: AIF service group not activated.  Service group: FinancialDimensionServices.  Error: Type 'Dynamics.Ax.Application.BudgetDimensionValidationStatusContract' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute.  Consider marking the base type 'Dynamics.Ax.Application.DimensionValidationStatusProcessor' with DataContractAttribute or SerializableAttribute, or removing them from the derived type. ---> System.Runtime.Serialization.InvalidDataContractException: Type 'Dynamics.Ax.Application.BudgetDimensionValidationStatusContract' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute.  Consider marking the base type 'Dynamics.Ax.Application.DimensionValidationStatusProcessor' with DataContrac...

AX 2012 - All modules are not visible in AX client

Image
Hi Readers, Today, in this post we are going to share a very important knowledge about AX installation issue. We installed AX R3 in our system and after that we installed Cumulative Update 13 (CU13). But after installing CU13 we faced a very weird issue that all modules were not visible in AX client. Note: You can see the modules individually by clicking on File/View/Modules and click on each and every module one by one like below image. But this is not permanent solution for this issue. As once you login again all modules will disappear. For permanent solution please check the below steps. Solution: We research on this topic and find out the solution for that. Please have a look at the below points, we hope if you are facing this similar issue you can get rid of this easily. 1. Go to DAT/System administration/Area page/Setup/Licensing/License information, a new form will open like below image. 2. Browse and load license file, provided by your Clien...

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

Image
Hello Technical, Today, in this post we are going to share a very important solution when AOS services get stuck in stopping status. You might have seen sometimes when we restarted the AOS services and it get stuck in stopping phase and we need to do server restart but this solution tells you not to stop AOS when services got stuck. Let's talk about the solution... 1. Check AOS services status, if services are in stopping state then please do it like step 2. 2. Open Even Viewer and expand Windows Logs. 3. Click on Application and select Filter Current Log. 4. Filter Event Id by '149' in Filter Current Log form. 5. Select the latest information by Date and Time of event id. 6. Find the PID of AOS which you want to stop. 7. Open Task Manager. Note : *If the “PID” column is not shown, click on View > Select columns > Check the PID > Click “OK” 8.  Select the Ax32Serv.exe which has the same PID number as you found in Step #6. Your process ...

AX 2012 - How to make a form field mandatory

Image
Hello Readers, Some days ago, we had come across a requirement that we need to make a form field mandatory. We are sharing this article to help you to understand how you can achieve the same requirement. Requirement : Make 'document date' mandatory for Invoice Journal Lines form. Solution : 1. Go to Accounts payable/Area page/Journals/Invoices/Invoice Journal, Invoice journal form will open like below... 2. Click on lines in invoice journal form, journal voucher form will open. 3. Right click on document date field and click on personalize. You can see AOT form name to be edit. Click on edit button like below... 4. Expand the designs node of this form and make the document date mandatory after selecting mandatory = yes in the form properties. 5. Now, form document date field has been mandatory, if you try to save the form data without document date it will through an error like "Field 'Document date' must be filled in." ...

Data is not showing on SSRS Report in AX 2012

Image
Hi Readers, Today, in this post we will share a solution for SSRS report issue. You might have seen when you run the SSRS report, it runs successfully but data will not display on the report. We have a solution for this... Issue:  Data is not showing on SSRS Report in AX 2012 Resolution: First, we need to understand how SSRS Report works. 1) SSRS Report fetches the data from AX. 2) For testing purpose, put a “test” in report layout and deploy it. 3) If it’s deploy successfully run the report and check “test” is showing in the report or not. 4) If “test” is showing on the report then the issue for not printing the data on report is; SSRS Report is not configured correctly with AX. How to do it? 1) Click on start button and open Microsoft Dynamics AX Configuration Utility. 2) A dialog box will open like below: 3) In the configuration dropdown choose the right AX configuration file. 4) Restart the AOS services. 5) Restart the SSRS report service...

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

Image
Hi Readers, Today, in this post we will share a very important solution for the below error. You may get this error at the time of report deployment in ax 2012 or may be when you are running a SSRS report. Error:  There was no endpoint listening at net.tcp:/your_server_name:8201/Dynamics AX/Services… "A call to the Microsoft Dynamics AX SRSFrameworkService service failed. There was no endpoint listening at net.tcp://############/DynamicsAx/Services/BIServices that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details." Solution: Method 1: 1) Go to System administration > Setup > Services & Application Integration Framework > Inbound ports. 2) Select BIServices port, activate same.  Note:  When you activate the same, you might get some more errors, please see the screen shot below: 3) Go to AOT >> Service Groups >...