ASP.NET Page /admin/AccessDenied.aspx (C#)
Uses Code Behind Page Page /admin/AccessDenied.aspx.cs (C#)
1: <%@ Page CodeBehind="AccessDenied.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="ASPNetPortal.AccessDeniedPage" %>
2: <%@ Register TagPrefix="portal" TagName="Banner" Src="~/DesktopPortalBanner.ascx" %>
3: <%@ OutputCache Duration="36000" VaryByParam="none" %>
4:
5: <html>
6: <head>
7: <title>ASP.NET Portal</title>
8: <link rel="stylesheet" href='<%= Request.ApplicationPath + "/Portal.css" %>' type="text/css" />
9: </head>
10: <body leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0">
11: <form runat="server">
12: <table width="100%" cellspacing="0" cellpadding="0" border="0">
13: <tr valign="top">
14: <td colspan="2">
15: <portal:Banner runat="server" />
16: </td>
17: </tr>
18: <tr>
19: <td valign="top">
20: <center>
21: <br>
22: <table width="500" border="0">
23: <tr>
24: <td class="Normal">
25: <br>
26: <br>
27: <br>
28: <br>
29: <span class="Head">Access Denied</span>
30: <br>
31: <br>
32: <hr noshade size="1pt">
33: <br>
34: Either you are not currently logged in, or you do not have access to this tab
35: page within the portal. Please contact the portal administrator to obtain
36: access.
37: <br>
38: <br>
39: <a href="<%=Request.ApplicationPath%>/DesktopDefault.aspx">Return to Portal Home</a>
40: </td>
41: </tr>
42: </table>
43: </center>
44: </td>
45: </tr>
46: </table>
47: </form>
48: </body>
49: </html>