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:
- Launch Windows Explorer.
- Browse to the \Innetpub\wwwroot\DRAWeb\WebConsole directory.
- Select the Home.asp page.
- Right-click and select Edit.
- Remove the following code:
If Application("EnableReports") Then
CreateImageTextBelowLink "default.asp?page=Report&Task=Report", "Report"
End if - Close the Home.asp file and save the changes.
- Browse to and select the Menu.asp page located \Innetpub\wwwroot\DRAWeb\WebConsole\Scripts\Pageheader directory.
- Right-click and select Edit.
- Remove the following code
<%If Application("EnableReports") Then %>
<td align=center CLASS=menuBarItem> | </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%> - Close the Menu.asp file and save the changes
For DRA version 7.x and later, follow these steps:
- Launch Windows Explorer.
- Browse to the \Inetpub\wwwroot\DRAWeb\WebConsole\BuiltIn\Reporting directory.
- Select the TaskInfo.asp page.
- Right-click and select Copy
- Browse to the \Inetpub\wwwroot\DRAWeb\WebConsole\Custom \Reporting directory.
- Right-click and select Paste
- Open the properties of the TaskInfo.asp file and remove the read-only attribute and Apply the change
- Right-click and select Open With then Notepad
- Find the following two lines in the Function GetTaskVisable() section
GetTaskVisable = True
Exit Function - 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 - Close the TaskInfo.asp file and save the changes
Additional Information
Formerly known as NETIQKB7387