How to Debug a Middle-tier Connection Problem in a Report Job

CAUTION:
The command to restart services should be issued only with the approval of an ITRM administrator.
Everyone using Gallery Manager might be affected by this action.
If your report job shows an error that appears to be related to a middle-tier connection problem, verify that the SAS Content Server and the Gallery Manager are available. To do so, perform these two steps:
  1. Connect to the SAS Content Server Administrative Console at http://<YourMiddle-TierName>:<port number>/SASContentServer/dircontents.jsp?path=/sasdav. If you are not able to connect to the SAS Content Server Administrative Console, restart the SAS Remote Services, the SAS Content Server service, and the Gallery Manager services.
  2. Logon to Gallery Manager at http://<YourMiddle-TierName>:<port number>/SASLogon/index.jsp?_sasapp=ITRM+Gallery+Manager+3.2&. If you are not able to connect to Gallery Manager, then restart the Gallery Manager service.
If you had to restart any services, then rerun the report job. If you continue to see the same middle-tier connection errors after restarting the middle-tier connection services, then follow the steps below to continue debugging the middle tier using a small, temporary report job.
Then run the jobs, save the logs, and contact the SAS Technical Support Division. For information about how to do so, see Technical Support.
If after restarting any services, you encounter a different type of error, then see Why Report Jobs Are Not Generating Reports.
  1. In the SAS IT Resource Management client, open your IT data mart. Then navigate to the folder that contains the report job that caused the error.
  2. Create a new report job in the same folder. Add any report definition from the original job.
  3. Click the Code tab in the Job Editor. Click Code generation mode and select User written body.
    Select the Code Generation Mode
    Select User written body
  4. Search through the SAS log for the following text:
    /* setup */
    %global ITRMErr;
    %global ITRMDebug;
    %global ITRMNoWebdavUpdate;
    
    Add the following debugging statements after the previous %global ITRMNoWebdavUpdate; code.
    /* Add debugging statement */
    %let ITRMDebug=1;
    /* Disable Gallery Manager communications */
    %let ITRMNoWebdavUpdate=1;
    
    
    Then, run the report job. Save the log.
  5. Run the report job a second time with the following set of debugging statements:
    
    /* Add debugging statement */
    %let ITRMDebug=1;
    /* Enable Gallery Manager communications */
    %let ITRMNoWebdavUpdate=0;
    
  6. Save the log and contact the SAS Technical Support Division. For information about how to do so, see Technical Support.