How do I remove the 'Reporting' link from the Directory and Resource Administrator Web Console? (NETIQKB7387)

  • 7707387
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I remove the 'Reporting' link from the Directory and Resource Administrator Web Console?

fact
Directory and Resource Administrator 6.x
Directory and Resource Administrator 7.x
Directory and Resource Administrator 8.x

fix

For DRA version 6.x, follow these steps

In order to remove the Reports icon from the Web Console the following steps must be performed on the IIS server running the Directory and Resource Administrator Web Console:

  1. Launch Windows Explorer.
  2. Browse to the \Innetpub\wwwroot\DRAWeb\WebConsole directory.
  3. Select the Home.asp page.
  4. Right-click and select Edit.
  5. Remove the following code:

    If Application("EnableReports") Then
                CreateImageTextBelowLink "default.asp?page=Report&Task=Report", "Report"
              End if
  6. Close the Home.asp file and save the changes.
  7. Browse to and select the Menu.asp page located  \Innetpub\wwwroot\DRAWeb\WebConsole\Scripts\Pageheader directory.
  8. Right-click and select Edit.
  9. Remove the following code

    <%If Application("EnableReports") Then %>
                <td align=center CLASS=menuBarItem>&nbsp|&nbsp</td>
                <td align=center CLASS=menuBarItem>
                  <A CLASS=menuBarLink HREF="../content.asp?page=report&task=Report" target=content><% Response.Write(Application("RS_Reports")) %></A>
                </td>
                <%end if%>
  10. Close the Menu.asp file and save the changes

For DRA version 7.x and later, follow these steps: 

  1. Launch Windows Explorer.
  2. Browse to the \Inetpub\wwwroot\DRAWeb\WebConsole\BuiltIn\Reporting directory.
  3. Select the TaskInfo.asp page.
  4. Right-click and select Copy
  5. Browse to the \Inetpub\wwwroot\DRAWeb\WebConsole\Custom \Reporting directory.
  6. Right-click and select Paste
  7. Open the properties of the TaskInfo.asp file and remove the read-only attribute and Apply the change
  8. Right-click and select Open With then Notepad
  9. Find the following two lines in the Function GetTaskVisable() section
    GetTaskVisable = True
    Exit Function
  10. Place an apostrophe at the beginning of each of the two lines so that they are "commented" out and do not execute, like this:
    ' GetTaskVisable = True
    ' Exit Function
  11. Close the TaskInfo.asp file and save the changes


Additional Information

Formerly known as NETIQKB7387