Wednesday, 25 May 2016

Dynamics AX Common Errors


AX 2012 Help Server error: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'\
Error No-3
HTTP Error 500.24 – Internal Server Error + HELP SERVER ERROR AFTER INSTALLING ON AX 2012 + ERROR – Unable to contact the server
Error No-4
"An occurred during setup of Reporting Services extensions. Reason: Unable to find appropriate service endpoint information in the configuration object"
Error No-1
AX 2012 Help Server error: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
The SQL server reporting Service service is running -SSRS 2012
3. HTTP Error 500.24 – Internal Server Error + HELP SERVER ERROR AFTER INSTALLING ON AX 2012 + ERROR – Unable to contact the server
Module
ConfigurationValidationModule
Notification
BeginRequest
Handler
svc-Integrated
Error Code
0×80070032
Requested URL
Physical Path
C:\inetpub\wwwroot\DynamicsAX6HelpServer\HelpService.svc
Logon Method
Not yet determined
Logon User
Not yet determined
  1. Check that Directory browsing is enabled(IIS MANAGER>SITES>DIRECTORY BROWSING(DOUBLE CLICK AND ENABLE IT)
  1. Go to Ax 2012>System administration > setup>system>Help system parameters
  1. Also when you browse the site in IIS manager it will tell you ASP.NET 4.0 check for Integrated pipeline mode
  1. Check the below criteria it should be the same
  1. IIS>Application Pools>
  1. ASP.NET4.0                                  V4.0       CLASSIC
  1. ASP.NET4.0 CLASS                        V4.0       CLASSIC
  1. CLASSIC .NET APPLICATION           V2.0       CLASSIC
  1. DEFAULT APP POOL                       V2.0       INTEGRATED


Unable to find appropriate service endpoint information in the configuration object + An error occurred during setup of Reporting Services extensions.
  1. CIL compile did not complete without errors
  1. Firewall is blocking communication
  1. BIServices is not activate
  1. Account permission
  1. Ensure the CIL compile is complete and error free.
  1. Switch off firewalls on AOS server and Reporting server. This is just to validate if the firewall is causing the problem.
  1. Check the BIServices is active. From AX menu System Administration->Services and Application Integration Framework->Inbound ports
  1. Try and install Reporting extensions. If same problem persists process to step 5.
  1. Re-deploy BIServices. This is completed from AX development environment: AOT->ServiceGroups->BIServices. Right click on the servicegroup and select deploy. This should result in a BIServices running as mentioned in step 3.
  1. Try and install Reporting extensions. If same problem persists process to step 7.
  1. Add the business connector account to the local admin group on the reporting server.

Error No-1

Error No-2
The SQL server reporting Service service is running-SSRS 2012



AX 2012 R2 SSRS Installation Service Endpoint Error


Run Command on CMD  

aspnet_regiis.exe /iru
The Aspnet_regiis.exe file can be found in one of the following locations:
%windir%\Microsoft.NET\Framework\v4.0.30319
%windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit computer)




Error No-2

Solution for this error: 
The deployment was cancelled because of an error:
On the reporting server, |Verify that
The SQL server reporting Service service is running

Solution:



1. Check Local business connector is optimum/ correct.

2. Check Domain business connector is optimum/ correct.
3. Put increment CIL
Now deploy it will be deployed.

Error No-3


This error may arises at any of this name for same reason.

HTTP Error 500.24 – Internal Server Error,
The Location of the help server has not been specified.
ERROR – Unable to contact the server etc...
HTTP Error 500.24 – Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

Detailed Error Information
 Solution:
(check the location should be as)
    1. DYNAMICS AX HELP SERVER          V4.0       INTEGRATED(Version will be 2.0 change to 4.0 and check)  pls keep in mind DynamicAX  HelpSVC >ASP.NET IMPERSONATION SHOULD BE DISABLE(DON’T ENABLE) 
      Error No:4  
      AX 2012 R2 SSRS Installation Service Endpoint Error
      "An occurred during setup of Reporting Services extensions. Reason: Unable to find appropriate service endpoint information in the configuration object"
      Reason: BIServices port is not deployed.
      Resolution:
      ü  Activate inbound ports BIServices (System Administration > Setup > Services and AIF > Inbound ports)
      ü  Delete the WCFCONFIG entry in registry under the Dynamics AX current user hive key (HKEY_CURRENT_USER\Software\Microsoft\Dynamics\6.0\Configuration\Orig)
      ü  Restart the box
      ü  Try installation again.  If fails then continue with
      ü  Make the BC proxy user a local admin on the SRS box.
      ü  Redeploy BIServices services: AOT > ServiceGroups > Right Click BIServices and deploy.
      Environment Details - Dynamics AX 2012 R2

      Explanation: Reporting services Extension is a service that occupies a port in Dynamics AX 2012. Whenever you use Reporting services extension you need to activate a port BIServices

      Steps for Registry:

      1.     Click Start, and then click Run.
      2.     In the Open box, type cmd and then press ENTER.
      3.     In the Open box, type regedit and then press ENTER.
      4.  Locate the following subkey in the registry: 
               HKEY_CURRENT_USER\Software\Microsoft\Dynamics\6.0\Configuration\Original
          5.  Delete the file "WCFCONFIG" file               
When installing SSRS server I have recently experienced a problem with the AX SSRS extensions not installing and resulting in an installation rolling back. The error message received was:
Unable to find appropriate service endpoint information in the configuration object.
The problem relates to the installation not being able to find the appropriate end point. There are a number of causes to this problem:
The process necessary to ensure you can get past this issue is as follows:
BIServices
If the green tick is not present, then select the line and press the activate button.
If the BIServices is not present, or will not activate then proceed to step 5.
This should enable you to install the reporting extensions for AX 2012 R2, when experiencing problem with service endpoint errors.