Problem Note 32022: Exception::(401) Unauthorized error when executing the enableReportWebServices script
SAS® Web Report Studio enables you to view reports that are created using SAS® Enterprise Guide. As part of enabling this functionality, you execute a script named enableReportWebServices.
When executing this script on a UNIX environment, you might see the following error message:
Exception::(401) Unauthorized
To resolve this error, complete these steps:
- Open the enableReportWebServices.sh file in a text editor. The last line contains a URL in the form
http://<machinename>:<port>/SASWebReportStudio/servlet/AxisServlet.
- Replace the
<machine name>:<port> with localhost:<port>.
- Submit the URL in your browser to make sure that it still opens a valid Web page.
- Execute the script. Below is the output from a successfully executed script.

- Continue with the next step in SAS Note 31396.
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | N/A | 64-bit Enabled AIX | 9.1 TS1M3 SP4 | |
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |
| AIX | 9.1 TS1M3 SP4 | |
| HP-UX | 9.1 TS1M3 SP4 | |
| HP-UX IPF | 9.1 TS1M3 SP4 | |
| Linux | 9.1 TS1M3 SP4 | |
| Linux on Itanium | 9.1 TS1M3 SP4 | |
| OpenVMS Alpha | 9.1 TS1M3 SP4 | |
| Solaris | 9.1 TS1M3 SP4 | |
| Solaris for x64 | 9.1 TS1M3 SP4 | |
| Tru64 UNIX | 9.1 TS1M3 SP4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Topic: | Query and Reporting
|
| Date Modified: | 2008-05-07 09:19:55 |
| Date Created: | 2008-05-07 08:52:49 |