Figure 1 - Error message of interest
TROUBLESHOOTING STEPS:
This issue is a permissions issue somewhere. At this point, we need to determine if its an issue with the user accessing the report. You can do the below troubleshooting steps. This was the order I did it in but you don't have to do it in this order.
- SSRS server (server permissions)
- SSRS reports (SSRS permission restrictions)
- AX security issue (probably not but good to check)
- An issue with all users or just them
- An issue with local cache or something screwy with current windows session
To help the users identify this issue, I usually ask them to do the following on the server where they are receiving this error:
- Click on the Start menu in Windows
- Type 'cmd' in the 'Search programs and files' search line in the start menu
- In the command prompt, type 'ping CDBRS-MAX01'
- Take a screenshot of the command responses and send back the results.
- The results should come back with the standard ping response of 'Reply from XX.XX.X.XXX: bytes=32...''.
Troubleshoot 2:
Having established they can access the report server, have the user access the report through the SSRS server. Have them do the following in the server where the AX client is erroring and if necessary, the SSRS report server itself:
- Go to internet explorer and access the SSRS report server (commonly 'http://[SSRSSERVERNAMEHERE]/reports'
- Once here, go to 'Dynamics AX' folder
- click on the report that is erroring
- Run the report and see if it runs. Just make sure required fields are populated.
Troubleshoot 3:
Have the user run the report from a server other than the one where the user was encountering the error. I logged into the AOS on their machine under my name and did the hold shift+right click on the .axc file, enter their credentials so we were running AX as that user in my server instance, and try running the report.
Troubleshoot 4:
Have other users attempt to run that report as well as others. Determine if its an issue with just that user. If no one is able to run the report or others, the reports may need to be deployed or the SSRS server settings need to be checked.
Troubleshoot 5:
This actually resolved the issue. Something went wrong with the user's Windows server session. I wasn't exactly sure what the issue was but having the user log out and log back in to the server resolved.
In this test, do the following:
- go to the person's terminal and watch them try to run the report
- hold shift+right click on the .axc file they were using to run the report and run as a different user. Use your own user
- In AX under your user in their terminal session, try to run the troubled report.
- If it passes (it did in my instance), hold shift+right click on the .axc file and run as a different user, only this time use the person's credentials. For us, the user was able to run the report this way but not when just clicking on the .axc in the normal fashion
We ran into the error and it was caused by the following:
ReplyDeleteWe have 2 domains (A & B). The user's AD account is in domain A and he had an old AD account in domain B. He connected to Terminal Server in domain B to run AX using his credentials from domain A. AX worked fine, but SSRS reports did not. He got the "401 error". When I ran Internet Explorer it prompted me for credentials. It brought up his login from domain B. At one time the user's credentials from domain B had been entered in Internet Explorer (name and password) and saved.
To correct the problem:
I connected to IE and selected "Use another account" when prompted for credentials. I then entered his information from domain A and it worked properly from then on. I suggest you first try clearing their IE settings. I did it but it required a reboot and we couldn't kick everyone off our Terminal Server so I went with the option to re-enter his login information.
I was facing a same problem .. In my case i changed the destination of output from file to screen and report is viewing from there i am saving it whatever format i want ... Yes have to look in why it is not able to save it as output in file..
ReplyDeleteDinesh P.
Hello Justin,
ReplyDeleteI am trying to deploy some of the standard ax 2012 r3 report, i am getting http 503 service unavailable error,
There are thousand of report, i am able to deploy but some selected report, i am trying to deploy, i am getting error of service unavailable - 503
It is very amazing, I have number of customer, i never got this kind of error in the past.
Please help me to come out of this issue.
Your prompt reply very much welcome
--
Thanks
Mohammad Shahnawaz