We are are getting this error when printing reports from our TEST environment, LIVE is OK for now.
v 10.2.200.6
I’m looking for any insight into what is causing this, support suggested that it could be caused by a Windows Update applied to the server - Case CS0001187330
Have you validated that you can access the SSRS URL from the app server? You should get a directory listing showing the different root folders when you go to the SSRS Web Service URL from the config.
If nothing shows up, start troubleshooting SSRS itself via the Reporting Services Configuration Manager on the EpicorSQL server. Double-check the Web Service URL section and verify that URL is working and matches what is entered in the Epicor configuration. There could be a port specified if you aren’t using the default port 80 or SSRS itself could be stopped.
If you do see the directory listing, verify the EpicorTest10 root directory exists. Epicor should create it for you but there could be some issue preventing that. Create it if it doesn’t exist and see what happens. Or, if it does already exist, check out what’s in it and see if it matches the structure of your live environment (i.e. /root_folder_name/reports/a_bunch_of_report_folders).
What exactly does your test environment look like? I get that you’re running the reports from the same location - what about the app server? Is it the the same server for both? Is the application pool in IIS running under the same identity for both?
Olga, I am not sure what Log file you are referring to, the log shown below does not show any errors from reports printed from TEST, is this the correct Log?
it is mentioned in the end, search for EpicorTest10. This is probably when you open it in browser,
But i don;t see anything about printing report. Are you sure that your web.config and company settings really point to that SSRS folder. 404 error looks strange.
Expand the Default Web Site in the Connections pane (left side of screen), right-click the application and select Manage Application > Advanced Settings. The application pool used for the application will be listed at the top of the resulting screen. Do this for both LIVE and TEST and make a note of the application pool used for each. I suspect that LIVE will be running under a domain account while TEST will be ApplicationPoolIdentity.
Then go to Application Pools in the Connections pane and take a look at the identity. If they’re different then match TEST to LIVE. You can change the identity by right-clicking the application pool, selecting Advanced Settings, clicking the in the Identity field, click the […] button that shows up, click Set, and specify the user/password. Make sure to stop/start the application pool (Actions pane, right-hand side) after changing the user to restart the application pool under the new context. Wait a couple of seconds and then click the Refresh button at the top right (all the way up near the close button) of the screen and verify that the application pool remains started.
I agree with @Olga, the 404 is strange because we can view the report directories in a browser. What’s listed in the web.config for the application? You can check by right-clicking the TEST application in IIS, selecting Explore, and opening the web.config file with your favorite text editor. The values of interest are SSRSBaseURL and SSRSRootFolder.
A) Both the LIVE and TEST match in the Advanced Settings. Should there be a ‘Physical Path Credentials’?
B) Application Pool Identity match for LIVE and TEST
C) the web.config files did NOT match for LIVE and TEST. TEST was missing the SSRSBaseURL altogether, so I copied that line from the LIVE config to TEST config.
That has changed something, I now get a different error when running a report in TEST.
Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask: An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ‘OrderHed’. —> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors
I will reboot the servers tonight when there are no users online and test again.
Thank You for the excellent suggestions Jason and Olga.
If I click the Deploy button in the Admin Console for Reports, the web.config file drops these values.
I still cannot navigate to the http://epicorsql/Reports url.
I have schedule some time with an SSRS consultant for this Friday and will report back the findings.